Fix CLI OpenPGP passphrase provisioning and secure-storage identity #60
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Objective
Make CLI OpenPGP passphrase retrieval use the canonical application identity and provide a complete interactive fallback when no passphrase exists in secure storage.
Problem
The CLI currently only retrieves the org.ironstorage.openpgp-passphrase record for a key fingerprint (observed with fingerprint beginning 3B98 and ending 5429). It never creates that record, and a missing secret is flattened to Unavailable in crates/storage/src/secret_store.rs.
The org.ironstorage service prefix is not this application identity. The bundle identifier is de.rfc1437.ironstorage, and related secure-storage service and account identifiers must align with it.
Scope
Acceptance criteria
Implemented in
c82c792and pushed to main.Implementation:
Review confirmed passphrases remain absent from logs, debug output, arguments, and ordinary prompt output. No process launch or unsafe Rust was introduced.
Verification passed: