Subscriptions
This page is about the commercial subscription, not the software licence. The software licence is the SimpleVirt Software License Agreement (
/usr/share/doc/simplevirt/LICENSEon an installed appliance), summarised in Licensing. This page covers what a subscription buys, what the product does with its key, and the contract for an online validation server that the product does not use today.
1. What a subscription is, and what it is not
SimpleVirt is free to use, and every feature in the build works with no subscription at all. There is one edition and it is complete: no community edition, no feature matrix, no "enterprise" build. A subscription is sold per host, per year, and buys things that are obligations on the vendor rather than switches inside the software:
- Access to the stable update channel: the same releases as the free community channel, after a longer validation period, and the channel we recommend for production.
- Support entitlement — the right to open a ticket and be answered, on the terms of your purchase.
- A licence key that records the subscription, so support can confirm it.
Updates without a subscription. Every release and every security fix is published free on the community channel, the download page at https://simple-virt.com/download/, for everyone. Security fixes reach both channels at the same time. The stable channel differs only in when a release reaches it, never in what the release contains.
Concretely, this is what the product does and does not do with a key:
Reports active / expired / none, with tier, who it was issued to, expiry and host count |
✅ |
| Records the entitlement so support can confirm it | ✅ |
| Shows a dismissible notice when there is no subscription | ✅ |
| Gates a feature, endpoint, button, host count or VM count | ❌ never |
| Phones home by default | ❌ never |
| Degrades, nags repeatedly, or blocks work when unsubscribed | ❌ never |
Automated tests enforce the first "never" and fail the build if anyone changes their mind quietly: one runs representative reads and a mutation against two controllers — one subscribed, one not — and requires identical answers; another fails if any code outside the subscription's own handlers reads the subscription state, in the controller and in the web console alike.
Not implemented, deliberately: the product does not consume the key for anything. There
is no package repository client, and the in-product updater is ISO-based (see
docs/installation.md), so "stable update channel access" today is something the vendor
grants out of band — not a channel the controller authenticates to. If that changes, the key
is already where it needs to be; nothing in the UI claims it is happening now. The controller can
read either channel's public, signed release catalog to list newer releases and advisories
(Administration, Lifecycle; off until turned on, never installing anything, and the same with or
without a key).
2. The key
A subscription key is an Ed25519-signed token that SimpleVirt issues when you buy a subscription:
SIMPLEVIRT-<base64url(payload)>.<base64url(signature)>The payload is JSON:
{"tier": "Enterprise", "to": "Acme Corp", "exp": 1790000000, "hosts": 8}| field | meaning |
|---|---|
tier |
any string the vendor uses, e.g. Standard, Enterprise. Blank defaults to Standard. |
to |
the licensed-to name, shown in the UI. |
exp |
Unix seconds. Omitted = perpetual. |
hosts |
how many hosts the subscription covers. Omitted = the key states no host count, which is not the same as zero and is displayed as "Not stated by this key". |
hosts is optional; keys issued before it existed read as 0 and keep verifying byte for
byte.
The appliance carries only the public key and can verify a key but never create one.
Where it is stored
<data_dir>/subscription.json on the controller, mode 0600, written atomically
(tmp + fsync + rename + parent-dir fsync). The token is sealed at rest with the
controller's envelope-encryption key (AES-256-GCM, key at
/etc/simplevirt-command/db-key) — the same treatment as the LDAP bind password. With no
encryption key configured the token is written in the clear inside the same atomic 0600 file,
exactly as the other secrets are in file mode. The reach of the "secrets are not encrypted"
banner differs by backend, though: that banner (GET /api/v1/settings/security, code
secrets_plaintext_at_rest) fires only for a Postgres-backed controller that is missing its
db-key, where the subscription token shares the same plaintext fate and is implicitly covered
by the condition — although the banner's message names host bearer tokens, the LDAP/AD bind
password and Kubernetes join secrets, not the subscription token. In pure file mode there is
deliberately no such banner: the security posture reports secrets_encrypted_at_rest: true
because the secrets never enter a database, so a plaintext subscription file in file mode is by
design and is not flagged.
The file also holds an opaque install id (16 random bytes) and the last online verdict.
Its JSON field for the token is named subscription_token so the support-bundle redactor
masks it by field name if the file is ever added to a bundle. It is not in a bundle today.
Restore note. In Postgres mode the controller's domain state is in the database and a backup is a
pg_dump; the subscription is a data-dir file (the release froze the DB schema), so it rides in the file half of the backup tarball. If a controller is rebuilt from a database dump alone, re-enter the key — it takes ten seconds and the token is re-issuable.
3. Status, and how it is decided
Three states. none is normal, not an error: a client who has not bought support is
running a supported configuration of a free product, and the UI says so in those words.
| status | meaning |
|---|---|
active |
a key is stored, verifies, and has not expired (within the clock-skew tolerance) |
expired |
a key is stored and verifies, but its term has ended — or the vendor revoked it |
none |
no key stored; or a stored key that cannot be decrypted or no longer verifies (the message says which) |
The signed token alone decides this. The optional online endpoint can confirm it and can revoke it; it can never be what makes a subscription work.
Clock skew
Expiry is a date comparison on a machine whose clock nobody controls — an appliance on an
isolated management LAN often has no NTP, and a guest's RTC can slip. So expiry carries a
24-hour tolerance: a key that ran out four hours ago by
this controller's clock still reports active; one a day past its term reports expired.
The error is biased towards the customer on purpose. Telling a paying client their support
lapsed because a VM's clock drifted is a worse failure than reporting active for one extra
day. When an online check happens and the response carries server_time, the difference is
recorded and surfaced (check.skew_seconds) once it exceeds five minutes, so an operator
finds out their clock is wrong here rather than somewhere more expensive.
4. Online validation: not shipped
The shipped controller never contacts a subscription server. A key is verified
offline, against the signing key built into the release, and there is no setting that
changes that. A future SimpleVirt release could add an optional online check. What such a
check would send is published here before it exists, so it cannot be added quietly. It would
be off unless the deployment's owner turns it on in config.yaml, never a default that
arrives with an upgrade, and it would check at most once a day.
What a check would send
{
"key": "SIMPLEVIRT-eyJ0aWVy….c2ln",
"key_id": "a1b2c3d4",
"product": "simplevirt-command",
"version": "1.0.0+2026.09.17.1200.abc1234",
"install_id": "9d2f4c8e1b7a05f36d4e8c2a91f5b073",
"checked_at": 1790000000
}| field | why it is sent |
|---|---|
key |
the thing being validated |
key_id |
its SHA-256 prefix, so the server can log which key was checked without writing a credential into its own logs |
product |
which component is asking |
version |
the build, so support knows what is actually running |
install_id |
16 opaque random bytes generated locally on first use; lets the vendor tell "one customer, two clusters" from "one key, many customers" |
checked_at |
the client's clock, so the server can measure skew |
Privacy — what is NOT sent, and will not be added quietly. No host names, no IP or MAC addresses, no cluster or VM names, no host or VM counts, no storage or network topology, no licensed-to name (the vendor issued the key and already knows it), no telemetry of any kind. An automated test pins the exact field set, so adding a field is a privacy decision taken in the open. If the vendor later wants host counts for compliance, that is a separate, opt-in field that must be documented here and disclosed in the UI before it ships. It must not become a precondition for anything, because nothing is gated.
When the server cannot be reached
Unreachability never changes the status. A subscription that was active stays
active — for a day, a month, forever. An air-gapped datacentre is a normal SimpleVirt
deployment, and it must be indistinguishable from a connected one in everything except one
note: after 30 days without a real answer, the product would add the line "This
subscription has not been confirmed with the subscription server for over 30 days. It is
unchanged — only the confirmation is missing." Nothing else in the product is affected by a
failed check. No feature pauses, no screen changes, no operation is refused.
5. The HTTP surface
All five routes require the admin.users privilege. No new privilege was added, so an
existing customer's role catalog is unchanged; the subscription is an administrator's concern
and the notice is only worth showing to people who can act on it. A non-administrator gets
403 and their console simply shows no notice.
| method | path | |
|---|---|---|
GET |
/api/v1/subscription |
the state. Always 200 — no key, an undecryptable key and a key that no longer verifies are all states with a sentence attached, not request failures |
POST |
/api/v1/subscription |
{"key": "SIMPLEVIRT-…"}. 200 on success, 400 with an actionable message when the signature does not verify |
DELETE |
/api/v1/subscription |
remove the key; returns the (now none) state |
POST |
/api/v1/subscription/check |
ask the endpoint now. Always 200: an unreachable server is knowledge about the network, not a failed request |
POST |
/api/v1/subscription/notice/dismiss |
dismiss the notice for the calling operator |
Response body:
{
"status": "active",
"tier": "Enterprise",
"issued_to": "Acme Corp",
"expires": 1790000000,
"days_left": 210,
"hosts": 8,
"key_id": "a1b2c3d4",
"activated_at": 1789000000,
"message": "",
"check": {
"mode": "offline",
"verdict": "",
"at": 0,
"message": "",
"stale": false,
"skew_seconds": 0
},
"notice": { "show": false, "state": "active", "dismissed": false }
}The key is never returned by any endpoint. It goes in once, on the activate request; from
then on only key_id (its SHA-256 prefix) leaves the controller, which is what a support
ticket should quote.
subscription.activate, subscription.remove and subscription.check are audit-logged (the
activate entry records the tier and the fingerprint, never the key). Dismissing the notice is
not audited: it is a reading preference, and logging it would bury the events that matter.
6. The notice
When there is no subscription, or it has expired, the console shows one line below the top bar:
No support subscription Every feature is available; a subscription adds vendor support and the stable update channel. [View subscription] [Dismiss]
Rules it obeys, each of which is a test:
- Never a modal. A dialog on every sign-in that must be clicked away before the console can be used is an irritant. This is a strip in the page flow, above the top bar, that overlays nothing.
- Never blocks anything. No disabled control, no intercepted click, no focus steal (it is
role="status"). - Drawn once per sign-in, not per navigation.
- Dismissible, and the dismissal persists per operator — server-side, keyed by username, so it does not come back on the next machine they sign in from. Browser storage would be per-device, which is not the same thing.
- Per state. Dismissing "no subscription" does not pre-dismiss "expired": those are different things to tell someone, and swallowing the second would make the product quietly unhelpful exactly when it matters.
- Copy that does not lie. No "unlock", no "limited mode", no "unlicensed". The product is not limited, and saying otherwise to sell support would be both false and beneath the product.
The full picture lives at Administration → Subscription: status, tier, who it was issued to, expiry with days remaining, hosts covered, key fingerprint, how this controller validates (offline by default, and it says so), the field to paste a key into, and a two-step in-place Remove key.
7. Operator FAQ
Does anything stop working when a subscription expires? No. Nothing changes except what the console reports.
Does the appliance call home? No. Not on install, not on sign-in, not on expiry. The shipped controller has no subscription endpoint and no setting to add one, so it contacts no subscription server at all. If a future release adds one, it will be off unless the deployment's owner turns it on, it will check at most once a day, and what it may send is listed in §4 in full.
Can I run SimpleVirt in an air-gapped datacentre? Yes, with or without a subscription. Offline verification is the default and the only mode that ships.
My controller's clock is wrong — will my subscription break? There is a 24-hour tolerance either way, and a large skew is reported once a check runs. Fix the clock; nothing will have stopped in the meantime.
Someone told me my key does not verify. It was signed by a different key than the build verifies against, for example after SimpleVirt rotated its signing key. The product says so and asks for the key you were issued; it does not pretend nothing was ever entered. Ask support@simple-virt.com for a re-issued key.
I lost the key. Ask support@simple-virt.com to re-issue it. Tokens are signed, not secret — they are safe to email — but the controller stores yours encrypted anyway, because it is what authenticates this deployment to the vendor.