Hi,

I'm not sure if my problem is mutt related or openssl related. Maybe
both of them.

Using mutt, I can sign my emails, I can encrypt them, I can decrypt
email sent by others to me.                                                     
                                                              
When I encrypt email (with someone's public key), they can of course
decrypt it and read without any problems.
Problem is, when I want to read this mail. I can't decrypt message
written by myself and encrypted by myself.

I got following error:

Error decrypting PKCS#7 structure
29438:error:21070073:PKCS7 routines:PKCS7_dataDecode:no recipient matches 
certificate:pk7_doit.c:416:
29438:error:21072077:PKCS7 routines:PKCS7_decrypt:decrypt error:pk7_smime.c:444:

Mutt is configured to encrypt messages with command:
openssl smime -encrypt -%a -outform DER -in %f %c

and decrypting is done with:
openssl smime -decrypt  -passin stdin -inform DER -in %f -inkey %k -recip %c

So, if there is possibility to read my own emails? Sometimes I need this ;)
TIA,

MS
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to