mirror of
https://git.proxmox.com/git/proxmox-backup-qemu
synced 2025-10-04 22:11:27 +00:00
adapt to proxmox-backup fingerprint changes
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
98ecf27deb
commit
5325b94b39
@ -47,7 +47,7 @@ impl BackupTask {
|
|||||||
let crypt_config = match setup.keyfile {
|
let crypt_config = match setup.keyfile {
|
||||||
None => None,
|
None => None,
|
||||||
Some(ref path) => {
|
Some(ref path) => {
|
||||||
let (key, _) = load_and_decrypt_key(path, & || {
|
let (key, _, _) = load_and_decrypt_key(path, & || {
|
||||||
match setup.key_password {
|
match setup.key_password {
|
||||||
Some(ref key_password) => Ok(key_password.as_bytes().to_vec()),
|
Some(ref key_password) => Ok(key_password.as_bytes().to_vec()),
|
||||||
None => bail!("no key_password specified"),
|
None => bail!("no key_password specified"),
|
||||||
|
@ -41,7 +41,7 @@ impl RestoreTask {
|
|||||||
let crypt_config = match setup.keyfile {
|
let crypt_config = match setup.keyfile {
|
||||||
None => None,
|
None => None,
|
||||||
Some(ref path) => {
|
Some(ref path) => {
|
||||||
let (key, _) = load_and_decrypt_key(path, & || {
|
let (key, _, _) = load_and_decrypt_key(path, & || {
|
||||||
match setup.key_password {
|
match setup.key_password {
|
||||||
Some(ref key_password) => Ok(key_password.as_bytes().to_vec()),
|
Some(ref key_password) => Ok(key_password.as_bytes().to_vec()),
|
||||||
None => bail!("no key_password specified"),
|
None => bail!("no key_password specified"),
|
||||||
|
Loading…
Reference in New Issue
Block a user