diff --git a/crates/matrix-sdk-crypto/src/backups/keys/decryption.rs b/crates/matrix-sdk-crypto/src/backups/keys/decryption.rs index 5217cc066..739cb92d9 100644 --- a/crates/matrix-sdk-crypto/src/backups/keys/decryption.rs +++ b/crates/matrix-sdk-crypto/src/backups/keys/decryption.rs @@ -59,16 +59,6 @@ pub enum DecodeError { PublicKey(#[from] vodozemac::KeyError), } -#[derive(Debug, Error)] -pub enum UnpicklingError { - #[error(transparent)] - Json(#[from] serde_json::Error), - // #[error("Couldn't decrypt the pickle: {0}")] - // Decryption(String), - #[error(transparent)] - Decode(#[from] DecodeError), -} - impl TryFrom for BackupDecryptionKey { type Error = DecodeError;