-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
"Could not list keys [...] End of file" when encrypting email #645
Comments
It does not seem that the expiration date is the issue, I tested it with other keys as well. Does someone have an idea? I cannot send encrypted emails to some people, that's really bad... |
It seems to be an error propagated from the gpgme library, looks like debug info can be increased with: https://gnupg.org/documentation/manuals/gpgme/Debugging.html |
Sorry, I fail to get the debug output. I tried Where would I have to set this to receive the full debug information? |
OK, nevermind, I tried a few times, also with bash instead of my fish shell, and magically it worked. Will send you the log privately as it contains quite some private information. |
@mxmehl Did you solve this? I see the same issue. I can encrypt on the command line with the key that Astroid reports it can't list. |
I had this problem only with one key. I solved it by editing the key manually ( No good solution, but I didn't have the time to debug it properly... |
@mxmehl can you send the debug output to me as well? Starting to simplify problem casehttps://github.com/astroidmail/astroid/blob/master/src/crypto.cc#L266 outputs "crypto: failed to encrypt message: ", this comes from the call of |
Ironically, I cannot send it to you as encrypted mail as your key also throws the same error. But I've sent you the encrypted file instead. Astroid also seems to throw the same error if the full key is expired. |
It is meanwhile a confirmed GMime issue (jstedfast/gmime#88). For additional explanation: the message |
After starting to use notmuch/astroid compiled with Gmime3, I start to get an error with encrypting an email to a recipient whom I wrote many encrypted emails before, and whose key has not been changed since then.
This happens both in current master as well as with the fixed version for Gmime #644 (see also #638).
It seems to be related to the used key since others do work. The only difference I can see is that the key has no expiry date. Here's the key of the person to test it.
Below the log of what happens when I try to encrypt the message in the "New message" window.
The text was updated successfully, but these errors were encountered: