Skip to main content

parse_and_decrypt_values

Function parse_and_decrypt_values 

Source
pub fn parse_and_decrypt_values(
    vault_contents: &str,
    identity: &MurkIdentity,
) -> Result<HashMap<String, String>, String>
Expand description

Parse a vault from its JSON string and decrypt all shared values.

Combines vault::parse with decrypt_vault_values for use cases where the vault contents come from a string (e.g., git show).