Skip to content

Quick start

Keylight is a licensing system for Apple-platform apps. It pairs a Swift SDK (trial tracking, offline lease verification, SwiftUI paywall) with a hosted backend (activation, validation, deactivation, Stripe webhooks, dashboard). Each account gets its own Ed25519 signing key, dashboard, and license key prefix.

Swift SDKKeylight SPMLicenseManagerKeylightProviderLicensePromptViewOffline Ed25519Local trial state +cached lease (Keychain)Keylight backendapi.keylight.dev/activate/validate/deactivateStripe webhooksEd25519 lease signingDashboardapp.keylight.devAppsKey typesLicense listingSDK keyHTTPSBrowserSource of truth for activation, instance registration, and Stripe-driven key issuance.

The SDK verifies signed leases locally against a bundled trusted keyset, so apps remain entitled while offline. Keylight is the source of truth for activation counts, instance registration, and Stripe-driven key issuance.

  1. Sign up at /signup and verify your email. See Signup & verification.
  2. Finish the onboarding wizard and copy your SDK key, account ID, key prefix, and Ed25519 public key. See Products & key types.
  3. Integrate the Swift SDK in your app and gate features on manager.isEntitled. See Install and Keylight.manager.
  4. Wire up Stripe so purchases mint license keys automatically. See Connect onboarding.

Before shipping, read the Threat model so you understand the guarantees and explicit limits of each mitigation.