Licence server for software sellers

Ship keys, not worries.

Issue signed licence keys, limit activations per machine or domain, verify offline with Ed25519 tokens and ship updates through signed channels. Self-hosted, one Node process, MongoDB.

REST endpoints
40+
SDK languages
5
Process to run
1
Next.js 16MongoDBEd25519HMAC webhooksOpenAPI 3.1One Node process

Keys and policies

Everything about a licence is a policy

Keys and policies

Perpetual, subscription, trial and floating policies with entitlements, grace periods and update rights.

Seats that hold up

Two clients racing for the last seat? Exactly one wins. Dev and staging domains never use a production seat.

Offline signed tokens

Ed25519 tokens bound to product and fingerprint. Rotate keys without breaking installed copies.

Update channels

Stable, beta and nightly. Short-lived signed downloads that re-check entitlement and never serve a yanked release.

Store webhooks

Orders, renewals, cancellations and refunds, signed and idempotent. Out-of-order events wait for their order.

Reports

Validations by result, activations over time, versions in the field, renewals and refunds.

LFP-7K2Q-9XH3-… · what a key looks like
LFP-7K2QM-9XH3T-AB4VZ-0RN8C
 │   └────────────────── 80 random bits + 4-char checksum, Crockford base32
 └── product prefix

stored:  SHA-256(pepper ∥ key) + last 5 characters
shown:   once, at creation (or in your customer's email)
offline token · compact and verifiable
eyJ2IjoxLCJraWQiOiJrMiIsInByZCI6ImZvcm1z…
.  signature: Ed25519 over the payload

payload { v, kid, lic, prd, ent[], fp, exp, iat, grace }
checks  signature · product · fingerprint · expiry (±5 min skew)

Activations with seat limits

Watch a seat fill, then refuse

Try it: the first production domain takes the seat, the second is refused with a clear code, staging and local domains use a separate dev allowance, and the same site activating twice changes nothing.

  • Domains are normalised: scheme, port, path and www are stripped
  • Machine ids are hashed with the licence id: the server never sees raw hardware ids
  • Customers release seats themselves in the portal
0/1 seat · 0/2 dev
  • Licence LFP-7K2Q…-9XH3 · 1 seat + 2 dev domains

Update channels

Signed releases, entitlement-checked downloads

Upload a zip: it is hashed and signed with the product key. Clients ask /updates, get the newest release they are entitled to, a ten-minute download link and the signature to verify before installing. Yank a bad release and it stops being served, even from a link that is still valid.

stable

2.4.0

beta

2.5.0-beta.2

nightly

2.5.0-nightly

GET /updates?current=2.3.1
{
  "update": true,
  "version": "2.4.0",
  "channel": "stable",
  "sha256": "9c1f4b…e27a",
  "signature": "m2Qx…",       // verify before installing
  "download_url": "/api/v1/download/…",  // expires in 10 min
  "signature_message": "keyquay-release:v1:forms-pro:2.4.0:9c1f…"
}

Store webhooks

Point your store at a private endpoint. Orders issue licences once, renewals extend from the right date, refunds release seats, replays do nothing.

Customer portal

Magic-link sign-in. Customers see masked licences, release a seat, download updates and find your renewal link.

Reports

Seat Board, validations by result, versions in the field and everything expiring in the next 30 days.

SDK snippets

Copy, paste, verify

Each product page generates ready-to-use code with its slug, base URL and current public keys filled in: PHP, WordPress, JavaScript, Python and Dart. They are documentation, tested against tokens this server produces.

Clients must check signature, product, fingerprint and expiry.

$r = keyquay_call('/licenses/activate', [
  'product' => 'larkspur-forms-pro',
  'key'     => $licenseKey,
  'fingerprint' => ['domain' => parse_url(home_url(), PHP_URL_HOST)],
]);
// offline check: Ed25519 over the token payload
$ok = sodium_crypto_sign_verify_detached($sig, $payload, $publicKey)
   && $claims['prd'] === 'larkspur-forms-pro' && $claims['exp'] > time() - 300;

Try the API

Three seeded demo licences. Validate one, or activate a fresh domain and watch the seat counter move.

Try the API · demo keysPOST /api/v1/licenses/…
LFP-98J3A-MHJ24-DRCCZ-HZQ1V

Plans for vendor workspaces

The operator sells plans, vendors sell software

These are the demo plans a Keyquay operator offers to vendor workspaces. Set your own in the config; billing runs through a simulated gateway until you connect one.

Indie

For a solo developer selling one or two products

$19/mo

  • 3 products
  • 500 licences
  • 50,000 validations / mo
  • Update channels
  • Store webhooks
Start a 14-day trial

Studio

Popular

For small software companies

$49/mo

  • 15 products
  • 10,000 licences
  • 1M validations / mo
  • Offline tokens + rotation
  • Customer portal
  • Floating seats
Get started

Business

For vendors with a catalogue and teams

$149/mo

  • Unlimited products
  • Unlimited licences
  • Unlimited validations
  • Priority support
Get started

Questions

Open the gate

Create a workspace, add a product and issue your first key in minutes.