adapt to proxmox-backup fingerprint changes

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2020-11-20 17:38:44 +01:00 committed by Dietmar Maurer
parent 98ecf27deb
commit 5325b94b39
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ impl BackupTask {
let crypt_config = match setup.keyfile {
None => None,
Some(ref path) => {
let (key, _) = load_and_decrypt_key(path, & || {
let (key, _, _) = load_and_decrypt_key(path, & || {
match setup.key_password {
Some(ref key_password) => Ok(key_password.as_bytes().to_vec()),
None => bail!("no key_password specified"),

View File

@ -41,7 +41,7 @@ impl RestoreTask {
let crypt_config = match setup.keyfile {
None => None,
Some(ref path) => {
let (key, _) = load_and_decrypt_key(path, & || {
let (key, _, _) = load_and_decrypt_key(path, & || {
match setup.key_password {
Some(ref key_password) => Ok(key_password.as_bytes().to_vec()),
None => bail!("no key_password specified"),