Skip to main content

load_vault

Function load_vault 

Source
pub fn load_vault(
    vault_path: &str,
) -> Result<(Vault, Murk, MurkIdentity), String>
Expand description

Load the vault: read JSON, decrypt all values, return working state. Returns the raw vault (for preserving unchanged ciphertext on save), the decrypted murk, and the identity.