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 opening mail preview from notification on mobile after key rotation #8019

Merged

Conversation

vaf-hub
Copy link
Contributor

@vaf-hub vaf-hub commented Nov 25, 2024

#tutadb1913

We did not set the owner key version properly on an instance when decrypting it. This was fine for owner key version 0 which is the default fallback but it does not work after a key rotation. We now set this properly, so that we can preview the mail without loading it from the server again when opening the app by tapping the notification.

@vaf-hub vaf-hub force-pushed the crypto/1913-preview-from-notification-after-rotation branch from f9f710f to 68d63cb Compare November 25, 2024 15:20
@charlag charlag added this to the 252.241126.0 milestone Nov 26, 2024
#tutadb1913

We did not set the owner key version properly on an instance when decrypting it. This was fine for owner key version 0 which is the default fallback but it does not work after a key rotation. We now set this properly, so that we can preview the mail without loading it from the server again when opening the app by tapping the notification.
@charlag charlag force-pushed the crypto/1913-preview-from-notification-after-rotation branch from 68d63cb to 9043a51 Compare November 26, 2024 10:19
@charlag charlag merged commit 9043a51 into master Nov 26, 2024
3 checks passed
@charlag charlag deleted the crypto/1913-preview-from-notification-after-rotation branch November 26, 2024 10:37
@charlag charlag added android issues that concern the android client but not all clients ios issues that concern the ios client but not all clients bug broken functionality, usability problems, unexpected errors labels Nov 26, 2024
@bedhub bedhub added the state:tested We tested it and are about to release it label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android issues that concern the android client but not all clients bug broken functionality, usability problems, unexpected errors ios issues that concern the ios client but not all clients state:tested We tested it and are about to release it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants