Re: [Evolution] Sending of GPG-encrypted mail.



Hi, my name is Jeff...and I'm a dumbass.

Anyways, looking through the code real quick, I *might* have found the
problem. When appending arguments to "argv", I was appending "-r
recipient_name" as 1 argument when it should have been 2. I'm not sure
if this is causing the problem, but it certainly doesn't help matters
any ;-)

I've now fixed this in CVS but haven't tested it as it's kinda hard to
test it against yourself (which is probably why I never caught it in the
first place...I made 2 temp keys to test with but since I had the key it
signed with, I was able to read it anyway!).

I'll do some testing tomorrow by sending mail to my laptop...

Jeff

On Tue, 2001-08-28 at 22:00, Jeffrey Stedfast wrote:
This has been reported a few times and I have yet to figure out the
problem. I've emailed Werner Koch (of gpg fame) and asked if the
command-line Evolution is sending to encrypt a message is correct, and
he replied that it was indeed correct so I'm not sure what the problem
is.

You can check the command-line yourself in
camel/camel-pgp-context.c::pgp_encrypt() (by sticking a printf or
something in there), but it should be:

gpg --verbose --yes --batch --armor -r r1 -r r2 ... -r rn --output -
--encrypt

if you turn on "encrypt to self", then r1 is your key and r2 is your
first recipient, otherwise r1 is your first recipient on down the line.

Jeff

On Tue, 2001-08-28 at 22:36, Chris Ball wrote:
Hi,

Apologies if this is somehow redundant, or more related to gpg than
evolution. As I can encrypt mail directly with gpg and pipe it to mail,
I think I'm right in asking here. But we'll see. :)

I have no problem receiving encrypted e-mail with evolution, but sending
it seems to result in the mail being transparently encrypted with /my/
private key rather than the public key of the recipient. I've tried with
more than one recipient, and in both cases their key was aleady imported
into my keyring as well as available on a defined nameserver. The
recipient receives the following error from gpg:

gpg: encrypted with ELG-E key, I'D 9C76F617 # my private key.
gpg: decryption failed: secret key not available
gpg: [don't know]: invalid packet (ctb=7c)

Any ideas on how to get Evolution to handle encrypting with an external
public key?

~C.




_______________________________________________
evolution maillist  -  evolution ximian com
http://lists.ximian.com/mailman/listinfo/evolution






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]