Skip to main content

verify

Function verify 

Source
pub fn verify(bundle_path: &Path) -> Result<VerificationReport>
Expand description

Verify a forensic bundle on disk.

Re-reads the tarball, recomputes every file’s SHA-256, cross- checks the manifest’s signature (when present), and re-verifies every edge envelope’s Ed25519 signature.

§Errors

Propagates I/O errors reading the tarball or parse errors for the embedded manifest. A successful return with ok = false means the bundle was structurally valid but failed integrity checks; an Err means we couldn’t even unpack the archive.