fedimint_server::config::io

Function encrypted_json_read

Source
fn encrypted_json_read<T: Serialize + DeserializeOwned>(
    key: &LessSafeKey,
    path: &Path,
) -> Result<T>
Expand description

Reads an encrypted json file into a struct