Carcha Seal
Offline and self-hosted licensing for desktop software.
A license server, an admin console and an SDK. Your customer types a license key once; the app then holds a short-lived lease signed with Ed25519 and checks it on the device, with no network call. Computers that never go online activate by file. Run the server on your own infrastructure, also on a network with no internet access, or start hosted with a 14-day trial.
Three ways to try it without an account: the live demo, the browser sandbox or an npx quickstart.
Coming from another vendor? Compared with Cryptlex, LicenseSpring and Thales Sentinel LDK.
eyJhbGciOiJFZDI1NTE5IiwidHlwIjoibGljZW5zZWtpdC1sZWFzZStqd3QiLCJraWQiOiJsZ2lFZjZpNEZ1WGFGOGhuaUFxSjg4M0pqWE1BaW1ZbW9WNW9pd1F6Z2ZzIn0.eyJpc3MiOiJsaWNlbnNla2l0Iiwic3ViIjoibGljXzdRMk00SzlYIiwiYXVkIjoiZXhhbXBsZS1hcHAiLCJqdGkiOiJsc18zSE5WOFIyQyIsImlhdCI6MTc5MTcyNzIwMCwibmJmIjoxNzkxNzI3MjAwLCJleHAiOjE3OTE4MTM2MDAsInJldiI6MTc5MTgxMzYwMCwiZnAiOiJjM2I5OGNhYTRiNTNmNzM0MWYxNGNhOGM2MThlZTAyYzRlZTdiZWNjZTFmNjBlYTRiNDMzNTc4ZGY3ZDEzNDJlIiwiZmVhdCI6WyJleHBvcnQiLCJ2ciJdLCJjdXMiOiJFeGFtcGxlIEx0ZCIsImdyYyI6NjA0ODAwfQ.8mVDmgEgo5sUWt-uDIdFF8nWRW7mYDJMaOQID9_spjHCGhHPb9fRMGwarUcUXWGI9lKsc5ZYgJ1UKJ1F790mCg
- alg · kid
- Ed25519 · lgiEf6i4…
- aud
- example-app
- exp
- 12 Oct 2026, 14:00 UTC
- feat
- export, vr
- valid
- grace
- invalid
- clock_suspect
Online. The signature checks out against key lgiEf6i4…. The next server check is due in 24 hours.
How a check works
A revoked license stops working within the revocation window
The app checks its lease locally and asks the server again when the revalidation interval ends, every 72 hours on the default policy. If the server cannot be reached, a grace period starts.
Timeline from the last successful check on the default policy: the lease is valid for 72 hours, then a grace period of up to 7 days runs while offline, and after day 10 the lease is invalid.
Revocation windowLast successful check, plus the revalidation interval, plus the grace period: up to 10 days on the default policy. Both are set per policy.
Why short leasesThe same reasoning as short-lived certificates in RFC 9608: a credential that expires soon needs no revocation list.
Clock rollbackIf the device clock reads more than 24 hours earlier than the last time seen, the SDK reports clock_suspect until the next online check.
Integration
Ten lines in your app
The SDK runs in the Electron main process and in plain Node. It verifies leases offline with the public keys your server publishes at /v1/keys. There are also SDKs for .NET, C++ and Python over the same native core, plus verify-only reference code for a lease check without an SDK.
const { Seal } = require('@carchalabs/seal-electron');const kit = new Seal({ serverUrl: 'https://licenses.example.com', product: 'example-app', publicKey: [currentKeyPem, nextKeyPem], storageDir: app.getPath('userData')});let state = await kit.check();if (state.status === 'unlicensed') state = await kit.activate(licenseKey);if (Seal.hasFeature(state, 'export')) enableExport();- 1kit.check()unlicensed, no lease saved yet
- 2kit.activate(licenseKey)valid, lease signed with key lgiEf6i4…
- 3Seal.hasFeature(state, 'export')true
Security model
What it protects, and what it cannot
Protects against
Does not protect against
Self-hosted
Your own server, also with no internet access
The self-hosted server renews its server license by file exchange and never calls home. After 12 consecutive months of a self-hosted subscription, its license carries a perpetual fallback: the server keeps issuing on the version it runs, even if the subscription ends or Carcha Labs stops operating. For containers and air-gapped servers, a signed site-license file verified by the Python, C++ and .NET SDKs enforces term and features offline, with signed usage reports handed back.
Scope
Not in version 1
Listed so you can rule it out early.
- Paddle, Polar and Stripe connections (Lemon Squeezy is connected)
- Customer self-service portal
- Licensed update feeds