fix(#528): start custody maintenance on the in-process path too #536
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-528c"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
v0.6.189 wired
StartMaintenanceintobuildKeys— which only the standalone crypto role (#33) calls. In-process instances (both dogfoods) construct theirOpenBaoKeysinsidebuildEncryption's own near-duplicate custody switch, so the live v0.6.189 boot log showed nocustody self-checkline: the feature shipped wired to the wrong door. Caught by verifying the deployed boot log rather than trusting the green suite — a wiring gap inmainis exactly what unit tests can't see.buildEncryption's openbao case now constructs the provider, starts maintenance, and hands it toencrypt.New. ThebuildKeys/buildEncryptionduplication (recovery parsing and the custody switch exist twice) is noted on #528 as a refactor candidate — it's what made this miss possible.Verification after deploy: boot log must show
custody self-check ok token_ttl=… renewable=true, and/metricsmust carry the threecairn_custody_*series.