Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow .well-known configuration to override key sharing mode #6147

Closed
jmartinesp opened this issue May 25, 2022 · 2 comments · Fixed by #6151
Closed

Allow .well-known configuration to override key sharing mode #6147

jmartinesp opened this issue May 25, 2022 · 2 comments · Fixed by #6151
Assignees
Labels
A-E2EE A-Well-Known T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements

Comments

@jmartinesp
Copy link
Member

Your use case

What would you like to do?

The home servers can add the configuration variable outbound_keys_pre_sharing_mode into io.element.e2ee in their /.well-known/matrix/client url so they can override how keys are shared in a room. As an example:

"io.element.e2ee": {
  "outbound_keys_pre_sharing_mode": "on_typing" // (on_room_opening, on_typing, disabled)
}

If this variable is not added, the default value in BuildConfig.outboundSessionKeySharingStrategy will be used.

Have you considered any alternatives?

No response

Additional context

No response

@jmartinesp jmartinesp added the T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements label May 25, 2022
@jmartinesp jmartinesp self-assigned this May 25, 2022
@bmarty
Copy link
Member

bmarty commented May 25, 2022

disabled means that default will be used?

In OutboundSessionKeySharingStrategy, we also have the value WhenSendingEvent, which is the less effort, but still mandatory to be able to send a e2e Event.

@bmarty
Copy link
Member

bmarty commented May 25, 2022

Ah there is a pre in outbound_keys_pre_sharing_mode, so that now clear for me. Please ignore me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-E2EE A-Well-Known T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants