Encrypting mail to mail not in address book fails
See original GitHub issueMore general example below: https://github.com/k9mail/k-9/issues/2055#issuecomment-274272755
Expected behavior
Encrypt & send mail to giorgio@maone.net.
Actual behavior
“Private key could not be found” is displayed.
Steps to reproduce
- Add giorgio@maone.net (
3359 0391 70A3 CD9B 25CF 5A46 231A 83AF DA9C 2434
) to OpenKeychain. - Create a mail. As you can see, the “To” indicator sees the PGP key for the mail, but the encryption indicator at the top right indicates that the mail cannot be encrypted (security slider is set to “always encrypt” here):
I suspect this is an issue with the key (as also other PGP clients failed), but depending on what this is, you might improve the UI/UX of K9 mail as the current claim (in the error message) is proven to be wrong: There is a key for this mail.
Environment
K-9 Mail version: v5.202
Android version: CM 13/Android 6
Issue Analytics
- State:
- Created 7 years ago
- Comments:14 (4 by maintainers)
Top Results From Across the Web
Unable to send encrypted email. - TechNet - Microsoft
I have a colleague who sends me email from address of ... “The e-mail address in the certificate is not found in the...
Read more >Email encryption in Outlook - how to encrypt messages with ...
To be able to exchange encrypted messages with certain contacts, you need to share your public keys first. You start by exchanging digitally ......
Read more >Unable to send message securely when sending encrypted mail
The error message occurs due to any of the following reasons: The status of Email Encryption Client (TMEEC) email address registration was not...
Read more >Cannot send encrypted message to others using Outlook 2010
When I made the email I filled the "To:" field using the exact contact from the Contacts list. If I right click on...
Read more >Three Ways to Encrypt Email in Outlook: Comparison and ...
If the certificate is lost, then you will not be able to open your previously sent or received encrypted email. Also, if you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi. I put the two keys from above into 2 text files and ran
gpg --with-fingerprint
andgpg --list-packets
on them. I attach the outputs of both files here. a_key.txt b_key.txtYou can view them in a diff viewer too see what is different.
As far as I see it: the first key was created on 2011-02-26 and the second one on 2014-07-05. The newer one (the one he emailed to you) removes an expiry date in one of the sub keys. In the older one the subkey expired on 2016-02-25. That might be the reason why it doesn’t work anymore right now?!
On the public key server http://pgp.mit.edu/pks/lookup?op=vindex&search=0x231A83AFDA9C2434 you can also see (in the last 2 lines) the removed expiry date.
And yes, both of them show the same fingerprint, since the same private key was used to sign these subkeys.
@rugk Yup, I think you are right. This should be the same as #1655