Python wrapper module around the OpenSSL library
Project description
High-level wrapper around a subset of the OpenSSL library. Includes
SSL.Connection objects, wrapping the methods of Python’s portable sockets
Callbacks written in Python
Extensive error-handling mechanism, mirroring OpenSSL’s error codes
… and much more.
You can find more information in the documentation. Development takes place on GitHub.
Discussion
If you run into bugs, you can file them in our issue tracker.
We maintain a cryptography-dev mailing list for both user and development discussions.
You can also join #cryptography-dev on Freenode to ask questions or get involved.
Release Information
17.1.0 (2017-06-30)
Backward-incompatible changes:
Removed the deprecated OpenSSL.rand.egd() function. Applications should prefer os.urandom() for random number generation. #630
Removed the deprecated default digest argument to OpenSSL.crypto.CRL.export(). Callers must now always pass an explicit digest. #652
Fixed a bug with ASN1_TIME casting in X509.set_notBefore(), X509.set_notAfter(), Revoked.set_rev_date(), Revoked.set_nextUpdate(), and Revoked.set_lastUpdate(). You must now pass times in the form YYYYMMDDhhmmssZ. YYYYMMDDhhmmss+hhmm and YYYYMMDDhhmmss-hhmm will no longer work. #612
Deprecations:
Deprecated the legacy “Type” aliases: ContextType, ConnectionType, PKeyType, X509NameType, X509ExtensionType, X509ReqType, X509Type, X509StoreType, CRLType, PKCS7Type, PKCS12Type, NetscapeSPKIType. The names without the “Type”-suffix should be used instead.
Changes:
Added OpenSSL.crypto.X509.from_cryptography() and OpenSSL.crypto.X509.to_cryptography() for converting X.509 certificate to and from pyca/cryptography objects. #640
Added OpenSSL.crypto.X509Req.from_cryptography(), OpenSSL.crypto.X509Req.to_cryptography(), OpenSSL.crypto.CRL.from_cryptography(), and OpenSSL.crypto.CRL.to_cryptography() for converting X.509 CSRs and CRLs to and from pyca/cryptography objects. #645
Added OpenSSL.debug that allows to get an overview of used library versions (including linked OpenSSL) and other useful runtime information using python -m OpenSSL.debug. #620
Added a fallback path to Context.set_default_verify_paths() to accommodate the upcoming release of cryptography manylinux1 wheels. #633
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyOpenSSL-17.1.0.tar.gz
.
File metadata
- Download URL: pyOpenSSL-17.1.0.tar.gz
- Upload date:
- Size: 170.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a20a51d35104cd234d056861ace3e7a335aaf1f47fc96726c9e20ac1dc49563 |
|
MD5 | 19fcc38b77fc17f494f671c8ae04b40f |
|
BLAKE2b-256 | 4b135521fdbfe26e0aa4aa04b9133c0dd5450a50e4aee5be44461d448e57560e |
Provenance
File details
Details for the file pyOpenSSL-17.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pyOpenSSL-17.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 53.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc21d1dcc5c4413281c59f912975209999ffb8b091b03872d2516e60be512290 |
|
MD5 | 16d9f8da3f12f89e045039887eabdd9b |
|
BLAKE2b-256 | d0397730559b75b565fd6983d857776fcb4982afb0e8faddb06170e59b62b41c |