Using the IdentityBasedStrategy setting when calling Device::encrypt_event_raw or OlmMachine::encrypt_content_for_devices may cause a panic if the recipient does not have cross-signing keys.
IdentityBasedStrategy
Device::encrypt_event_raw
OlmMachine::encrypt_content_for_devices
{ "license": "CC0-1.0" }
{ "affected_functions": null, "affects": { "arch": [], "functions": [ "matrix_sdk_crypto::Device::encrypt_event_raw", "matrix_sdk_crypto::OlmMachine::encrypt_content_for_devices" ], "os": [] } }
[]
null
"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0318.json"