Skip to content

[patch] Decode Vault raw root token encoding - #32

Merged
libops-agent merged 1 commit into
mainfrom
fix/vault-root-token-raw-base64
Aug 29, 2026
Merged

[patch] Decode Vault raw root token encoding#32
libops-agent merged 1 commit into
mainfrom
fix/vault-root-token-raw-base64

Conversation

@libops-agent

@libops-agent libops-agent commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • decode generated recovery root tokens with the unpadded standard Base64 encoding emitted by Vault
  • exercise the decoder and interrupted-bootstrap recovery path with Vault-compatible wire values

Evidence

  • go test ./... -count=1
  • go vet ./...
  • HashiCorp Vault sdk/helper/roottoken.EncodeToken uses base64.RawStdEncoding

Safety

The temporary root token remains memory-only and is revoked by the existing recovery flow. No recovery material is logged or persisted outside the existing KMS-encrypted bundle.

@libops-agent
libops-agent merged commit 93a06d7 into main Aug 29, 2026
5 checks passed
@libops-agent
libops-agent deleted the fix/vault-root-token-raw-base64 branch August 29, 2026 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant