mirror of
https://github.com/atuinsh/atuin.git
synced 2025-02-03 04:01:43 +01:00
fix: bogus error message wording (#1283)
This commit is contained in:
parent
34265613b8
commit
2e35af1c86
@ -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)?;
|
||||
|
Loading…
Reference in New Issue
Block a user