-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
add some e2ee clarifications #1294
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's there looks mostly good, but I have a few suggestions.
Also, in relation to #1275, I don't think this PR addresses these points:
- The implementation should first check whether a given key ID is a MSK (referring to a cross-signing user identity), and only then check whether it matches a device.
- Specify what it means for a device to be trusted
Did I just miss it?
Looks sensible & like useful clarifications to me. 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Not approving yet since Denis has outstanding comments)
Co-authored-by: Denis Kasak <dkasak@termina.org.uk>
Since we mean "verified" when we say "trusted", maybe we should just say "verified" instead? Especially since we use "trusted" in other contexts to mean something else. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a final comment that needs addressing before merging, but otherwise this looks good to me.
The final comment concerns the goal of ending up not being vulnerable to key confusion bugs, which means we either have to flat out refuse to proceed in case of key ID collisions or we have to guarantee a consistent key checking order. I think I prefer flat out refusing, because it's simpler, unless you see a problem with it.
Once either suggestion is merged, I'm considering this good for merging.
Co-authored-by: Denis Kasak <dkasak@termina.org.uk>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay, looks good!
fixes #1275
fixes #1313
Preview: https://pr1294--matrix-spec-previews.netlify.app