All reports
Unknown

Sending custom to-device messages may panics

Affected versions

Rust / Cargomatrix-sdk-crypto
Affected versions
>=0.0.0-0 <0.19.0
Fixed version
0.19.0

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.

Links