feat(kryphos): add vault CLI — init, add, list, get, rotate, revoke, identity#38
Merged
forkwright merged 1 commit intomainfrom Mar 17, 2026
Merged
feat(kryphos): add vault CLI — init, add, list, get, rotate, revoke, identity#38forkwright merged 1 commit intomainfrom
forkwright merged 1 commit intomainfrom
Conversation
…identity Wire kryphos vault operations into the akroasis CLI as a `vault` subcommand group. All credential CRUD and lifecycle operations are accessible from the command line with secure passphrase input via rpassword (no terminal echo). Subcommands: - vault init — create vault with double-confirmed passphrase - vault add <name> --type <type> — store encrypted credential - vault list — show entries with status, type, dates (no secrets) - vault get <name> — decrypt and display secret - vault rotate <name> — update credential secret - vault revoke <name> — mark as revoked with confirmation - vault identity — show installation public key fingerprint Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
|
Consider splitting into smaller PRs for easier review. Not a blocker, just a signal. |
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.
Summary
vaultsubcommand group to the akroasis CLI with full credential CRUD and lifecycle operationsrpassword(no terminal echo), double-confirmation on initSubcommands
vault initvault add <name> --type <type>vault listvault get <name>vault rotate <name>vault revoke <name>vault identityTest plan
cargo fmt --all -- --checkpassescargo clippy --workspace --all-targets -- -D warningspassescargo test --workspacepasses (357 tests, 0 failures)Observations
run_identitygenerates a fresh ephemeral identity each call rather than reading the vault's sealed identity. The vault currently has no public API to retrieve its sealedInstallationIdentityafter creation. A future PR should addVault::identity()to unseal and return the stored keypair.dispatch_withpattern (like radio module) that accepts a passphrase provider trait.🤖 Generated with Claude Code