We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98a6e36 commit 9718b79Copy full SHA for 9718b79
crates/matrix-sdk-sqlite/src/utils.rs
@@ -464,7 +464,7 @@ pub(crate) trait SqliteKeyValueStoreAsyncConnExt: SqliteAsyncConnExt {
464
465
let cipher = if let Some(encrypted) = encrypted_cipher {
466
match secret {
467
- Secret::PassPhrase(ref passphrase) => StoreCipher::import(&passphrase, &encrypted)?,
+ Secret::PassPhrase(ref passphrase) => StoreCipher::import(passphrase, &encrypted)?,
468
Secret::Key(key) => StoreCipher::import_with_key(&key, &encrypted)?,
469
}
470
} else {
0 commit comments