woodruffw / kbs2

A secret manager backed by age
https://crates.io/crates/kbs2
MIT License
108 stars 3 forks source link

Add a "retry" mode for Pinentry prompts #177

Open woodruffw opened 3 years ago

woodruffw commented 3 years ago

An incorrect password currently causes the entire kbs2 command to fail, rather than giving the user an opportunity to retry. This should be configurable.

Something like:

pinentry-retry = true

...maybe. Or maybe it should be supported unconditionally, including for the rpassword fallback.

woodruffw commented 2 years ago

Thinking about this more, this should definitely be supported unconditionally. If a user wants to exit the prompt entirely, they should ^C.