proxmox-backup/tests
Fabian Grünbichler 8819d1f2f5 blobs: attempt to verify on decode when possible
regular chunks are only decoded when their contents are accessed, in
which case we need to have the key anyway and want to verify the digest.

for blobs we need to verify beforehand, since their checksums are always
calculated based on their raw content, and stored in the manifest.

manifests are also stored as blobs, but don't have a digest in the
traditional sense (they might have a signature covering parts of their
contents, but that is verified already when loading the manifest).

this commit does not cover pull/sync code which copies blobs and chunks
as-is without decoding them.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-08-04 07:27:56 +02:00
..
catar_data tests/pxar.rs: Integrity test for pxar 2019-05-21 06:26:34 +02:00
blob_writer.rs blobs: attempt to verify on decode when possible 2020-08-04 07:27:56 +02:00
catar.rs turn pxar::flags into bitflags, pxar::Flags 2020-06-10 11:05:53 +02:00
proto-client.c protocol: add C header work in progress and test client 2019-03-15 12:40:47 +01:00
prune.rs tests/prune.rs: fix compile error 2020-06-23 11:32:53 +02:00
pxar.rs tests/pxar: increase verbosity 2019-12-20 12:55:32 +01:00
verify-api.rs use reasonable acl paths 2020-04-30 09:30:00 +02:00
worker-task-abort.rs switch from failure to anyhow 2020-04-17 18:43:30 +02:00