Skip to main content

verify_snapshot

Function verify_snapshot 

Source
pub fn verify_snapshot(
    key: &[u8],
    raw: &[u8],
) -> Result<String, SnapshotAuthError>
Expand description

Verifies a signed snapshot and returns the sha256 of its content, which the kernel re-checks on read.