High level library for S/MIME basic functions, build on top of M2Crypto
pysmime is a python high level library build on top of M2Crypto to work with Secure/Multipurpose Internet Mail Extensions (S/MIME, RFC 3851) as M2Crypto case study for italian digital signature.
M2Crypto is a python library wrapper built on top of OpenSSL by SWIG.
pysmime includes basic functions to sign, verify, encrypt and decrypt files or mail messagges in PEM ASCII or DER format with very basic support to PKCS11 smart cards by OpenSC OpenSSL pkcs11 engine (pkcs11 module).
Documentation generated by Epydoc can be found in
docs folder, online version
Some basic test cases are present in