Repository navigation
Releases
v1.6.0
Integrated storage (Raft) arrives, as EXPERIMENTAL. Start uBixVault with -storage raft (or storage.type=raft in the Helm chart) and three replicas keep and replicate their own data, with no MySQL to run. Selectable, rehearsed and measured, and still labelled experimental until the dev and prod soak. MySQL and file storage are unchanged and remain the default; backward-compatible with the 1.x API.
Image: ghcr.io/ubixsys/ubixvault:1.6.0 (multi-arch amd64/arm64). Helm chart: deploy/charts/ubixvault (adds storage.type=raft).
Upgrade notes
- Existing MySQL and file deployments need nothing.
- To adopt integrated storage, see Migrating from MySQL to Raft in
docs/DEPLOYMENT.md; for a new cluster, the chart README's "Deploying with Raft storage". - The top-level keys of the raft
configurationandautopilot/stateresponses are deprecated in favour ofdata.
uBixVault is a lightweight, open, Vault-API-compatible secrets manager: one small
Go binary, no plugin processes, Vault's request shapes so the vault CLI and
External Secrets Operator work unmodified. 1.6.0 adds the piece that most
separated it from Vault in a cluster: it can keep its own data.
Start it with -storage raft (or storage.type=raft in the Helm chart) and
three replicas form a cluster that replicates every write to a majority before
acknowledging it. No MySQL to provision, patch or lose. It ships as
experimental: we run it on our own dev and then prod first, and the label
comes off after that soak.
What you get
- A replicated store with no external dependency. Each replica has its own
volume; any one can be lost. Two down means no quorum, so writes fail rather
than diverge. - The same operations. Auto-unseal, snapshots, the backup CronJob and the
rolling upgrade work as before;operator raftadds peers, join tokens,
snapshots and recovery, and the raft endpoints use Vault's response envelope
sovault operator raft list-peersworks. - Explicit joining. A new replica joins with a single-use, short-lived token
against a pinned CA; peer traffic is mutually authenticated TLS. - A way over from MySQL. One maintenance window: export the ciphertext from
the database, restore it into the first replica's volume, start with the same
unseal key, join the others. Nothing above storage changes, so no token,
lease or secret is invalidated, and rollback is a snapshot back into the
database.
What we measured
On kind, three replicas, a client writing every 100 ms through the Service with
no retries, and every acknowledged write checked afterwards:
| Event | Result (range over three runs) |
|---|---|
| Leader's node frozen | another leader in 6-7 s |
| Leader partitioned from the majority | new leader in 11-17 s; the isolated leader answered 503 to every write |
| Acknowledged writes (every run) | all read back from the Service and every replica (93/93, 85/85, 71/71 at that stage) |
| Whole cluster restarted (PVCs kept, auto-unseal) | serving again in 18 s, nothing lost |
One replica's volume wiped (-2) |
back as a voter in 19 s |
Pod -0 on a wiped volume |
refuses to found a second cluster under its old identity; given a join token it rejoins with the configuration intact |
The same write, read and list load through the same Service, MariaDB against
Raft (zero errors; the Raft term did not move, so the 500 ms leader lease held):
| Load | MariaDB p50 / p99 ms | Raft p50 / p99 ms |
|---|---|---|
| write, 1 client | 4.5 / 6.2 | 4.5 / 6.7 |
| write, 8 clients | 13.4 / 24.2 | 14.9 / 30.9 |
| read, 8 clients | 7.9 / 18.3 | 5.1 / 28.8 |
| list 100 keys, 4 clients | 4.6 / 8.9 | 3.5 / 6.9 |
Writes cost about what a MySQL round trip does. These are CI-VM numbers: a
regression baseline, not capacity planning.
The MySQL-to-Raft migration was rehearsed end to end both on the same Helm
release (--cascade=orphan) and as a parallel release: 48 of 48 entries
present, 33-35 s from freezing the old release to the first read served by
Raft, and a rollback (41-46 s) that brought MySQL back with a write made on
Raft intact.
The tests earned their keep: the chaos run found that a bootstrapped node's
address was stored as a pod IP rather than its DNS name, and a Jepsen-style
checker found that a newly elected leader could answer a consistent read from a
state machine that had not applied the previous leader's last entries. Both are
fixed in 1.6.0.
Jepsen-style testing, stated plainly: three 2-minute runs of about 100,000
operations each found no violation, but the checker could not decide every
window of the history (it gave up on its step budget on all three keys), so
this is not a proof of linearizability. Widening that coverage is open work.
What to know before you use it
- It is a new storage engine and it is experimental. MySQL and file storage
are unchanged and remain the default; migrate when you have a window and a
recent snapshot, and keep the database for the soak. - uBixVault has had no independent security audit. That is still the open
milestone. - Run 3 or 5 replicas (the chart refuses an even number). Use block storage
with realfsync, not NFS/SMB. - Auto-unseal is the practical mode: a sealed replica does not vote, so a full
restart under Shamir shares needs operators to unseal a quorum first. - It is not Vault's integrated storage byte for byte: autopilot is membership
and leader only, and a few shapes differ (docs/design/raft-storage.md). - The top-level keys of the raft
configurationandautopilot/stateresponses
are deprecated in favour ofdata.
Changelog
Integrated storage (Raft) ships as experimental in this release: selectable,
rehearsed and measured, still carrying the label until the dev and prod soak.
Added
-
Raft chaos suite, migration rehearsal, baseline and Jepsen-lite. kind
scenarios (leader freeze, partition, full restart, PVC loss, wiped pod-0)
with a no-retry writer whose acknowledged writes must all survive; the MySQL
to Raft migration and rollback rehearsed both with--cascade=orphanand as a
parallel release; a MariaDB-vs-Raft write/read/list baseline with a leader
lease check; an in-process Jepsen-lite (concurrent clients, crashes,
partitions, per-key linearizability checker) inmake cias a smoke and
nightly for 10 minutes. Workflowsraft-chaosandraft-jepsen. -
operator raft export-mysqlandoperator raft digest. Read the
ciphertext straight out of a MySQL database (no unseal) into a snapshot with an
entry count and SHA-256, and compare a snapshot of the migrated cluster with it.
DEPLOYMENT.mdgains "Migrating from MySQL to Raft" and "Replacing a Raft
replica whose volume was lost". -
-raft-peersbootstrap guard. A Raft node that would bootstrap on an empty
data directory first asks its peers; if one reports an initialized cluster it
refuses (or joins, given a token), so a pod-0rescheduled onto a wiped volume
cannot found a second cluster under its old ID. The chart sets it. -
Helm chart:
storage.type=raft. A three-replica integrated-storage cluster
from the chart: StatefulSet with a PVC per pod and stable DNS identities via a
headless Service, pod-0bootstraps and the others join with single-use
tokens, PodDisruptionBudget and anti-affinity as for HA, and an optional
NetworkPolicy for the cluster port.fileandmysqlrenderings and the
filedefault are unchanged. A kind e2e (raft-e2eworkflow) brings up three
nodes, writes, force-kills the leader and reads back. Docs: chart README,
DEPLOYMENT.mdRaft upgrade section. -
Raft integrated-storage backend (experimental, not yet selectable)
(internal/storage/raft, ADR D-023, design indocs/design/raft-storage.md):
hashicorp/raftwith a bbolt state machine behindstorage.Backend, snapshots
in theubixvault-snapshot v1format, and internal membership operations. It is
exercised only by in-process tests: there is no-storage raftflag, operator
API, peer TLS or chart support yet, so nothing changes for any deployment. -
Raft storage implements
HABackend(not yet selectable: the-storage raft
flag is a later slice). Raft leadership is the HA lock and the term is the
fencing generation; releasing the lock transfers leadership. A replica whose
Raft state machine fails permanently now seals itself and reports the failure
(Core.HAFailed) instead of retrying. -
-storage raft(experimental): select the Raft backend with
-storage raft -data <dir>and-raft-node-id,-raft-advertise-addr,
-raft-bootstrap=false(nodes that will join). The cluster listener now
multiplexes Raft and request forwarding by ALPN, authenticated by the
sys/ha/cluster-caidentity; a sealed replica does not vote. HA is implied.
operator snapshot restore -storage raftrestores offline into an empty data
directory. Newubixvault_raft_*gauges on/v1/sys/metrics. Library side of
joining: 24h bridge leaf for a sealed joiner and non-voter to voter promotion. -
Raft operator API and CLI (experimental):
sys/storage/raft/join,
join-token,configuration,remove-peer,snapshot(GET save / POST
restore),snapshot-forceandautopilot/state, andubixvault operator raft list-peers | join | join-token | remove-peer | snapshot save|restore|force-restore | autopilot-state. A new node joins declaratively with-raft-retry-join,
-raft-join-token-file(or$UBIXVAULT_RAFT_JOIN_TOKEN) and
-raft-leader-ca-cert; a non-voter reports its applied index to the leader so
it is promoted. The bridge credential is kept in<data>/raft/bridge.json
(0600) until the first unseal, so a restart before then does not need a new
token.join-acceptandreport-appliedare ...
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.
v1.4.0 — works with HashiCorp's own clients; LDAP private CA; token cleanup
Works with HashiCorp's own clients. The vault CLI, External Secrets Operator and anything else built on github.com/hashicorp/vault/api now work against uBixVault — checked end to end with the official client. Also: LDAP directories with a private CA can be verified (certificate), expired tokens are cleaned up in the background, and Kubernetes roles' ttl is finally applied.
Image: ghcr.io/ubixsys/ubixvault:1.4.0 (multi-arch amd64/arm64, cosign-signed + SBOM). Helm chart: deploy/charts/ubixvault (0.1.19, appVersion 1.4.0).
Upgrade notes
- Policy reads changed shape:
GET /v1/sys/policies/acl/<name>returnsdata.policyas a string, as Vault does. If you parse that response yourself, parse the string (it is the policy's JSON text). - JSON policies with unknown keys are now refused (
400) instead of being stored without them. Check any automation that writes JSON policies with keys other thanpath/capabilities. - Kubernetes roles'
ttlnow takes effect. If a role already sets one, logins through it get that lifetime from now on instead of 32 days. - Consider a short
ttlon Kubernetes roles used by apps that log in per request or per process — each token then stops being a valid credential soon after it is used, and the new sweeper removes it.
Added
- Expired tokens are deleted in the background (every 10 minutes, on the active replica, up to 20,000 per pass), along with what each one owned — its cubbyhole and its dynamic-database leases — as revoke-self does. Before, an expired token was only removed if something looked it up, so a client that logs in on every request left every token behind; a dev deployment had accumulated 80,811 of them in five weeks, ~45 rows of real data among them.
- LDAP auth:
certificateonauth/ldap/config— a PEM bundle of the CA certificates that sign the directory's TLS certificate, as in Vault. Directories that issue their own certificates (FreeIPA's Dogtag CA, Active Directory enterprise CAs) can now be verified instead of needinginsecure_tls, which sent the bind password and every user's password to an unverified peer. When set, only those CAs are trusted for the connection. Validated on write: it must contain only certificates (a pasted private key is refused, not stored), and it cannot be combined withinsecure_tls. Returned on config read, like Vault.
Changed
GET /v1/sys/policies/acl/<name>returnsdata.policyas a string, as Vault does (the policy's canonical JSON text, which can be written back unchanged). It was a JSON object, which Vault's own client could not read — itsGetPolicypanicked — and neither can Terraform's Vault provider. If you parse this response yourself, parse the string. The console is updated.- JSON policy documents reject unknown keys (
400). A misspelledpathused to be stored as an empty policy, and restrictions uBixVault does not implement (e.g.allowed_parameters) were silently dropped, so the policy granted more than written. HCL policies were already strict.
Fixed
- Writing a policy the way Vault's clients do stored an empty policy. Vault's clients and Terraform send
{"policy": "<HCL or JSON text>"}; uBixVault took that body as the policy document itself, found no paths, stored a policy with no rules, and answered204. It fails closed (an empty policy grants nothing) but reported success. The{"policy": ...}shape is now accepted; a bare document still works. - Kubernetes auth ignored the role's
ttl. It was stored and shown on read but not applied, so every login got the 32-day default. Logins now get the role'sttlwhen set. If your clients log in per request or per process, set a shortttlon their role (minutes): each login's token then stops being a valid credential almost as soon as it is used. - HashiCorp's own Vault clients now work. Checked end to end with the official Go client (
github.com/hashicorp/vault/api), which thevaultCLI and External Secrets Operator are built on. It failed at the first call before this; now init, unseal, KV v2, listing, policies, token create/lookup/renew/ revoke and userpass login all work:- Every write route accepts both
PUTandPOST, as in Vault. 41 routes accepted only one, so e.g.vault operator init/unsealand the Go client'sPUT auth/kubernetes/login(what ESO sends) got405. GET …?list=trueis a list, as in Vault (the Go client lists this way); only theLISTmethod worked, and listing the top of the KV store failed.- Durations accept a number of seconds (
3600,"3600") as well as"1h", on every TTL/increment field, as in Vault. sys/init,sys/unsealandauth/token/createaccept the fields Vault's client always sends. Fields uBixVault does not implement are accepted only at their zero value and otherwise refused with a clear error — never silently ignored where that would change the result (e.g.pgp_keys, which would otherwise return plaintext shares, ornum_uses). With auto-unseal,recovery_shares/recovery_thresholdconfigure the recovery keys, as in Vault.
- Every write route accepts both
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.
v1.3.0 — token scoping (security) and console sign-in
uBixVault 1.3.0: token scoping and console sign-in. It fixes a critical privilege escalation in token creation, caps token renewal, and lets the web console sign in with userpass or LDAP. Backward-compatible with the 1.x API; no storage or chart-values changes.
Image: ghcr.io/ubixsys/ubixvault:1.3.0 (multi-arch amd64/arm64, cosign-signed + SBOM). Helm chart: deploy/charts/ubixvault (0.1.18, appVersion 1.3.0).
Security
- Critical: token creation could escalate to any policy, including
root.auth/token/createpassed the requested policies and TTL straight through, so a token whose only grant wasauth/token/createcould mint aroottoken (or any other policy) with any lifetime. A caller that is neither root nor holdssudoonauth/token/createmay now only give a child token policies it holds itself (otherwise it gets400 child policies must be subset of parent), and the child cannot outlive the caller's own maximum lifetime. Root andsudocallers are unaffected, so operator workflows that mint long-lived tokens (e.g. 1-year CI tokens) keep working. This affects every earlier version, in any deployment where a non-root policy grantsauth/token/create. See ADR D-022. - Token renewal is capped.
renew-selfused to set the expiry to now plus any requested increment, so a token allowed to renew could keep itself alive indefinitely. Every expiring token now has a ceiling fixed at creation, the later of its own expiry and creation time plus-max-token-ttl(default768h), and renewal never passes it. Tokens issued before the upgrade are never shortened.
Upgrade notes
- Upgrade promptly if any non-root policy grants
auth/token/create. - Token creation is now scoped. If something relies on delegated token creation with wider policies than the caller holds, grant that caller
sudoonauth/token/createdeliberately. Root-issued tokens are unchanged.
Added
- Console sign-in. The
/ui/console signs in with a username and password (userpass) or LDAP, as well as a pasted token, and shows who you are: policies, identity policies, and expiry. Sign out revokes a token the console obtained. A pasted token (which may be root or shared) is only forgotten in that tab, never revoked. GET /v1/auth/token/lookup-self, in Vault's response shape.-max-token-ttl(default768h, Vault's defaultmax_lease_ttl).
Changed
- Every token may look itself up, renew itself, and revoke itself without an ACL grant, as under Vault's built-in
defaultpolicy.
Fixed
- The console header read "uBix Vault"; it now reads uBixVault.
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.
v1.2.1 — TLS handshake log fix
uBixVault 1.2.1: a patch release. It fixes a log flood behind Kubernetes ingress, with naming and console touch-ups. No API, storage or chart-values changes; upgrade in place.
Image: ghcr.io/ubixsys/ubixvault:1.2.1 (multi-arch amd64/arm64, cosign-signed + SBOM). Helm chart: deploy/charts/ubixvault (0.1.17, appVersion 1.2.1).
Changed
- Name is written
uBixVault: one word, in the console, docs, chart, and startup output. - Console footer no longer says "read-only": the console has written KV, policies, tokens, and PKI since 0.2.0-beta.3. It stays marked beta until Transit and the newer auth methods are in
/ui/.
Fixed
- Aborted TLS handshakes no longer flood the log. Ingress controllers and service meshes health-check backends with bare TCP connects. Against a TLS listener, each one aborted the handshake and logged a line: one per probe, per replica, which was 99.96% of the log on a real 3-replica cluster. Handshakes (and HTTP/2 prefaces) that the peer abandons by closing or resetting the connection are now counted and summarized every 5 minutes. Every other handshake failure is still logged as it happens. The new flag
-log-tls-handshake-abortsrestores the per-line output. Set it if anything alerts on those lines, since the summary carries a count but no client addresses.
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.
v1.2.0 — high availability
uBix Vault 1.2.0 — high availability: run several replicas over MySQL/MariaDB, one active and the rest forwarding to it, so draining a node or upgrading is a sub-second handoff instead of an outage. Additive and backward-compatible with the 1.x API.
Image: ghcr.io/ubixsys/ubixvault:1.2.0 (multi-arch amd64/arm64, cosign-signed + SBOM). Helm chart: deploy/charts/ubixvault (0.1.16, appVersion 1.2.0).
Upgrade notes
- MySQL schema goes to version 2 (a new lock table), applied automatically on first start. Schema migrations are forward-only and a binary now refuses a database migrated by a newer one, so take a snapshot before upgrading: rolling back across this release means restoring it.
- Enabling HA on an existing install: upgrade to 1.2.0 at one replica first, then set
ha.enabled, then scale. A pre-1.2 replica takes no lock and must never run against the database alongside HA replicas. Seedocs/DEPLOYMENT.md§ Upgrades. - Audit
token_hmacvalues change once: the HMAC key now lives in the barrier, so HMACs from before the upgrade will not match those after it.
Added
- Active/standby HA (
-ha, requires-storage mysql). The active replica holds a lease-based lock row in the database; expiry is judged by the database's clock. Every write is fenced to the lock generation the replica acquired, inside its own transaction, so a replica that lost the lock without noticing (a pause, a partition) cannot write. A replica that is shut down — every drain and rolling restart — hands the lock over and a standby is active within-ha-retry-interval(500ms); a replica that dies is replaced within-ha-lock-ttl(15s). Two replicas cannot initialize the same database. - Standby forwarding, so clients can use any replica (e.g. one Kubernetes Service). Replicas talk over a dedicated cluster listener (
-ha-cluster-listen, port 8201;-ha-cluster-addr) with mutual TLS from a CA the vault keeps in its own barrier — no operator certificates, and only replicas that unsealed the same vault can connect. The active replica audits and rate-limits forwarded requests under the original client's address. During a handoff standbys hold requests (up to 5s) rather than failing them, and re-send a request without a body if the leader they reached had just gone; a request with a body is never sent twice. sys/leader(unauthenticated) andsys/step-down(authenticated), Vault-compatible. A replica that steps down stays out of the election for 10s so another takes over — unless none does, in which case it takes the lock back rather than leave the vault with no active replica.sys/healthquery parameters as in Vault:standbyok,activecode,standbycode(default429),sealedcode,uninitcode;perfstandbyokis accepted and ignored. The body gainsstandby. Without parameters a single replica answers exactly as before.-shutdown-delay: on SIGTERM an HA replica hands the active role over at once, then keeps serving (as a forwarding standby) for this long before closing its listeners, while Kubernetes stops routing to the terminating pod.- Helm chart
ha.enabled(chart 0.1.16):replicaCountreplicas (3 recommended) with-ha, the pod IP from the downward API, the cluster port, astandbyokreadiness probe, a PodDisruptionBudget (maxUnavailable: 1), pod anti-affinity (ha.antiAffinity:soft/hard/none) andha.shutdownDelay(5s).replicaCount > 1without HA, and HA without MySQL, are still refused. NewterminationGracePeriodSeconds(30, Kubernetes' default). Single-replica renders are otherwise unchanged. - HA failover test in CI (
.github/workflows/ha-e2e.yml,test/e2e/ha/): three replicas on kind with a client reading through the Service throughout. Deleting the active pod, draining its node, a rolling restart,sys/step-downand a force-delete must fail zero requests (first run: 0 of 1,512); freezing the active pod's node must fail over within the lock TTL (17s) and the thawed former active must step down. docs/DEPLOYMENT.md: an HA guide, the rolling-upgrade procedure, and the order for enabling HA on an existing install.
Changed
- The MySQL schema is versioned and checked at startup. The backend used to record a schema version it never read. It now reads it first: a current schema needs no lock and no DDL (so replicas restarting together don't queue); a behind one is migrated in order under a MySQL named lock, with its own generous time limit; a newer one is refused, naming both versions.
- Audit token HMACs are stable across restarts and replicas: the key is kept in the barrier (
sys/audit/hmac-key) instead of being random per process. Entries written while sealed omittoken_hmac. make lintinstalls and runs golangci-lint v2.12.2, the version CI uses, and CI runs on pushes to every branch mirrored from GitLab.
Fixed
- Auto-unseal retries instead of giving up. A KMS, transit vault, external seal command or database briefly unreachable at startup used to leave the server sealed until restarted; it now retries with backoff (1s to 1m) while the API is already up (
livez200,health503 until unsealed). - Sealing drops cached state: loaded quotas, the database engine's connection pool, the Kubernetes auth TokenReview client and cached JWKS keys no longer survive a seal/unseal; reconfiguring the database engine no longer leaks the previous connection pool.
Security
- Response-wrapping tokens are single-use under concurrency. Simultaneous
sys/wrapping/unwrapcalls with the same token could each return the payload; unwrap is now serialized, so exactly one does. Affected single-node deployments of every earlier version. - The security review brief covers HA's new surface (the cluster listener and its CA, the forwarded client address, fencing, and forwarding/replay).
Security assurance (read this)
uBix Vault 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.
v1.1.0 — resource quotas
uBix Vault 1.1.0 — resource quotas (rate-limit and lease-count), the first Vault-Enterprise-parity feature. Additive and backward-compatible with the 1.0 API.
Image: ghcr.io/ubixsys/ubixvault:1.1.0 (multi-arch amd64/arm64, cosign-signed + SBOM). Helm chart: deploy/charts/ubixvault (0.1.15, appVersion 1.1.0).
Added
- Resource quotas — the first Vault-Enterprise-parity feature (design:
docs/design/resource-quotas.md, ADR D-020). Vault-compatible, root/ACL-gated, barrier-persisted, loaded at unseal.- Rate-limit quotas (
sys/quotas/rate-limit/:name, LIST/GET/POST/DELETE): path-scoped per-client token buckets over a logical API path prefix; the most specific matching quota (longest prefix) is enforced in the request middleware with429+Retry-After. A default (global) quota is set viasys/quotas/config(default_rate/default_burst) and the-rate-limitflag now seeds it — the default applies to any path with no named quota, even while sealed (so init/unseal can't be brute-forced), while named quotas take effect after unseal. - Lease-count quotas (
sys/quotas/lease-count/:name): cap the number of active leases under a path prefix; a new dynamic DB credential is refused with429at the cap, before any credential is created. - Denials increment
ubixvault_quota_exceeded_total{quota}. Finer role/mount scope is a later phase.
- Rate-limit quotas (
Fixed
- Helm chart
appVersiontracks the release. The chart'sappVersionwas stuck at0.2.0-beta.11whilevalues.yamldefaultsimage.tagto.Chart.AppVersionwhen empty — so ahelm upgradewithout an explicit--set image.tagdeployed beta.11. Bumped to1.0.0(chart0.1.13→0.1.14) so the default now matches the current release.
Security assurance (read this)
uBix Vault 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.