SentryWard

Next-generation software licensing

Software licensing has a next generation. This is it.

Remote licensing has always been a trade: call home and fail with the server, or stay offline and miss the cancellation. SentryWard ends the trade. A new architecture and a new algorithm solve the remote licensing problem with one signed answer that your software checks without a network call. It conforms to the EU Cyber Resilience Act, and it helps your product do the same.

  • Two-expiry lease algorithm
  • CRA conformant
  • Ed25519 signatures
  • HPKE, RFC 9180
  • No fingerprinting
  • Self-hosted or hosted in the EU
Lease / illustrativeno network
product_id
acme-studio
account_id
9f2c41ab...e07d
device_id
c81e7d02...5a19
plan
pro
features
[export, sync, teams]
quotas
renders: 500 / 30 d
issued_at
2026-12-02
expires_at
2026-12-09soft
not_after
2027-01-01hard
keyring
period 12, sealed
  1. 1Read the envelope
  2. 2Choose the pinned key
  3. 3Verify the signature
  4. 4Decode the payload
  5. 5Check the format version
  6. 6Check product and device
  7. 7Check the key's validity
  8. 8Refuse a rolled-back lease
  9. 9Compare the two expiries
sig ed25519 · key 2026-11 · 3kF9x0...Qm_wchecking 0/9

Why next generation

Licensing was built for software in a box. Yours is a subscription.

Licence keys, hardware fingerprints and a server that must answer before the product starts were designed for a sale that happens once. A subscription changes every month and runs on machines you will never see. SentryWard is licensing designed again, from that fact up.

Identity

Last generation: A licence key, typed in once and passed around

SentryWard: An account from your own sign-in, and a seat for every machine

Machine binding

Last generation: A hardware fingerprint, taken from the customer's machine

SentryWard: A device key that proves itself. Nothing is collected.

The check

Last generation: A server that has to answer before the product starts

SentryWard: A signed lease, checked on the machine with no network call

Cancellation

Last generation: Reaches a machine when it next calls home, if it ever does

SentryWard: Lands within a stated time: 7 days online, 30 at the outside, by default

Enforcement

Last generation: A flag in an if statement, one patch from gone

SentryWard: A key the client cannot produce for itself

Trust

Last generation: A closed scheme and a promise

SentryWard: A published specification with frozen test vectors

The question

Identity says who. Billing says whether. Nobody says what.

Your identity provider knows a person and your payment provider knows an invoice. Neither knows that this is the customer’s fourth machine, what the plan allows on it, or which key opens its data. SentryWard answers that question, and only that one.

Identity provider

Who this person is

Not what they may do. It knows nothing about machines, and has no place for a quota or a key.

Yours: Cognito or any OpenID Connect provider
Payment provider

Whether they are paying

Not what paying grants. It knows nothing about machines, and it reports changes on its own schedule.

Yours: Stripe
SentryWard

What, where, how long and with which keys

One signed lease per machine: the plan, the features, the quotas, the lifetimes and the keys. Checked offline, replaced every few days.

Ours: the part nobody else answers

Each of the three can be replaced without touching the others. That separation is the architecture; the rest follows from it.

A new architecture

One service decides. Everything else checks for itself.

The last generation put a licence server between your customer and their work. The new architecture takes it out of the path. The client on the customer’s machine is the only part of your product that talks to the service. Your backend checks the same lease on its own and calls in only to meter. Nothing stands between your customer and their work.

System map

Sign in. Your identity provider signs the user in. SentryWard verifies tokens and never issues one, so it holds no password and a breach of it cannot become a login.

BOUGHT SERVICESCUSTOMER'S MACHINESENTRYWARD DEPLOYMENT · YOURS OR HOSTEDYOUR BACKENDsign-inenrol · asksigned leasetoken keyssubscription statelease + tokenquota · usageIDENTITY PROVIDERwho · OIDC, CognitoPAYMENT PROVIDERwhether · StripeAPPLICATIONthe user's windowCLIENTdevice key · leasechecks and enforcesSENTRYWARD SERVICEaccounts · plans · seatsleases · content keysquotas · consent · auditOPERATOR CONSOLEsupportDATABASEstate · auditKEY CUSTODYsigning keyYOUR BACKEND SERVICEchecks leases itself · meters

A new algorithm

The remote licensing problem, solved.

A licence check that never calls home cannot learn of a cancellation. One that always calls home fails whenever the server does. That is the remote licensing problem, and the last generation only ever picked a side. Our new algorithm, the two-expiry lease, solves it: a soft expiry that says ask again, and a hard one that says stop. A cancellation lands. An outage does not.

A lease over six weeks

Day 00. A lease is issued. It is valid for 7 days and usable for 30.

day 0day 7day 14day 21day 28day 35day 42Customer's machinevalid, prosofthard
  • valid
  • refreshable: keeps working, asks in the background
  • expired: stops until a new lease arrives
  • ×failed refresh
Soft lifetime
7 days
How quickly a change of plan reaches a machine that is online.
The gap
23 days
How long a paying customer keeps working through an outage, or without a connection.
Hard lifetime
30 days
The longest a machine keeps working after a subscription ends.

Defaults. All three are yours to set, per plan.

Content keys

A flag can be patched out. A key cannot be guessed.

Most licence checks end in an if statement, and anyone with a debugger can remove it. Here the entitlement is an input, not a verdict: your product encrypts what it stores under a key that arrives inside the lease. No current lease, no key. No key, no data.

Sealed to one device
HPKE, RFC 9180. A lease copied to another machine carries a key that machine cannot open.
Never written down
The opened key lives in memory. What is on the disk is ciphertext and a lease with an end date.
Rotated by period
A key that leaks reaches the data of its own period and nothing after it.
Optional
A product that stores nothing worth protecting leaves the keyring out. The lease works the same.
Content keys / illustrativelease current
Leasecarries the key, sealed
Device keyopens it, on this machine
Content keyin memory only
  • projects/atlas-tower.acmeAtlas tower, revision 14, 2.1 GB
  • models/denoise-v3.binnetwork weights, 412 MB
  • catalogue/prices.db8,214 rows, updated today

EU Cyber Resilience Act

Conformant with the CRA. Built so your product can be too.

From 11 December 2027, software sold in the European Union needs security by design, a vulnerability handling process and a CE marking. A licensing backend your product cannot run without is part of that product. SentryWard arrives with its own conformity done, and takes several essential requirements off your list.

  • EU declaration of conformity and CE marking
  • A software bill of materials with every release
  • Coordinated vulnerability disclosure, with a published contact
  • Security updates free of charge through a five-year support period
  • Exploited vulnerabilities reported within 24 and 72 hours
Regulation (EU) 2024/2847Cyber Resilience Act
   days to full application
  1. 10 Dec 2024In forceThe regulation enters into force.
  2. 11 Sep 2026Reporting appliesExploited vulnerabilities and severe incidents are reported within 24 and 72 hours.
  3. 11 Dec 2027Everything appliesEssential requirements, vulnerability handling, declaration of conformity and CE marking.

What it carries for your product

Annex I, 2(d)

Protection from unauthorised access

Every entitlement starts from a verified sign-in and a device that proved its key. No development mode skips a check.

Annex I, 2(e)

Confidentiality of stored data

Content keys encrypt what your product keeps on the customer's disk, sealed to each device.

Annex I, 2(f)

Integrity

A lease is signed over one canonical encoding. A second spelling of a signed message is refused, not tolerated.

Annex I, 2(g)

Data minimisation

No hardware fingerprint, nothing collected from customers' machines, no card data, no passwords.

Annex I, 2(h)

Availability

Unavailability is not denial. The check is offline, so your essential functions outlast an outage of ours.

Annex I, 2(l)

Security logging

An append-only record of every entitlement decision and every operator action, each with its reason.

The full mapping, requirement by requirement

What you get

Licensing you configure once and stop thinking about.

Plans, features, quotas, seat counts and lease lifetimes are configuration. Adopting SentryWard changes no line of its code, and a configuration that is incomplete stops the service at start-up, not at your first customer.

Accounts

Created at first sign-in from your identity provider's subject. Cognito or any OpenID Connect provider.

Plans

A catalogue in configuration: features, quotas, seats, prices by interval, and trials that end by themselves.

Machines and seats

Enrolment by proof of possession, seat counting, removal, and a cooldown that stops a seat going round a group.

Leases

Issued per machine, checked offline, two expiries, signing keys rotated through a signed published set.

Content keys

Created per account and period, stored encrypted, sealed to each device inside its lease.

Billing

Stripe checkout and management sessions, verified notifications, and reconciliation that does not depend on them arriving.

Quotas

Periodic limits and standing caps, idempotent consumption reports, questions that consume nothing.

Consent records

The documents a user must accept, by version, with a record only the user's own sign-in can create.

Support console

Account search and view, plan assignment and seat release, each with a stated reason.

Audit

An append-only record of every decision, for the customer who asks in November why access stopped in March.

Five things arrive

The lease codec is written once and wrapped for other languages, never reimplemented. A second implementation of a signed structure is the one duplication a signature cannot survive.

  1. 01ServiceOne container image. You supply a configuration, a database and an address.
  2. 02Verifier libraryChecks a lease in the specified order. No dependency on the service.
  3. 03Client libraryDevice key storage per operating system, enrolment, refresh, key opening.
  4. 04Operator consoleA static web application over the operator routes.
  5. 05SpecificationThe lease field by field, with frozen test vectors for independent review.

Security model

A threat model that states its gaps.

Security products rarely say what they do not defend. Ours does, because a model that claims to be complete is worse than one that is honest. Effort goes where realistic loss is: sharing, forgery, replay and rotation.

Defended

Shared sign-ins
Enrolment and a seat per machine
Forged or altered leases
Ed25519 over one canonical encoding, read strictly
Replayed leases and reports
A rollback record on the machine; idempotency keys on reports
A seat rotated round a group
A cooldown on every released seat, 24 hours by default
A clock turned back
The latest time of issue ever seen, and a counter that only moves forward
An insider with the database
Signing keys are not in it, and the audit record shows the action

Conceded, in writing

A client modified by its owner
Checks in software on hardware the customer controls can be removed. Only what is structurally necessary survives: keys the client cannot produce.
Data already decrypted
Once readable data exists on a machine, it exists. Rotation limits the future and reaches nothing in the past.
A determined reverse engineer
Arrange your plans so that a fully cracked client yields only what you were prepared to give away.

Rules that are not traded away

  • No development mode that skips a check
  • No start with an incomplete configuration
  • Key material validated at start-up, never at first use
  • A token's algorithm comes from configuration, never from the token
  • No secrets in logs
  • Audit entries are only ever added

Where it does not fit

  • Licence keys without accounts
  • Floating licences shared by whichever machines are running
  • Sites with no connection at all
  • Protection of the program binary itself

Integration

An afternoon to wire in. Nothing to babysit after.

Three places know about a lease: the client in your product, the backend that serves it, and the catalogue of plans. Each is a few lines.

One core, many bindings
The client library carries the hard parts: key storage per operating system, the rollback record, refresh with a random delay.
An interface that only grows
Clients run on machines nobody at your company controls. Routes change by addition, never by breaking.
Test vectors, frozen
Complete leases with their bytes and signatures, so your security team can check the scheme without our source.
client.rs
use sentryward::{Client, Verdict};

// The device key is created here and kept in the system's key store.
let ward = Client::open("acme-studio")?;

// Checked on this machine, against pinned public keys. No network.
let lease = ward.lease()?;

match lease.verdict() {
    Verdict::Valid | Verdict::Refreshable => {
        if lease.has_feature("export") {
            enable_export();
        }
        // Opened in memory, never written to disk.
        let key = lease.content_key()?;
        open_project(&key)?;
    }
    Verdict::Expired => show_renewal_page(),
}

Pricing

Two ways to run it. The same service in both.

Price is on request while the first vendors come on board. It is a flat fee by deployment, never a share of your revenue.

Self-hosted

You run it. You hold the keys.

One deployment per product, in your own cloud or data centre. The service never needs to reach us.

  • The container image, both libraries and the console
  • Your database, your secret store or key management service
  • The lease specification and its test vectors
  • Security updates and advisories for the support period
  • The CRA documentation of the component
Price on requestTalk to us
Hosted

We run it. Nobody holds the key.

A deployment of your own for each product, operated by us in the European Union. Never shared with another vendor.

  • Everything in Self-hosted, operated for you
  • Signing keys in a key management service that signs on request and never releases them
  • Your data and keys apart from every other vendor's
  • Plans and quotas managed in the console
  • An availability commitment, in writing
Price on requestGet started
Enterprise

Either model, on your terms.

For products whose own customers will ask how the licensing works, and want the answer on paper.

  • Single sign-on for the operator console
  • A named contact and a support agreement
  • Help with your own CRA technical documentation
  • Review of your integration against the specification
  • Lease lifetimes and custody agreed per product
Price on requestTalk to us

Leave last-generation licensing to your competitors.

Read the specification, put it in front of your security team, and talk to us when they have run out of questions.