Skip to main content

High level library for S/MIME basic functions

Project description

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 and examples

Documentation generated by Epydoc can be found in docs folder. Some basic test cases are present in pysmime/test/


  • PKCS11 support is minimal.
  • The code has very little comments, the documentation is quite good.
  • The tests suite is very basic and not include PKCS11 tests.
  • Verify function doesn’t return the original data.

Project details

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pysmime-0.1.0.tar.gz (63.0 kB) Copy SHA256 hash SHA256 Source None Oct 31, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page