Actions
Bug #19292
openfeature of keep-block-check to do deep verification that all blocks in a collection are intact
Story points:
-
Release:
Release relationship:
Auto
Description
In the case of potential hardware corruption, we would like to be able to thoroughly check that a collection is intact.
the keep-block-check tool currently takes a list of blocks and uses HEAD requests to see if the blocks exist.
extend this with a mode to do deep validation of a collection:
- get the manifest text and check for valid syntax/grammar
- compute the portable data hash and compare against the collection record
- go through each block and fetch from keep, compute the hash of the block against the expected hash. report any blocks that are missing or return an error.
Actions