matrix-rust-sdk/matrix_sdk_crypto/src
Damir Jelić ec55258be9 crypto: Handle decrypted to-device events as well
Usually only room keys and forwarded room keys are sent as encrypted
to-device events, those are specially handled to avoid accepting room
keys coming in unencrypted.

Some clients might send out other events encrypted which might lower
metadata leakage and the spec doesn't disallow it.

This patch handles decrypted events the same way as non-encrypted ones,
we're still special casing the decryption handling to avoid decryption
loops/bombs (i.e. events that are encrypted multiple times).
2021-05-13 11:08:13 +02:00
..
file_encryption crypto: Add a progress listener for key imports 2021-04-13 12:47:22 +02:00
identities Merge branch 'key-share-improvements' 2021-04-21 13:47:02 +02:00
olm bump ruma to 24154195a00390a33542603b968e94022487587c 2021-05-07 13:22:32 +02:00
session_manager Merge branch 'key-share-improvements' 2021-04-21 13:47:02 +02:00
store crypto: Don't borrow inside a format unnecessarily 2021-04-20 12:27:56 +02:00
verification crypto: Add a method to check it the SAS flow supports emoji 2021-05-12 20:09:02 +02:00
error.rs Bump ruma to 2f1b9f097930bf7908ca539f2ab7bb0ccf5d8b25 2021-04-05 19:49:55 +02:00
key_request.rs crypto: Move the outbound session filter logic into the group session cache 2021-04-20 13:35:47 +02:00
lib.rs crypto: Export the KeysExport error 2021-03-30 13:52:57 +02:00
machine.rs crypto: Handle decrypted to-device events as well 2021-05-13 11:08:13 +02:00
requests.rs crypto: Simplify counting the number of messages a to-device request has 2021-03-13 11:50:05 +01:00
utilities.rs crypto: Move the base64 helpers into a common module. 2020-12-08 16:21:29 +01:00