From 1c186772f6fd64180bd3387de2e1ef1a6d1ba58e Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Fri, 18 Oct 2019 08:47:15 -0400 Subject: Fixes #5018 -- break users on OpenSSL 1.0.1 (#5022) * Fixes #5018 -- break users on OpenSSL 1.0.1 * Grammar * Syntax error * Missing import * Missing import --- docs/faq.rst | 13 +++++++++++++ docs/installation.rst | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/faq.rst b/docs/faq.rst index 6d876610..235da672 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -82,6 +82,19 @@ Your ``pip`` and/or ``setuptools`` are outdated. Please upgrade to the latest versions with ``pip install -U pip setuptools`` (or on Windows ``python -m pip install -U pip setuptools``). +Importing cryptography causes a ``RuntimeError`` about OpenSSL 1.0.1 +-------------------------------------------------------------------- + +The OpenSSL project has dropped support for the 1.0.1 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.2 or later). This may require you to upgrade to a newer +operating system. + +For the 2.9 release, you can set the ``CRYPTOGRAPHY_ALLOW_OPENSSL_101`` +environment variable. Please note that this is *temporary* and will be removed +in ``cryptography`` 3.0. + Installing cryptography with OpenSSL 0.9.8 or 1.0.0 fails --------------------------------------------------------- diff --git a/docs/installation.rst b/docs/installation.rst index 2c83f33a..fc3fa894 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -32,8 +32,8 @@ OpenSSL releases: * ``OpenSSL 1.1.1-latest`` .. warning:: - OpenSSL 1.0.1 is no longer supported by the OpenSSL project. Cryptography - will drop support for it in the next release. + Cryptography 2.9 has dropped support for OpenSSL 1.0.1, see the + :doc:`FAQ ` for more details Building cryptography on Windows -------------------------------- -- cgit v1.2.3