matrix-rust-sdk/matrix_sdk_crypto
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
..
benches Merge branch 'key-share-improvements' 2021-04-21 13:47:02 +02:00
src crypto: Handle decrypted to-device events as well 2021-05-13 11:08:13 +02:00
Cargo.toml common: Add a executor abstraction so we can spawn tasks under WASM 2021-03-23 10:18:55 +01:00
README.md matrix-sdk: Add a bunch of readmes to the crates. 2020-05-26 19:33:13 +02:00

README.md

Build Status codecov License #matrix-rust-sdk

matrix-sdk-crypto

matrix-rust-sdk is an implementation of a Matrix client-server library in Rust.

NOTE: This is a E2EE implementation for Matrix, you are probably interested in the main rust-sdk crate.