-
Notifications
You must be signed in to change notification settings - Fork 252
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
crypto: Error when sending keys to previously-verified users with identity-based strategy #3896
crypto: Error when sending keys to previously-verified users with identity-based strategy #3896
Conversation
Compared with 3662, this uses |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3896 +/- ##
==========================================
+ Coverage 84.07% 84.09% +0.01%
==========================================
Files 266 266
Lines 27861 27872 +11
==========================================
+ Hits 23425 23438 +13
+ Misses 4436 4434 -2 ☔ View full report in Codecov by Sentry. |
36bbe6b
to
4be7bf5
Compare
crates/matrix-sdk-crypto/src/session_manager/group_sessions/share_strategy.rs
Outdated
Show resolved
Hide resolved
crates/matrix-sdk-crypto/src/session_manager/group_sessions/share_strategy.rs
Outdated
Show resolved
Hide resolved
crates/matrix-sdk-crypto/src/session_manager/group_sessions/share_strategy.rs
Show resolved
Hide resolved
crates/matrix-sdk-crypto/src/session_manager/group_sessions/share_strategy.rs
Outdated
Show resolved
Hide resolved
crates/matrix-sdk-crypto/src/session_manager/group_sessions/share_strategy.rs
Show resolved
Hide resolved
crates/matrix-sdk-crypto/src/session_manager/group_sessions/share_strategy.rs
Outdated
Show resolved
Hide resolved
bindings/matrix-sdk-ffi/CHANGELOG.md
Outdated
- `EventSendState` now has four additional variants: `VerifiedUserHasUnsignedDevice`, | ||
`VerifiedUserChangedIdentity`, `CrossSigningNotSetup`, and | ||
`SendingFromUnverifiedDevice`. The first two reflect problems with verified users in | ||
the room and as such can only be returned when the room key recipient strategy has | ||
`error_on_verified_user_problem` set, or when using the identity-based strategy. The | ||
last two indicate that your own device is not properly cross-signed, which is a | ||
requirement when using the identity-based strategy, and can only be returned when | ||
using the identity-based strategy. |
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.
erm, we need to make new changelog entries, not just modify old changelogs that apply to old versions that are already built into applications.
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.
OK, I wasn't sure about this, because it's under the "unreleased" section, so wasn't sure if it was better to modify the existing entry, or have two separate entries that are related to the same area.
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.
unfortunately everything is "unreleased" at the moment :(
I think that I've addressed all of the comments. I can re-write history if/when needed. |
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.
lgtm otherwise
.other() | ||
.unwrap() |
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.
think this is redundant. (And likewise below)
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.
Fixed
It will be needed at least to display the warning notice that an identity has changed element-hq/element-meta#2513 |
6c3d7b4
to
2e0c829
Compare
2e0c829
to
7324c3f
Compare
@richvdh can you hit the merge button for me? |
This is the rest of #3662, on top of #3884.
3662 says:
Signed-off-by: