diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2016-11-22 09:25:17 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-11-22 22:25:17 +0800 |
commit | 29b2ebc480a7be6b2da69e2e74ea86d4e5e816da (patch) | |
tree | c8cbc6ebbadae9c2892a65c162155613fc7114e5 /docs/faq.rst | |
parent | 085859172d13366e6ceae41a1eb0a21b50019eb7 (diff) | |
download | cryptography-29b2ebc480a7be6b2da69e2e74ea86d4e5e816da.tar.gz cryptography-29b2ebc480a7be6b2da69e2e74ea86d4e5e816da.tar.bz2 cryptography-29b2ebc480a7be6b2da69e2e74ea86d4e5e816da.zip |
Error out on OpenSSL 1.0.0 by default (#3276)
* Error out on OpenSSL 1.0.0 by default
* what the heck
Diffstat (limited to 'docs/faq.rst')
-rw-r--r-- | docs/faq.rst | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/docs/faq.rst b/docs/faq.rst index 2ddc5db8..76117a91 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -40,6 +40,19 @@ If you have no other libraries using OpenSSL in your process, or they do not appear to be at fault, it's possible that this is a bug in ``cryptography``. Please file an `issue`_ with instructions on how to reproduce it. +Importing cryptography causes a ``RuntimeError`` about OpenSSL 1.0.0 +-------------------------------------------------------------------- + +The OpenSSL project has dropped support for the 1.0.0 release series. Since it +is no longer receiving security patches from upstream, ``cryptography`` is also +dropping support for it. To fix this issue you should upgrade to a newer +version of OpenSSL (1.0.1 or later). This may require you to upgrade to a newer +operating system. + +For the 1.7 release, you can set the ``CRYPTOGRAPHY_ALLOW_OPENSSL_100`` +environment variable. Please note that this is *temporary* and will be removed +in ``cryptography`` 1.8. + Installing cryptography with OpenSSL 0.9.8 fails ------------------------------------------------ @@ -49,10 +62,6 @@ dropping support for it. To fix this issue you should upgrade to a newer version of OpenSSL (1.0.1 or later). This may require you to upgrade to a newer operating system. -In ``cryptography`` 1.4, you can set the ``CRYPTOGRAPHY_ALLOW_OPENSSL_098`` -environment variable. Please note that this is *temporary* and is removed in -``cryptography`` 1.5. - .. _`NaCl`: https://nacl.cr.yp.to/ .. _`PyNaCl`: https://pynacl.readthedocs.io .. _`WSGIApplicationGroup`: https://modwsgi.readthedocs.io/en/develop/configuration-directives/WSGIApplicationGroup.html |