Skip to content

Option to exclude insecure devices for Olm traffic, to be consistent with megolm sharing? #4147

@BillCarsonFr

Description

@BillCarsonFr

Following the work on invisible crypto it is now possible to exclude devices not signed by their owner from participating in encrypted room:

We also have an API to encrypt a message directly to a device (using olm):

/// Encrypt the given content for this `Device`.
///
/// # Arguments
///
/// * `content` - The content of the event that should be encrypted.
pub(crate) async fn encrypt(

This can lead to a strange situation when the exclude insecure devices option is enabled and:

  • Sharing a room key won't work for a given device
  • Encrypting directly to this device would work

Maybe we would want to use some EncryptionSetting/DecryptionSetting for olm traffic?
Notice that we also don't look at the device trust status BlackListed/Ignored when encrypting in olm

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions