Description
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.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | matrix-sdk-crypto | >= 0.0.0-0, < 0.19.0 | 0.19.0 | RUSTSEC-2026-0318 |