]> git.proxmox.com Git - proxmox-backup.git/commit
datastore api: only decode unencrypted indices
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 10 Aug 2020 11:25:05 +0000 (13:25 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 11 Aug 2020 07:51:20 +0000 (09:51 +0200)
commit9238cdf50d5febb16f45207d5efd9522cf61b2ce
tree15943d541e8eb7766f04de31c33f785302e7a860
parent5d30f038267a7c98fda0875957a9126e8ad1daa2
datastore api: only decode unencrypted indices

these checks were already in place for regular downloading of backed up
files, also do them when attempting to decode a catalog, or when
downloading decoded files referenced by a pxar index.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/api2/admin/datastore.rs