From a66fdb0edd49587c79f55eb56ac4d4e18aa98261 Mon Sep 17 00:00:00 2001 From: shimun Date: Tue, 13 Oct 2020 14:10:22 +0200 Subject: [PATCH] fix test --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/cli_args/config.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b91b404..6a93512 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -377,7 +377,7 @@ dependencies = [ [[package]] name = "fido2luks" -version = "0.2.14" +version = "0.2.15" dependencies = [ "ctap_hmac", "failure", diff --git a/Cargo.toml b/Cargo.toml index ad486f0..c858081 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fido2luks" -version = "0.2.14" +version = "0.2.15" authors = ["shimunn "] edition = "2018" diff --git a/src/cli_args/config.rs b/src/cli_args/config.rs index d2ef46c..cde093f 100644 --- a/src/cli_args/config.rs +++ b/src/cli_args/config.rs @@ -198,7 +198,7 @@ mod test { fn input_salt_obtain() { assert_eq!( SecretInput::String("abc".into()) - .obtain(&PasswordHelper::Stdin) + .obtain_sha256(&PasswordHelper::Stdin) .unwrap(), [ 186, 120, 22, 191, 143, 1, 207, 234, 65, 65, 64, 222, 93, 174, 34, 35, 176, 3, 97,