python and openSSL

Luca Bel lucabel at
Wed Sep 9 15:30:57 CEST 2009

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 same

Can someone help me?

Thx to all.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list