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

Fix a bug where UIA for cross signing wasn't needed until after checking for it. #7874

Merged
merged 3 commits into from
Nov 27, 2024

Conversation

pixlwave
Copy link
Member

@pixlwave pixlwave commented Nov 26, 2024

The check didn't include the parameters that are used for the reset, and as mentioned in the spec, from v1.11 the use of UIA depends on the change being made.

The fix is to simply attempt to reset, and then handle the UIA failure manually after this if it occurs (retrying when the user has completed the authentication).

Unrelated: I updated the SDK so that we pull in matrix-org/matrix-ios-sdk#1885 ready for the next release.

Fixes #7838

…ing for it.

This was due to the parameters not being present in the check, so we no longer check and instead do UIA on failure.
(No other changes are made to the methods).
@pixlwave pixlwave requested review from a team and stefanceriu and removed request for a team November 26, 2024 16:45
Copy link
Member

@stefanceriu stefanceriu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍

@pixlwave pixlwave merged commit 3b57e4e into develop Nov 27, 2024
10 checks passed
@pixlwave pixlwave deleted the doug/device-signing-keys-upload-uia branch November 27, 2024 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unauthorized 401 Error Prevents Complete Security Reset (Security Settings -> Complete Security)
2 participants