Package: mailscripts
Version: 0.14-1
Severity: wishlist

Hi mailscripts people!

By analogy with --pgpkey, i want to add --cmskey to
email-print-mime-structure, to permit decryption of S/MIME-encrypted
messages (which use the Cryptographic Message Syntax aka PKCS#7).

This would allow the inspection of the MIME structure of an e-mail
message that is encrypted with S/MIME.

I have some provisional running code for this, which i'll send to this
ticket after doing more testing.

I think there are a couple different options:

 - shelling out to "gpgsm --decrypt" in combination with --use-gpg-agent
 
 - shelling out to "openssl smime -decrypt -inform DER -inkey $keyfile"
   in combination with --cmskey

 - using some Python CMS module in combination with --cmskey


i think i'll start with the first two options, since i'm not confident
enough in any Python CMS module to know what to do (maybe m2crypto?).

But if anyone has any suggestions for a well-maintained and reasonable
Python CMS module, i'd be happy for pointers (or patches).

       --dkg

Attachment: signature.asc
Description: PGP signature

Reply via email to