]> git.proxmox.com Git - pve-storage.git/commit
pbs: detect mismatch of encryption settings and key
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 16 Aug 2022 10:33:53 +0000 (12:33 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 16 Aug 2022 11:51:38 +0000 (13:51 +0200)
commit2bc4cfb86644e5de3fd5ec0137912ea006bf53bd
tree607a3bd20c840ba9797fa4db1bcc971f64c45b9b
parent0eb1803679ef393e126b7566347891719df56412
pbs: detect mismatch of encryption settings and key

if the key file doesn't exist (anymore), but the storage.cfg references
one, die on commands that should use encryption instead of falling back
to plain-text operations.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Tested-by: Stoiko Ivanov <s.ivanov@proxmox.com>
PVE/Storage/PBSPlugin.pm