<<< Date Index >>>     <<< Thread Index >>>

Re: Problem with extracing attachments from S/MIME mails



Hello,

I tracked down the problem a bit. The problem is that Mutt E-Mails are
encrypted in a different format compared with Outlook Express. The
decrypt command

  openssl smime -decrypt  -passin stdin -inform DER -in %f -inkey %k -recip %c

has following output after encrypting a mail of Mutt

    Content-Type: multipart/signed; protocol="application/x-pkcs7-signature";
            micalg=sha1; boundary="FkmkrVfFsRoUs1wW"
    Content-Disposition: inline


    --FkmkrVfFsRoUs1wW
    Content-Type: text/plain; charset=us-ascii
    Content-Disposition: inline


    test

    --FkmkrVfFsRoUs1wW
    Content-Type: application/x-pkcs7-signature
    Content-Disposition: attachment; filename="smime.p7s"
    Content-Transfer-Encoding: base64

and with Outlook Express it is


    Content-Type: application/x-pkcs7-mime; name=smime.p7m; 
smime-type=signed-data
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment; filename=smime.p7m

    MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAaCAJIAEggQURnJv


But I don't know how to solve the issue.


Regards,
Bernhard

Attachment: pgppACxF9kZ8R.pgp
Description: PGP signature