Skip to main content

decrypt_vault

Function decrypt_vault 

Source
pub fn decrypt_vault(
    vault: &Vault,
    identity: &MurkIdentity,
) -> Result<Murk, MurkError>
Expand description

Decrypt a vault using the given identity. Verifies integrity, decrypts all shared and scoped values, and returns the working state.

Use this when you already have a key (e.g. from a Python SDK or test harness). For the common CLI case where the key comes from the environment, use load_vault.