summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/installation.rst3
-rw-r--r--docs/usage.rst2
2 files changed, 5 insertions, 0 deletions
diff --git a/docs/installation.rst b/docs/installation.rst
index 6da2ccd..925da97 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 c5372af..2eacb96 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