Sign-in and sessions
Active Directory over LDAPS (the default) or StartTLS, optional authenticator codes, passkeys and security keys, Microsoft Entra ID, and a local recovery account; when people must prove it is them again; and how sessions are kept and ended.
Updated October 19, 2026
The recovery account
First boot creates a local administrator and a random recovery passphrase. Root reads it on the appliance (cenovelctl recovery show) until you store it and acknowledge it, which removes that copy. The console keeps only its hash: scrypt with N=16384, r=8, p=1 and a 16-byte random salt. It always works, even when the directory can’t be reached, and it is the only account that can grant or remove the District Administrator tier in People. (Directory and Entra groups mapped to District Administrator also give that tier.)
Active Directory
- Passwords are checked by a bind to the directory and are never stored or logged.
- Groups map to access tiers. Nested membership counts, and the highest tier wins. Someone in no mapped group cannot sign in.
- While a directory session is in use, its membership is read again every 5 minutes. A person removed from their groups, or disabled, loses access within about 5 minutes, and at most 15.
- Optional authenticator codes: TOTP (RFC 6238, HMAC-SHA1, 30-second steps, 6 digits), each code usable once. The authenticator secret is sealed with the settings key. Setting up a first authenticator app needs a setup code from a District Administrator as well as the password. Ten single-use recovery codes, 80 bits each, are stored only as scrypt with a random salt.
- After 5 failed attempts in 15 minutes, Cenovel locks that directory account for a growing interval, from 1 minute up to 64. Five wrong authenticator codes lock the second step the same way, and a correct password doesn’t reset that count.
Passkeys and security keys
People add passkeys and security keys (WebAuthn) on their Account page. A key is a second step on top of any sign-in method, and a passkey can also sign a person in by itself, with its PIN or fingerprint. District Administrators always need a key; one setting makes every tier need one. The recovery account never needs one. A key works only for the name it was added under, so open the console by its DNS name. Ten single-use recovery codes come with the first key, stored the same way as the authenticator recovery codes, and a District Administrator can reset another person’s keys.
Microsoft Entra ID
Authorization code flow with PKCE (S256), a random state and nonce. The ID token’s signature is checked against the tenant’s published keys, with its issuer, audience, expiry and tenant id. The tenants common, organizations and consumers are refused. Groups map to tiers, with differences from the directory: only direct membership counts, not nested groups; someone in no mapped group is refused unless People gives them a tier (or the deployment sets a default tier of Monitor, Auditor or Operator); and a session whose tier comes from Entra groups ends after 15 minutes, when the person signs in again. Every 5 minutes Cenovel also asks Microsoft whether a signed-in account still exists and is turned on; an account blocked or deleted in Entra ID loses its sessions and the API tokens it made. That check needs the Microsoft Graph application permission User.Read.All; without it, sessions continue to their own limits and the audit log says the check didn’t run.
Sessions
| Control | Value |
|---|---|
| Session token | 256 random bits. The server stores only its SHA-256 hash. |
| Cookie | HttpOnly, Secure, SameSite=Strict (Lax after a Microsoft sign-in, which returns from Microsoft) |
| Longest session | 8 hours. A session whose tier comes from directory or Entra groups needs its membership confirmed at least every 15 minutes. |
| Inactivity sign-out | 30 minutes by default; set from 5 to 1,440 minutes in Settings › System › Deployment (“Sign out after inactivity”). Background refreshes don’t count as activity. |
| Warning | Two minutes before an inactivity sign-out, with “Stay signed in”. |
| Cross-site requests | Changes must come from the console’s own origin (Origin and Referer are checked), on top of the SameSite cookie. |
| Browser | A session stays tied to the browser it signed in from, so a copied cookie doesn’t work from another one. |
| Guessing | After 5 failed sign-ins from one address, each further attempt waits longer, starting at 30 seconds; an IPv6 address counts by its /64. Repeated failures on one account are recorded in the audit log. On the appliance, fail2ban bans an address in the firewall when the console keeps blocking it. |
Signing in again
Sensitive actions ask the person to prove it is them again, so a stolen session is not enough: a touch of their security key (or one of its recovery codes) if they hold one, otherwise the recovery passphrase, a fresh directory password check, or a Microsoft sign-in within the last 5 minutes. A proof, or a sign-in, counts for 5 minutes on that session only. After 5 wrong attempts it pauses for 5 minutes.
It is asked for to install an update; to apply a switch change, run a port action or a rollout wave, and stage or start a firmware upgrade; to open a full terminal or a remote desktop; to stop device communication, or resume it after the tripwire; to give or change a person’s tier or page rules, approve an erasure, or sign other people out; to create, widen or revoke an API token; to add, change or remove device credentials or a controller connection, or trust a device’s key or a server’s certificate; to change directory sign-in, who needs a security key, log forwarding, the outbound firewall or other sign-in and security settings, or reset an authenticator; to publish an automation or a script, add or change a notification channel, or turn on a feature that acts on devices or reaches beyond your network; to import a license or malware signatures; and to discard a held upload. An API token can never do these.