updated dependencies

This commit is contained in:
veeso
2022-06-09 15:11:55 +02:00
parent 80dea3f71a
commit bb95c9a4d0
6 changed files with 348 additions and 369 deletions

View File

@@ -4,7 +4,7 @@
/// Read a secret from tty with customisable prompt
pub fn read_secret_from_tty(prompt: &str) -> std::io::Result<Option<String>> {
match rpassword::read_password_from_tty(Some(prompt)) {
match rpassword::prompt_password(prompt) {
Ok(p) if p.is_empty() => Ok(None),
Ok(p) => Ok(Some(p)),
Err(err) => Err(err),