Skip to main content

verify_vault_integrity

Function verify_vault_integrity 

Source
pub fn verify_vault_integrity(conn: &Connection) -> Result<bool, String>
Expand description

Verifies the stored vault data against its SHA-256 integrity hash. Returns Ok(true) if hash matches, Ok(false) if tampered or hash absent, Err on I/O.