eMail
eMail copied to clipboard
Rework GPG use. Seems to be buggy at best...
Had some comments about signing and encrypting e-mails not working or signing with incorrect email address. An email from an anonymous user:
I'm having a problem signing emails. I'm using the latest cygwin x86_64 and I've installed gnupg v1.4.13 and email v3.1.2. When I run email -sign -V [email protected], I get the following:
Subject: test of signed email Please enter your GPG password: gpg: skipped "[email protected]": secret key not available gpg: signing failed: secret key not available Connecting to server smtp-server.twcny.rr.com on port 25 Sending "test of signed email" |**************************| 100% of 896 Bytes Sending QUIT...
My response was:
It appears it's trying to sign the e-mail based off the first e-mail address in your To list as opposed to your e-mail address from your email.conf file.
I'll be honest, the gpg code for this hasn't been touched in years, so I'm sure something is buggy with it and hasn't been caught up until now. I've been looking at the code for a few minutes and I see what's wrong, but I think it's going to take a bit longer for me to fix the issue.