python and openSSL

Luca Bel lucabel at gmail.com
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
command.

Can someone help me?

Thx to all.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090909/aff36950/attachment.html>


More information about the Python-list mailing list