Skip to main content
Stable Docs Build status Test coverage

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

Full changelog.

Metadata

Release files for pyOpenSSL 17.1.0

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

Source distribution (sdist)

Source distribution for pyOpenSSL 17.1.0
File Size Uploaded
pyOpenSSL-17.1.0.tar.gz 170.7 kB Details

Built distribution (wheel)

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

Total release size: 224.2 kB

Release files / pyOpenSSL-17.1.0.tar.gz

Download URL pyOpenSSL-17.1.0.tar.gz
Size 170.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5a20a51d35104cd234d056861ace3e7a335aaf1f47fc96726c9e20ac1dc49563
BLAKE2b-256 checksum
How to use checksums
4b135521fdbfe26e0aa4aa04b9133c0dd5450a50e4aee5be44461d448e57560e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyOpenSSL-17.1.0-py2.py3-none-any.whl

Download URL pyOpenSSL-17.1.0-py2.py3-none-any.whl
Size 53.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cc21d1dcc5c4413281c59f912975209999ffb8b091b03872d2516e60be512290
BLAKE2b-256 checksum
How to use checksums
d0397730559b75b565fd6983d857776fcb4982afb0e8faddb06170e59b62b41c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

26.3.0

2 release files

26.1.0

2 release files

26.0.0

2 release files

25.3.0

2 release files

25.2.0

2 release files

25.1.0

2 release files

25.0.0

2 release files

24.3.0

2 release files

24.2.1

2 release files

24.0.0

2 release files

23.3.0

2 release files

23.2.0

2 release files

23.1.1

2 release files

23.1.0

2 release files

22.1.0

2 release files

22.0.0

2 release files

21.0.0

2 release files

20.0.1

2 release files

20.0.0

2 release files

19.1.0

2 release files

19.0.0

2 release files

18.0.0

2 release files

17.4.0

2 release files

17.3.0

2 release files

17.2.0

2 release files

This release

17.1.0 This release

2 release files

17.0.0

2 release files

16.2.0

2 release files

16.1.0

2 release files

16.0.0

2 release files

0.15.1

2 release files

0.15

2 release files

0.14

1 release file

0.13

15 release files

0.12

11 release files

0.11

0.10

9 release files

0.9

2 release files

0.8

1 release file

0.7

1 release file

0.6

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