diff options
| author | Caleb Maclennan <caleb@alerque.com> | 2024-05-16 03:51:25 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-16 07:51:25 +0700 |
| commit | 2e35af1c86dc3ddb02dbababf909c7f5248368c3 (patch) | |
| tree | 4ba4372e33baf168cbf857f6d0b95b000927af8e /crates/atuin-client | |
| parent | feat(ui): add history explore (#2022) (diff) | |
| download | atuin-2e35af1c86dc3ddb02dbababf909c7f5248368c3.zip | |
fix: bogus error message wording (#1283)
Diffstat (limited to 'crates/atuin-client')
| -rw-r--r-- | crates/atuin-client/src/encryption.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/atuin-client/src/encryption.rs b/crates/atuin-client/src/encryption.rs index 50aacc24..02e5e3fb 100644 --- a/crates/atuin-client/src/encryption.rs +++ b/crates/atuin-client/src/encryption.rs @@ -140,7 +140,7 @@ pub fn decrypt(mut encrypted_history: EncryptedHistory, key: &Key) -> Result<His &[], &mut encrypted_history.ciphertext, ) - .map_err(|_| eyre!("could not encrypt"))?; + .map_err(|_| eyre!("could not decrypt history"))?; let plaintext = encrypted_history.ciphertext; let history = decode(&plaintext)?; |
