fix(cli): hide store passphrase like a password prompt
All checks were successful
ci / test (pull_request) Successful in 4m54s

stdin read_line echoed the passphrase. rpassword disables tty echo.
ONIONWIRE_STORE_PASSPHRASE still skips the prompt.
This commit is contained in:
Sirius DevOps 2026-09-10 21:10:50 -04:00
commit c5019f1737
No known key found for this signature in database
7 changed files with 113 additions and 25 deletions

View file

@ -45,6 +45,7 @@ argon2 = "0.5"
chacha20poly1305 = "0.10"
sha3 = "0.10"
md-5 = "0.10"
rpassword = "7"
[dev-dependencies]
tempfile = "3"