python and openSSL

exarkun at exarkun at
Thu Sep 10 03:56:15 CEST 2009

On 9 Sep, 01:30 pm, lucabel at wrote:
>Hi all.
>I need a trick to do something like this:
>openssl smime -decrypt -verify -inform DER -in ReadmeDiKe.pdf.p7m
>-noverify -out ReadmeDike.pdf
>To unwrap a p7m file and read his content.
>I know that I could use somthing like:
>>>>import os
>>>>os.system('openssl ....')
>but i would use a python library to wrap openssl.
>I've already install pyOpenSSL, but I can not understand how to run the 

pyOpenSSL wraps the parts of OpenSSL which deal with S/MIME.  I think 
that M2Crypto does, though I haven't used those parts of it myself.


More information about the Python-list mailing list