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 incorrect backup key format in SSSS #1311

Merged
merged 8 commits into from
Apr 13, 2020
Merged

Conversation

uhoreg
Copy link
Member

@uhoreg uhoreg commented Apr 9, 2020

fixes element-hq/element-web#12970

I'm planning on tidying up the unit tests a bit, but otherwise this should be ready for review.

@uhoreg uhoreg requested a review from a team April 9, 2020 04:27
@jryans jryans requested review from jryans and removed request for a team April 9, 2020 10:58
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

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

Wow, thanks for working on this! Overall, it looks great, and the new tests are very helpful to reduce risk in this complex area. 😁

src/client.js Outdated Show resolved Hide resolved
src/crypto/index.js Show resolved Hide resolved
src/crypto/index.js Outdated Show resolved Hide resolved
src/crypto/index.js Outdated Show resolved Hide resolved
src/crypto/index.js Outdated Show resolved Hide resolved
src/crypto/index.js Outdated Show resolved Hide resolved
@uhoreg uhoreg requested a review from jryans April 9, 2020 15:56
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

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

Great, this looks good to me! 😁

@uhoreg
Copy link
Member Author

uhoreg commented Apr 9, 2020

Manually testing with an actual Riot, I found one bug in the bootstrap process that prevented bootstrapping when starting with only key backup, which is now fixed in this PR. I also have one scenario in which key backups don't seem to be working at all; I'm investigating whether it's due to this PR or something else.

@uhoreg
Copy link
Member Author

uhoreg commented Apr 13, 2020

I also have one scenario in which key backups don't seem to be working at all; I'm investigating whether it's due to this PR or something else.

FTR, it appears to be element-hq/element-web#13151

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.

backup key stored in the wrong format
2 participants