diff options
Diffstat (limited to 'atuin-client')
| -rw-r--r-- | atuin-client/src/encryption.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/atuin-client/src/encryption.rs b/atuin-client/src/encryption.rs index 46cf1b2e..bb017b74 100644 --- a/atuin-client/src/encryption.rs +++ b/atuin-client/src/encryption.rs @@ -66,6 +66,7 @@ pub fn load_encoded_key(settings: &Settings) -> Result<String> { } } +pub type Key = secretbox::Key; pub fn encode_key(key: secretbox::Key) -> Result<String> { let buf = rmp_serde::to_vec(&key).wrap_err("could not encode key to message pack")?; let buf = base64::encode(buf); |
