-
Notifications
You must be signed in to change notification settings - Fork 96
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
Local storege fails if account contains non-decryptable email. #129
Comments
Thanks for the thoughtful report. There will be a need to unambiguously distinguish the decryption error due to the absence of PGP key from other types of errors so the app skips only one specific error. So there is a need to, first of all, debugging the case in order to determine if it's feasible to catch the exact error since the same error type might potentially be thrown by protonmail/pgp for different cases. |
I was thinking about how to solve the body decryption issues once and forever and not hurting the UX in along with that and I think I came up with a unified solution that will even enhance the UX:
So having the described idea implemented the app won't face a blockers happening due to the decryption problems during the emails bootstrap fetch process. This is going to be a unified solution for the problem so there will be no need to unambiguously distinguish the decryption error type as I wrote in the previous message. @nloomans of course this will solve the original issue. @ihubgit this is going to solve the issue raised by you here without a need to wait for the upstream issue resolving. So you will be able to safely enable the local database option. PS all of that is protonmail related only. |
@vladimiry I have tested the build and it works perfectly! Both with an partial update and after removing Thanks! |
Thanks for testing. A new release is going to be published soon. |
The described above improvement has been released with 3.2.0 version. |
Steps to reproduce
This is how such an email is shown when viewing it within the web client:
Expected behavior
Instead of failing to enable local storage entirely, it would be nice if ElectronMail just ignored such emails.
Workaround
(The enabling and disable part might not be necessary)
The text was updated successfully, but these errors were encountered: