On Fri, Feb 02, 2007, [EMAIL PROTECTED] wrote: > 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, >
The reason you can't read it is that your own certificate is not included in the list of recipients. This is more a mutt configuration issue than OpenSSL. Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage OpenSSL project core developer and freelance consultant. Funding needed! Details on homepage. Homepage: http://www.drh-consultancy.demon.co.uk ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]