Skip to main content

read_vault

Function read_vault 

Source
pub fn read_vault(path: &Path) -> Result<RawVault>
Expand description

Read a vault file from disk and return its parts with raw bytes.

The caller should verify the HMAC over header_bytes and secrets_bytes (the original bytes from disk) before trusting the deserialized data.