[pbs-devel] [PATCH proxmox-backup-qemu 1/2] adapt to proxmox-backup fingerprint changes
Fabian Grünbichler
f.gruenbichler at proxmox.com
Fri Nov 20 17:38:44 CET 2020
Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
requires proxmox-backup with other patches from this series applied
src/backup.rs | 2 +-
src/restore.rs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/backup.rs b/src/backup.rs
index 184ac64..c3a7c11 100644
--- a/src/backup.rs
+++ b/src/backup.rs
@@ -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"),
diff --git a/src/restore.rs b/src/restore.rs
index ad825bd..6cba71f 100644
--- a/src/restore.rs
+++ b/src/restore.rs
@@ -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"),
--
2.20.1
More information about the pbs-devel
mailing list