diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-11-20 10:10:07 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-11-20 10:10:07 +0200 |
commit | 7ff672f26e91404b71edfc25d6b27a6cda11609b (patch) | |
tree | 8553fcc1f6c108a24826bfa996ae52a1da7421ff /src/passwords.rs | |
parent | e9e3f3412e4cc4db25bb9e6d8753f1dcb84520b6 (diff) | |
download | obnam2-7ff672f26e91404b71edfc25d6b27a6cda11609b.tar.gz |
chore: update dependency on pbkdf2 to 0.9 and fix breakage
Sponsored-by: author
Diffstat (limited to 'src/passwords.rs')
-rw-r--r-- | src/passwords.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passwords.rs b/src/passwords.rs index a1cf42e..bc1a1d7 100644 --- a/src/passwords.rs +++ b/src/passwords.rs @@ -70,7 +70,7 @@ fn derive_password(passphrase: &str) -> String { let salt = SaltString::generate(&mut OsRng); Pbkdf2 - .hash_password_simple(passphrase.as_bytes(), salt.as_ref()) + .hash_password(passphrase.as_bytes(), salt.as_ref()) .unwrap() .to_string() } |