Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Conversation

@d4rken
Copy link
Member

@d4rken d4rken commented Oct 28, 2020

The mitigation for the encryption issue is already in place but we are still trying to help those users that are just updating the app in the background automatically hoping for a solution to their error when opening the app.

Either the mitigation works or it doesn't so resetting the data should only happens once.
If the mitigation does not work and the issue reappears we don't want to keep resetting the data.

@vaubaehn noticed that users who upgraded to 1.5.0 before 1.5.1 was available, and who were affected by the encryption issue, the data reset attempt was already consumed without helping those users, due to a bug in the previous implementation, and it should be retried.

This PR adds a new stored boolean value, ignoring the previous one, such that for everyone affected by the issue, the recovery through data reset will be attempted once again if the error case matches.

Testing

Sadly this can't be easily tested again and manually editing the code to throw exceptions, and reviewing code + unit-tests is required.

@d4rken d4rken added bug Something isn't working maintainers Tag pull requests created by maintainers labels Oct 28, 2020
@d4rken d4rken requested a review from a team October 28, 2020 11:47
@d4rken d4rken added this to the 1.6.0 milestone Oct 28, 2020
@d4rken d4rken added the prio PRs to review first. label Oct 28, 2020
Copy link
Contributor

@chris-cwa chris-cwa left a comment

Choose a reason for hiding this comment

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

ok

@d4rken d4rken merged commit b29bf38 into release/1.6.x Oct 28, 2020
@d4rken d4rken deleted the fix/encryption-reset-per-version branch October 28, 2020 14:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working maintainers Tag pull requests created by maintainers prio PRs to review first.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants