diff --git a/docs/installation.rst b/docs/installation.rst index 6da2ccdf..925da97c 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -7,6 +7,9 @@ You can install ``PyJWT`` with ``pip``: $ pip install pyjwt + +.. _installation_cryptography + Cryptographic Dependencies (Optional) ------------------------------------- diff --git a/docs/usage.rst b/docs/usage.rst index c5372af0..2eacb969 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -17,6 +17,8 @@ Encoding & Decoding Tokens with HS256 Encoding & Decoding Tokens with RS256 (RSA) ------------------------------------------- +RSA encoding and decoding require the ``cryptography`` module. See :ref:`installation_cryptography`. + .. code-block:: pycon >>> import jwt