Skip to main content

# pysmime3

pysmime3 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.

pysmime3 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, online version [here](https://pythonhosted.org/pysmime/). Some basic test cases are present in tests/test_pysmime.py.

## Status * 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.

## References * [Secure/Multipurpose Internet Mail Extensions](https://www.ietf.org/rfc/rfc3851.txt) * [OpenSSL S/MIME](https://www.openssl.org/docs/apps/smime.html) * [M2Crypto](http://chandlerproject.org/bin/view/Projects/MeTooCrypto) * [Programming S/MIME in Python with M2Crypto](http://svn.osafoundation.org/m2crypto/trunk/doc/howto.smime.html) * [M2Crypto API](http://www.heikkitoivonen.net/m2crypto/api/) * [OpenSC PKCS11 engine](https://www.opensc-project.org/opensc/wiki/engine_pkcs11)

## License [GNU GENERAL PUBLIC LICENSE, Version 3](https://www.gnu.org/licenses/gpl.html).

Release files for pysmime3 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pysmime3 0.2.1
File Interpreter ABI Platform
pysmime3-0.2.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / pysmime3-0.2.1-py2.py3-none-any.whl

Download URL pysmime3-0.2.1-py2.py3-none-any.whl
Size 10.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c3fd56956f5bb34fa6b3961cefe27d251830ac1028c569ed3d00119881622596
BLAKE2b-256 checksum
How to use checksums
7e4179f72f8699346287b1732b81c362c2c4f729dd4baf9f186bec90e9591cca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 release file

0.2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page