Keyfern
Software licensing service that issues Ed25519-signed license keys with activations, trials, offline leases and Stripe-powered key sales.
At a Glance
About Keyfern
Keyfern is a software licensing service from Velopre S.r.l. that lets developers create, deliver and verify license keys for the apps they sell. Every license answer is signed with a per-product Ed25519 key, and apps check it locally using only the embedded public key. Installable SDKs exist for Python, JavaScript/TypeScript and C#/.NET, and any other language can call the REST API.
What It Is
Keyfern is a hosted licensing backend managed through a dashboard and a REST API. A developer creates a product, which gets an Ed25519 key pair, a machine limit, optional trial days and an offline lease length. Keys can be generated one at a time or up to 1,000 per request with a custom prefix, or imported from existing sources. Each key carries a status, optional expiry, eight feature flags (F1 to F8), customer details, notes, JSON metadata and an optional usage counter.
How License Checks Work
An app calls the activate endpoint with a product ID, key, machine identifier and a nonce. Keyfern returns a signed payload that the app verifies with the public key, then checks the nonce, product, timestamp and status. Validate, deactivate and trial endpoints cover read-only checks, freeing machines and one-trial-per-machine flows. Offline use is off by default; when enabled per product, the signed lease lets the app run without contacting the server until lease_until. The SDKs cache the signed license and reject replayed, forged or clock-rollback answers. Floating seats release a machine that has gone silent.
Selling and Automation
Connecting your own Stripe account through a webhook endpoint lets Keyfern create and email a key after each paid checkout, and subscription renewals extend the key with a short grace period. The management API mirrors the dashboard for keys, block, extend, usage, CSV export and import, and can fetch keys from Lemon Squeezy or Creem for migration. Signed outgoing webhooks report key, trial and sale events, and an audit log records changes to keys, products, tokens and billing. API tokens can be read or write scoped and restricted to one product.
Setup Path
The quickstart is to create a free account, add a product, generate a key, copy the product ID and public key into the app, and call the SDK's activate-or-cached method. Guides cover Electron, Python, React Native, Android/Kotlin, Flutter and Tauri/Rust, and example apps are published on GitHub.
Collections
Popular collections
- Pick Up Where Your Agent Left Off
Collection by @caiovalverde
- Give Your Agent Design Taste
Collection by @linetwk
- UI Design Skills for Coding Agents
Collection by @mayachen
- Find the Ways Your AI App Can Fail Before Launch
Collection by @samirhaddad
Add Keyfern to one of your collections.
Community Discussions
Be the first to start a conversation about Keyfern
Share your experience with Keyfern, ask questions, or help others learn from your insights.
Pricing
Free
Free forever plan, no card needed
- 1 product
- 50 license keys
- 2 API tokens (no webhooks)
- Docs support
Starter
Flat monthly price counted by license keys
- 2 products
- 1,000 license keys
- 10 API tokens
- 3 outgoing webhooks
- Sell keys with your Stripe
- Usage analytics and world map
- Email support
Business
Flat monthly price counted by license keys
- 10 products
- 10,000 license keys
- 50 API tokens
- 10 outgoing webhooks
- Sell keys with your Stripe
- Usage analytics and world map
- Priority email support
Enterprise
For large catalogs and high-volume software
- 50 products
- 100,000 license keys
- 200 API tokens
- 50 outgoing webhooks
- Sell keys with your Stripe
- Usage analytics and world map
- Priority email support
Capabilities
Key Features
- Ed25519-signed license answers verified offline
- Offline leases configurable from 0 to 3650 days
- Bulk key generation up to 1,000 per request
- Trials with one trial per machine
- Floating seats
- Feature flags F1 to F8 per key
- Usage counters with limits
- Stripe-based key selling with automatic key emails
- Signed HMAC-SHA256 webhooks
- Audit log
- Scoped API tokens
- CSV import and export
- Migration import from Lemon Squeezy and Creem
- Usage analytics by country
- Python, JavaScript/TypeScript and C#/.NET SDKs
