Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: Clarify RSA encoding and decoding depend on the cryptography package #664

Merged
merged 2 commits into from Aug 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/installation.rst
Expand Up @@ -7,6 +7,9 @@ You can install ``PyJWT`` with ``pip``:
$ pip install pyjwt
.. _installation_cryptography
Cryptographic Dependencies (Optional)
-------------------------------------

Expand Down
2 changes: 2 additions & 0 deletions docs/usage.rst
Expand Up @@ -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
Expand Down