Product rules
wesergate/commercial_terms.json defines the quote matrix. Pricing is stored in integer EUR cents, preventing floating-point billing mistakes. Annual base 499900 cents for 100; plus 100000 cents per additional complete 100-capacity tier. Three-year upfront pricing is 3× annual less 15%, rounded to the nearest cent. Prices exclude VAT; actual invoicing is performed outside the appliance.
Signed document schema
A new entitlement (schema=2) has exact keys: schema, product, plan, license_id, installation_id, customer, endpoint_limit, issued_at, not_before, expires_at. Its Ed25519 detached signature is base64url-encoded over canonical sorted UTF-8 JSON payload. A customer cannot modify endpoint_limit without invalidating the vendor signature. Allowed plan: annual or three_year. Start/end dates must not exceed the purchased term. Standard tier 100–1,000 in steps of 100; >1,000 is a vendor-approved custom quote, not a validated performance guarantee.
Example payload (NOT a valid signed license)
{
"payload": {"schema":2,"product":"wesergate-nac","plan":"annual", "license_id":"00000000-0000-4000-8000-000000000001", "installation_id":"11111111-1111-4111-8111-111111111111", "customer":"Example GmbH", "endpoint_limit":500, "issued_at":"2026-11-12T12:00:00+00:00", "not_before":"2026-11-12T12:00:00+00:00", "expires_at":"2027-11-12T12:00:00+00:00"},
"signature": "EXAMPLE_NOT_VALID"
}
Authorization boundaries
The public GET /api/license/catalog exposes pricing data, never a signing capability. GET /api/license/status requires an authenticated administrator; POST /api/license/activate requires license.manage and CSRF protection. Private keys are NOT in the software, Docker image or public website package. Administrative mutation gating after term expiry is enforced in HTTP middleware, not by disabling a RADIUS authorization process. Internal radius adapters, portals and containment tools retain their dedicated security checks.
Endpoint count and overage logic
SELECT count(*) FROM devices is used to count stored unique-MAC inventory records (MAC is unique-indexed). Offline/unknown/unapproved records count. New manual registration and IP-scan candidate promotion are guarded by a transaction-serialized capacity check (PostgreSQL row lock on installation record). Read-only discovery can add records beyond the cap, starting a persisted 14-day review clock; after expiry of grace, status signals over-limit, but network security remains fail-closed. This is not complete metering against a privileged database/root operator; current scope is voluntary/offline customer licensing.
Legacy grants
v0.12 (schema=1) paid grants verify under the existing public key until expiry, with endpoint_limit=null. Do not retroactively impose new capacity terms on an existing contract. New v2 grants replace the old document only after signature and contract date checks.
Vendor and portal separation
Vendor issues v2 documents using a separate offline toolkit; the website portal only manages orders, approvals, invoices and public/license artifacts. Signing keys remain offline/HSM with two-person approval. No online activation, forced remote deactivation or automatic revocation is included in v0.13.0.
en/docs/reference/license-technical.mdRead documentation Not a certified production NAC. Physical switch/RADIUS enforcement and 1,000-device traffic remain unverified.

