]> git.proxmox.com Git - proxmox-backup.git/commit - src/bin/proxmox-backup-client.rs
fix: master-key: upload RSA encoded key with backup
authorDylan Whyte <d.whyte@proxmox.com>
Thu, 6 Aug 2020 07:13:40 +0000 (09:13 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 6 Aug 2020 07:34:01 +0000 (09:34 +0200)
commit5f76ac37b5e52fd67078ecbd2b1cdae95216a5e5
treefffe1afeb9743f4283e3a995177b2478134f78f6
parentd74edc3d89ed8fcb7ffd84c53e7395ffab1afef5
fix: master-key: upload RSA encoded key with backup

When uploading an RSA encoded key alongside the backup,
the backup would fail with the error message: "wrong blob
file extension".
Adding the '.blob' extension to rsa-encrypted.key before the
the call to upload_blob_from_data(), rather than after, fixes
the issue.

Signed-off-by: Dylan Whyte <d.whyte@proxmox.com>
src/bin/proxmox-backup-client.rs