← All Tools Free Open Tool & Starter Kit ($0+) Read Guide
Free Bundle (.zip)

Offline Signed License Leases: ECDSA Guide & Verifier

Learn how to verify short-lived offline license leases without shipping shared secrets in client binaries. Test deterministic UTF-8 canonical JSON, ephemeral ECDSA P-256 (ES256) WebCrypto signing, tamper detection, and UTC clock-skew validation right here—then download the free starter kit (Python stdlib CLI + Node.js Ed25519 snippet).

Asymmetric Offline Model vs Symmetric Server Tokens

Never ship an HMAC secret inside a desktop or CLI binary: anyone running strings or debugging memory can extract it and forge unlimited licenses. Offline clients verify with an embedded public key (ES256 or Ed25519) while the vendor keeps the private key strictly server-side. Keep HMAC-SHA256 (like bundled lease_verifier.py) strictly for trusted server/CI verification.

DEMO ONLY — DO NOT USE IN PRODUCTION: Keys generated in this browser sandbox are ephemeral demo keys for testing payloads and tamper checks.
READY — Pre-computed Demo Sample
Canonical UTF-8 JSON (matches Python ensure_ascii=False)
{"customer":"Café Studio — Zürich","expires_at":"2026-12-15T00:00:00Z","features":["cli","batch-export","offline-lease"],"issued_at":"2026-12-01T00:00:00Z","license_id":"lic_01JFK8Z9P2","meta":{"grace_days":3,"plan":"team"},"product":"cli-pro-kit","seat_limit":5}
Public Verify Key (JWK — safe to embed in client app, DEMO ONLY)
{ "kty": "EC", "crv": "P-256", "note": "Click 'Generate Demo Keys & Sign' to inspect live ES256 Public JWK" }
Decoded Lease Claims & Verification Result
ClaimValueCheck
license_idlic_01JFK8Z9P2Non-empty string
customerCafé Studio — ZürichUTF-8 canonicalized
seat_limit5Positive integer (not bool)
window2026-12-01T00:00:00Z → 2026-12-15T00:00:00ZValid at 2026-12-05T12:00:00Z
Offline Signed License Leases: ECDSA Guide & Verifier Kit
Free / Pay What You Want ($0+) — Downloadable bundle included
Get Bundle (.zip)