Repository navigation
v1.5.0 — console init/unseal, token hierarchy, per-role token_max_ttl
The console runs a vault's whole lifecycle, and delegated tokens form a tree. Initialize and unseal from /ui/, now covered by a headless-Chrome end-to-end test in CI; revoking a token revokes the tokens it delegated; and every auth method takes a per-role token_max_ttl. Backward-compatible with the 1.x API; no storage or chart-values changes.
Image: ghcr.io/ubixsys/ubixvault:1.5.0 (multi-arch amd64/arm64, cosign-signed + SBOM). Helm chart: deploy/charts/ubixvault (0.1.20, appVersion 1.5.0).
Upgrade notes
- Delegated tokens now die with their parent. A token created by a caller that is neither root nor holds
sudoonauth/token/createis revoked when that caller's token is revoked or expires. Tokens created by root or asudoholder, and auth-method logins, are unaffected (orphans). Tokens that existed before the upgrade have no parent and behave as orphans. - Expired tokens are removed by the sweeper, within 10 minutes, instead of by the lookup that noticed them. They are still refused immediately.
Added
- Revoking a token revokes the tokens it created (ADR D-022 follow-up). A token created by a non-root, non-
sudocaller is that caller's child:revoke-self— and expiry — revoke it and its own children in turn, destroying each one's cubbyhole and dynamic-database leases. Tokens created by root or asudoholder, and auth-method logins, are orphans and unaffected, so revoking an operator's token does not revoke what they issued.lookup-selfreportsorphan. - Per-role
token_max_ttlon every auth method (userpass users, AppRole, TLS cert, JWT/OIDC and Kubernetes roles, and the LDAP config), as in Vault. It lowers the ceiling of the tokens that role issues: their expiry and any renewal stop at login +token_max_ttl. It never raises the ceiling above the system maximum. Atoken_ttllarger thantoken_max_ttlis refused with a400. Returned on read. - Console: initialize and unseal. A new vault can be initialized from
/ui/(choose key shares and threshold); the shares — or recovery keys, with auto-unseal — and the root token are shown once, each with a Copy button, and stay on screen until you confirm you have stored them. A sealed vault shows an Unseal panel that takes key shares one at a time with a live progress count; a share is never kept in the page. An auto-unseal vault that stays sealed explains that shares cannot help and to check the seal. - Console end-to-end test in CI (
test/e2e/console/,make console-e2e): drives the real console in headless Chrome — initialize, unseal share by share, sign in with a token and with userpass, sign out — and checks the server side (a pasted token survives "Forget token"; a signed-out token is really revoked).
Changed
- An expired token is still refused at once, but its record is now removed by the background sweeper (within 10 minutes) rather than by the lookup that noticed it, so the child cascade always runs.
Security assurance (read this)
uBixVault has not yet undergone an independent third-party security audit. Its cryptography and trust path are standard-library Go, written in-house, fuzzed, and property-tested, but that is not a substitute for outside review, which is an active, open milestone, deliberately not a version gate (docs/VERSIONING.md). Weigh that before placing high-blast-radius secrets here.
Full history: CHANGELOG.md.