Cryptographic software licensing for developers. Ed25519 offline verification, Stripe integration, and flat pricing. Free up to 50 keys.
Why I built it: Existing SaaS licensing platforms (Devolens/Cryptolens, LicenseSpring, SLASCONE) jump to EUR 199-299/month after small free limits and often meter monthly API calls. On the other side, Merchant of Record platforms (like Lemon Squeezy, which announced its March 31, 2027 shutdown) tie licensing tightly to their own checkout. I needed simple node-locked, floating, and offline-capable license keys for my own desktop software without paying per validation call.
How it works technically:
- Backend: Single Node.js (>= 24) process with zero npm dependencies (uses native node:sqlite in WAL mode, node:crypto, and fetch), behind Caddy on one VPS.
- Signing and offline leases: Every /v1/activate and /v1/validate payload is signed server-side with per-product Ed25519 private keys (encrypted at rest with AES-256-GCM). Client apps embed only the public key, verify an anti-replay nonce, and detect clock rollback (>1 hour backward). Offline caching is off by default (lease_days = 0) and configurable from 1 to 3,650 days per product.
- No-signup live test: There is a live WebCrypto demo right on the homepage (https://keyfern.com/#demo) that calls a sandboxed product and lets you verify the signature locally in the browser, inspect the payload, and confirm nonce and bit-tamper rejection.
- SDKs and importers: Official packages on npm (npm install keyfern), PyPI (pip install keyfern), and NuGet (dotnet add package Keyfern), plus Kotlin/Android, Flutter/Dart, React Native, and a 4-endpoint public REST API (including a Rust/Tauri REST + ed25519-dalek guide). Also includes one-shot API importers for Lemon Squeezy and Creem (existing customer keys stay unchanged) and CSV import for Paddle subscriptions.
- Stripe selling: Connect your own Stripe account to auto-create and email keys on checkout and extend subscriptions on invoice.paid (0% Keyfern commission). Note: Keyfern is not a Merchant of Record, so VAT/sales tax stays on your Stripe setup.
Current status and pricing:
- Powering our own desktop product in production (VistaSculpt, https://vistasculpt.com) with 3,600+ active machines and 4,300+ license keys, and 0 external paying customers so far.
- Flat pricing by total keys created, with zero monthly API call limits (300 req/min per IP anti-abuse protection): Free ($0, 1 product, 50 keys), Starter ($10/mo, 2 products, 1,000 keys, Stripe), Business ($30/mo, 10 products, 10,000 keys), Enterprise ($79/mo, 50 products, 100,000 keys), and Unlimited on request.
What is intentionally missing right now:
- Single-region VPS (no formal uptime SLA yet; if Keyfern is unreachable, apps with offline leases enabled keep running until expiry).
- No end-user customer portal, no team roles/SSO, no air-gapped .lic file activation (initial activation requires internet), and no native C++/Rust/Go/Swift SDKs yet.
Would genuinely appreciate candid engineering feedback on the Ed25519 payload design, pricing unit trade-offs, or onboarding friction.
0 comments
No comments yet.
Related stories
- Hacker News · 1 points · about 4 hours ago
- Hacker News · 1 points · 2 months ago
- Hacker News · 1 points · 2 days ago
- Hacker News · 421 points · 2 months ago
- Hacker News · 3 points · 2 months ago
- Show HN: WINQPen – Interactive WebGL 1 player at 45–50 FPS on a Samsung TVturyon-tech-labs.github.ioHacker News · 1 points · 1 day ago