From e57d70b08956ae990410ad3c1c30ce9ef0420b93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Mon, 2 Aug 2021 07:44:57 +0200 Subject: [PATCH] crypto: Use the correct pickle key when unpickling cross signing keys --- matrix_sdk_crypto/src/store/sled.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_sdk_crypto/src/store/sled.rs b/matrix_sdk_crypto/src/store/sled.rs index b8e82b4a..c1c7dd0f 100644 --- a/matrix_sdk_crypto/src/store/sled.rs +++ b/matrix_sdk_crypto/src/store/sled.rs @@ -332,7 +332,7 @@ impl SledStore { }; let private_identity_pickle = if let Some(i) = changes.private_identity { - Some(i.pickle(DEFAULT_PICKLE.as_bytes()).await?) + Some(i.pickle(self.get_pickle_key()).await?) } else { None };