-
Notifications
You must be signed in to change notification settings - Fork 42
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
Gracefully handle lack of submission GPG private key #140
Comments
@emkll I believe you hit this error again today in another scenario? |
What is the proposed method for dealing with this? Could we look at the output for that exact failure string and cache a list of "undecryptable" message per login/session? It's possible that an admin could re-add an old key to the keyring, so we wouldn't want to persist this flag in the db. |
Two thoughts:
1 should be done pretty soon I think because the behavior when you don't have the key is pretty bad: repeated spammy gpg access notifications as well as repeated attempts to download messages/replies encrypted to the wrong key. |
This issue decription is a bit outdated. It would be good to capture:
Regarding messages/replies, my understanding is that they stay in the "Message not downloaded yet" placeholder pattern state. |
Awesome work Nina! Yup, I agree the "immediate recommendations" make sense to resolve this issue, and then we can open up separate issues for follow-up iterations. It may make sense for the client to keep track of data it can't decrypt (messages, files - after the user attempted it -, replies) so that
|
We agreed to de-scope this from the initial implementation, can be tracked as a follow-up issue. |
Since it was not explicitly stated in Nina's list, just clarifying that suppressing these notifications is also one of the must-have goals for resolving this issue. |
@rmol and I discussed how to go about doing this today, we decided on:
|
When a file on the SecureDrop server is encrypted to a GPG key that is not in sd-gpg, the client will be stuck in a loop attempting decryption of this file. The logs contain many instances of the following error:
Once I deleted those messages from the server, I no longer experienced the qfile error described in freedomofpress/securedrop-workstation#194 (review) . Those errors might be related.
The text was updated successfully, but these errors were encountered: