Let the OpenBao bootstrap initialise an uninitialised store directly - #28
Merged
Merged
Conversation
On CT 3007 the community-scripts install died before its init step, because the OpenBao 2.7.0 package still ships `storage "file"`, which 2.7.0 removed. The store was therefore never initialised, which is the better starting point: the bootstrap now inits 2-of-3 directly, so no single key and no on-disk root token ever exist. The rekey path stays for when the upstream installer fix (community-scripts/ProxmoxVE#17548) lands and a rebuild gets the 1-of-1 state. Superproject #609. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V2afcTcowT1YVBwLzrJFtH
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The CT 3007 install died before its init: the OpenBao 2.7.0 .deb still ships
storage "file", which 2.7.0 removed. The superproject provisioner now renders raft storage (companion PR), so the store comes up uninitialised.tools/openbao-bootstrap.shnow accepts two starting states. init (uninitialised) runssys/init2-of-3 directly, unseals with 2 shares and configures, so no single key and no on-disk root token ever exist. rekey is the original path for the installer's 1-of-1 plaintext state, for when community-scripts/ProxmoxVE#17548 lands. Everything after that is shared: Bitwarden + read-back, revoke root, strip plaintext, re-issue TLS, prove sealed after restart, unseal.Superproject Chrison-Homelab/Homelab#609.
🤖 Generated with Claude Code
https://claude.ai/code/session_01V2afcTcowT1YVBwLzrJFtH