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

Raise exception when required cryptography dependency is missing #963

Merged
merged 4 commits into from
Jul 5, 2024
Merged

Raise exception when required cryptography dependency is missing #963

merged 4 commits into from
Jul 5, 2024

Conversation

tobloef
Copy link
Contributor

@tobloef tobloef commented Jul 5, 2024

We recently ran into this when deploying an app with Docker. Locally everything worked fine but the dependency was missing in the container's environment. We had seen the note about it in the docs, but (wrongly) assumed that pyjwt would complain if it tried to use the missing dependency.

My hope with this PR is that it might prevent other people from being stuck on this in the future.

Copy link
Owner

@jpadilla jpadilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, can you add a test?

@tobloef
Copy link
Contributor Author

tobloef commented Jul 5, 2024

Thanks, can you add a test?

Done!

Copy link
Owner

@jpadilla jpadilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎇 thanks!

@jpadilla jpadilla merged commit 527fec2 into jpadilla:master Jul 5, 2024
24 checks passed
inmantaci referenced this pull request in inmanta/inmanta-core Aug 1, 2024
Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.8.0 to 2.9.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/jpadilla/pyjwt/releases">pyjwt's releases</a>.</em></p>
<blockquote>
<h2>2.9.0</h2>
<h2>What's Changed</h2>
<ul>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/905">jpadilla/pyjwt#905</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/909">jpadilla/pyjwt#909</a></li>
<li>Add support for Python 3.12 by <a href="https://github.com/hugovk"><code>@​hugovk</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/910">jpadilla/pyjwt#910</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/911">jpadilla/pyjwt#911</a></li>
<li>Fix an unnecessary str concat by <a href="https://github.com/sirosen"><code>@​sirosen</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/904">jpadilla/pyjwt#904</a></li>
<li>Update jwt-api to accept either a string or list of strings for issuer validation by <a href="https://github.com/mattpollak"><code>@​mattpollak</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/913">jpadilla/pyjwt#913</a></li>
<li>Bump actions/checkout from 3 to 4 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/916">jpadilla/pyjwt#916</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/917">jpadilla/pyjwt#917</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/922">jpadilla/pyjwt#922</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/926">jpadilla/pyjwt#926</a></li>
<li>Bump actions/setup-python from 4 to 5 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/931">jpadilla/pyjwt#931</a></li>
<li>Bump hynek/build-and-inspect-python-package from 1 to 2 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/935">jpadilla/pyjwt#935</a></li>
<li>docs/api: document strict_aud on decode_complete by <a href="https://github.com/woodruffw"><code>@​woodruffw</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/923">jpadilla/pyjwt#923</a></li>
<li>chore: fix docs step by <a href="https://github.com/jpadilla"><code>@​jpadilla</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/950">jpadilla/pyjwt#950</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/953">jpadilla/pyjwt#953</a></li>
<li>Add coverage and improve performance of is_ssh_key by <a href="https://github.com/bdraco"><code>@​bdraco</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/940">jpadilla/pyjwt#940</a></li>
<li>Decode with PyJWK by <a href="https://github.com/luhn"><code>@​luhn</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/886">jpadilla/pyjwt#886</a></li>
<li>Remove an unused variable from an example code block by <a href="https://github.com/kenkoooo"><code>@​kenkoooo</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/958">jpadilla/pyjwt#958</a></li>
<li>Handle load_pem_public_key ValueError by <a href="https://github.com/CollinEMac"><code>@​CollinEMac</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/952">jpadilla/pyjwt#952</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/960">jpadilla/pyjwt#960</a></li>
<li>Raise exception when required cryptography dependency is missing by <a href="https://github.com/tobloef"><code>@​tobloef</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/963">jpadilla/pyjwt#963</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/965">jpadilla/pyjwt#965</a></li>
<li>Add 2.9.0 changelog. Fixes <a href="https://redirect.github.com/jpadilla/pyjwt/issues/949">#949</a> by <a href="https://github.com/benvdh"><code>@​benvdh</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/967">jpadilla/pyjwt#967</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/mattpollak"><code>@​mattpollak</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/913">jpadilla/pyjwt#913</a></li>
<li><a href="https://github.com/bdraco"><code>@​bdraco</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/940">jpadilla/pyjwt#940</a></li>
<li><a href="https://github.com/luhn"><code>@​luhn</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/886">jpadilla/pyjwt#886</a></li>
<li><a href="https://github.com/kenkoooo"><code>@​kenkoooo</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/958">jpadilla/pyjwt#958</a></li>
<li><a href="https://github.com/CollinEMac"><code>@​CollinEMac</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/952">jpadilla/pyjwt#952</a></li>
<li><a href="https://github.com/tobloef"><code>@​tobloef</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/963">jpadilla/pyjwt#963</a></li>
<li><a href="https://github.com/benvdh"><code>@​benvdh</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/967">jpadilla/pyjwt#967</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0">https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst">pyjwt's changelog</a>.</em></p>
<blockquote>
<h2><code>v2.9.0 &lt;https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0&gt;</code>__</h2>
<p>Changed</p>
<pre><code>
- Drop support for Python 3.7 (EOL) by @hugovk in `[#910](jpadilla/pyjwt#910) &lt;https://github.com/jpadilla/pyjwt/pull/910&gt;`__
- Allow JWT issuer claim validation to accept a list of strings too by @mattpollak in `[#913](jpadilla/pyjwt#913) &lt;https://github.com/jpadilla/pyjwt/pull/913&gt;`__
<p>Fixed</p>
<pre><code>
- Fix unnecessary string concatenation by @sirosen in `[#904](jpadilla/pyjwt#904) &amp;lt;https://github.com/jpadilla/pyjwt/pull/904&amp;gt;`__
- Fix docs for ``jwt.decode_complete`` to include ``strict_aud`` option by @woodruffw in `[#923](jpadilla/pyjwt#923) &amp;lt;https://github.com/jpadilla/pyjwt/pull/923&amp;gt;`__
- Fix docs step by @jpadilla in `[#950](jpadilla/pyjwt#950) &amp;lt;https://github.com/jpadilla/pyjwt/pull/950&amp;gt;`__
- Fix: Remove an unused variable from example code block by @kenkoooo in `[#958](jpadilla/pyjwt#958) &amp;lt;https://github.com/jpadilla/pyjwt/pull/958&amp;gt;`__

Added
</code></pre>
<ul>
<li>Add support for Python 3.12 by <a href="https://github.com/hugovk"><code>@​hugovk</code></a> in <code>[#910](jpadilla/pyjwt#910) &amp;lt;https://github.com/jpadilla/pyjwt/pull/910&amp;gt;</code>__</li>
<li>Improve performance of <code>is_ssh_key</code> + add unit test by <a href="https://github.com/bdraco"><code>@​bdraco</code></a> in <code>[#940](jpadilla/pyjwt#940) &amp;lt;https://github.com/jpadilla/pyjwt/pull/940&amp;gt;</code>__</li>
<li>Allow <code>jwt.decode()</code> to accept a PyJWK object by <a href="https://github.com/luhn"><code>@​luhn</code></a> in <code>[#886](jpadilla/pyjwt#886) &amp;lt;https://github.com/jpadilla/pyjwt/pull/886&amp;gt;</code>__</li>
<li>Make <code>algorithm_name</code> attribute available on PyJWK by <a href="https://github.com/luhn"><code>@​luhn</code></a> in <code>[#886](jpadilla/pyjwt#886) &amp;lt;https://github.com/jpadilla/pyjwt/pull/886&amp;gt;</code>__</li>
<li>Raise <code>InvalidKeyError</code> on invalid PEM keys to be compatible with cryptography 42.x.x by <a href="https://github.com/CollinEMac"><code>@​CollinEMac</code></a> in <code>[#952](jpadilla/pyjwt#952) &amp;lt;https://github.com/jpadilla/pyjwt/pull/952&amp;gt;</code>__</li>
<li>Raise an exception when required cryptography dependency is missing by <a href="https://github.com/tobloef"><code>@​tobloef</code></a> in <code>&amp;lt;https://github.com/jpadilla/pyjwt/pull/963&amp;gt;</code>__
</code></pre></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/jpadilla/pyjwt/commit/868cf4ab2ca5a0a39da40e5a14dd740b203662b2"><code>868cf4a</code></a> Add 2.9.0 changelog. Fixes <a href="https://redirect.github.com/jpadilla/pyjwt/issues/949">#949</a> (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/967">#967</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/304a3df14262aab01407803f97bd26c3eb2c4b10"><code>304a3df</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/965">#965</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/527fec277e8215a197f8facd3778b359043704ef"><code>527fec2</code></a> Raise exception when required cryptography dependency is missing (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/963">#963</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/18a50bedb03e894845420b95a58ce933b135659c"><code>18a50be</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/960">#960</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/4703f8780e532ef932f4a493b642ac5a6c1be53c"><code>4703f87</code></a> Handle load_pem_public_key ValueError (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/952">#952</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/9dc732f6444a0246e8d5c344110d6246bff89495"><code>9dc732f</code></a> Update usage.rst (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/958">#958</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/ab8176abe21e550dbc1c9a6bb7e78ad80853bfb1"><code>ab8176a</code></a> Decode with PyJWK (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/886">#886</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/c0a071dc0178542ad24e5a7b2e6103ba1d4c0517"><code>c0a071d</code></a> chore: update actions/download-artifact</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/2afbe32b0dbbcdb272a085d95ac5fdc609493d04"><code>2afbe32</code></a> Add coverage and improve performance of is_ssh_key (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/940">#940</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/97345a7635bc24d1eb59ab8d0c73389f38187472"><code>97345a7</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/953">#953</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pyjwt&package-manager=pip&previous-version=2.8.0&new-version=2.9.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>
inmantaci referenced this pull request in inmanta/inmanta-core Aug 1, 2024
Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.8.0 to 2.9.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/jpadilla/pyjwt/releases">pyjwt's releases</a>.</em></p>
<blockquote>
<h2>2.9.0</h2>
<h2>What's Changed</h2>
<ul>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/905">jpadilla/pyjwt#905</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/909">jpadilla/pyjwt#909</a></li>
<li>Add support for Python 3.12 by <a href="https://github.com/hugovk"><code>@​hugovk</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/910">jpadilla/pyjwt#910</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/911">jpadilla/pyjwt#911</a></li>
<li>Fix an unnecessary str concat by <a href="https://github.com/sirosen"><code>@​sirosen</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/904">jpadilla/pyjwt#904</a></li>
<li>Update jwt-api to accept either a string or list of strings for issuer validation by <a href="https://github.com/mattpollak"><code>@​mattpollak</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/913">jpadilla/pyjwt#913</a></li>
<li>Bump actions/checkout from 3 to 4 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/916">jpadilla/pyjwt#916</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/917">jpadilla/pyjwt#917</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/922">jpadilla/pyjwt#922</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/926">jpadilla/pyjwt#926</a></li>
<li>Bump actions/setup-python from 4 to 5 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/931">jpadilla/pyjwt#931</a></li>
<li>Bump hynek/build-and-inspect-python-package from 1 to 2 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/935">jpadilla/pyjwt#935</a></li>
<li>docs/api: document strict_aud on decode_complete by <a href="https://github.com/woodruffw"><code>@​woodruffw</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/923">jpadilla/pyjwt#923</a></li>
<li>chore: fix docs step by <a href="https://github.com/jpadilla"><code>@​jpadilla</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/950">jpadilla/pyjwt#950</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/953">jpadilla/pyjwt#953</a></li>
<li>Add coverage and improve performance of is_ssh_key by <a href="https://github.com/bdraco"><code>@​bdraco</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/940">jpadilla/pyjwt#940</a></li>
<li>Decode with PyJWK by <a href="https://github.com/luhn"><code>@​luhn</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/886">jpadilla/pyjwt#886</a></li>
<li>Remove an unused variable from an example code block by <a href="https://github.com/kenkoooo"><code>@​kenkoooo</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/958">jpadilla/pyjwt#958</a></li>
<li>Handle load_pem_public_key ValueError by <a href="https://github.com/CollinEMac"><code>@​CollinEMac</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/952">jpadilla/pyjwt#952</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/960">jpadilla/pyjwt#960</a></li>
<li>Raise exception when required cryptography dependency is missing by <a href="https://github.com/tobloef"><code>@​tobloef</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/963">jpadilla/pyjwt#963</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/965">jpadilla/pyjwt#965</a></li>
<li>Add 2.9.0 changelog. Fixes <a href="https://redirect.github.com/jpadilla/pyjwt/issues/949">#949</a> by <a href="https://github.com/benvdh"><code>@​benvdh</code></a> in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/967">jpadilla/pyjwt#967</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/mattpollak"><code>@​mattpollak</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/913">jpadilla/pyjwt#913</a></li>
<li><a href="https://github.com/bdraco"><code>@​bdraco</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/940">jpadilla/pyjwt#940</a></li>
<li><a href="https://github.com/luhn"><code>@​luhn</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/886">jpadilla/pyjwt#886</a></li>
<li><a href="https://github.com/kenkoooo"><code>@​kenkoooo</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/958">jpadilla/pyjwt#958</a></li>
<li><a href="https://github.com/CollinEMac"><code>@​CollinEMac</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/952">jpadilla/pyjwt#952</a></li>
<li><a href="https://github.com/tobloef"><code>@​tobloef</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/963">jpadilla/pyjwt#963</a></li>
<li><a href="https://github.com/benvdh"><code>@​benvdh</code></a> made their first contribution in <a href="https://redirect.github.com/jpadilla/pyjwt/pull/967">jpadilla/pyjwt#967</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0">https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst">pyjwt's changelog</a>.</em></p>
<blockquote>
<h2><code>v2.9.0 &lt;https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0&gt;</code>__</h2>
<p>Changed</p>
<pre><code>
- Drop support for Python 3.7 (EOL) by @hugovk in `[#910](jpadilla/pyjwt#910) &lt;https://github.com/jpadilla/pyjwt/pull/910&gt;`__
- Allow JWT issuer claim validation to accept a list of strings too by @mattpollak in `[#913](jpadilla/pyjwt#913) &lt;https://github.com/jpadilla/pyjwt/pull/913&gt;`__
<p>Fixed</p>
<pre><code>
- Fix unnecessary string concatenation by @sirosen in `[#904](jpadilla/pyjwt#904) &amp;lt;https://github.com/jpadilla/pyjwt/pull/904&amp;gt;`__
- Fix docs for ``jwt.decode_complete`` to include ``strict_aud`` option by @woodruffw in `[#923](jpadilla/pyjwt#923) &amp;lt;https://github.com/jpadilla/pyjwt/pull/923&amp;gt;`__
- Fix docs step by @jpadilla in `[#950](jpadilla/pyjwt#950) &amp;lt;https://github.com/jpadilla/pyjwt/pull/950&amp;gt;`__
- Fix: Remove an unused variable from example code block by @kenkoooo in `[#958](jpadilla/pyjwt#958) &amp;lt;https://github.com/jpadilla/pyjwt/pull/958&amp;gt;`__

Added
</code></pre>
<ul>
<li>Add support for Python 3.12 by <a href="https://github.com/hugovk"><code>@​hugovk</code></a> in <code>[#910](jpadilla/pyjwt#910) &amp;lt;https://github.com/jpadilla/pyjwt/pull/910&amp;gt;</code>__</li>
<li>Improve performance of <code>is_ssh_key</code> + add unit test by <a href="https://github.com/bdraco"><code>@​bdraco</code></a> in <code>[#940](jpadilla/pyjwt#940) &amp;lt;https://github.com/jpadilla/pyjwt/pull/940&amp;gt;</code>__</li>
<li>Allow <code>jwt.decode()</code> to accept a PyJWK object by <a href="https://github.com/luhn"><code>@​luhn</code></a> in <code>[#886](jpadilla/pyjwt#886) &amp;lt;https://github.com/jpadilla/pyjwt/pull/886&amp;gt;</code>__</li>
<li>Make <code>algorithm_name</code> attribute available on PyJWK by <a href="https://github.com/luhn"><code>@​luhn</code></a> in <code>[#886](jpadilla/pyjwt#886) &amp;lt;https://github.com/jpadilla/pyjwt/pull/886&amp;gt;</code>__</li>
<li>Raise <code>InvalidKeyError</code> on invalid PEM keys to be compatible with cryptography 42.x.x by <a href="https://github.com/CollinEMac"><code>@​CollinEMac</code></a> in <code>[#952](jpadilla/pyjwt#952) &amp;lt;https://github.com/jpadilla/pyjwt/pull/952&amp;gt;</code>__</li>
<li>Raise an exception when required cryptography dependency is missing by <a href="https://github.com/tobloef"><code>@​tobloef</code></a> in <code>&amp;lt;https://github.com/jpadilla/pyjwt/pull/963&amp;gt;</code>__
</code></pre></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/jpadilla/pyjwt/commit/868cf4ab2ca5a0a39da40e5a14dd740b203662b2"><code>868cf4a</code></a> Add 2.9.0 changelog. Fixes <a href="https://redirect.github.com/jpadilla/pyjwt/issues/949">#949</a> (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/967">#967</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/304a3df14262aab01407803f97bd26c3eb2c4b10"><code>304a3df</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/965">#965</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/527fec277e8215a197f8facd3778b359043704ef"><code>527fec2</code></a> Raise exception when required cryptography dependency is missing (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/963">#963</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/18a50bedb03e894845420b95a58ce933b135659c"><code>18a50be</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/960">#960</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/4703f8780e532ef932f4a493b642ac5a6c1be53c"><code>4703f87</code></a> Handle load_pem_public_key ValueError (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/952">#952</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/9dc732f6444a0246e8d5c344110d6246bff89495"><code>9dc732f</code></a> Update usage.rst (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/958">#958</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/ab8176abe21e550dbc1c9a6bb7e78ad80853bfb1"><code>ab8176a</code></a> Decode with PyJWK (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/886">#886</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/c0a071dc0178542ad24e5a7b2e6103ba1d4c0517"><code>c0a071d</code></a> chore: update actions/download-artifact</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/2afbe32b0dbbcdb272a085d95ac5fdc609493d04"><code>2afbe32</code></a> Add coverage and improve performance of is_ssh_key (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/940">#940</a>)</li>
<li><a href="https://github.com/jpadilla/pyjwt/commit/97345a7635bc24d1eb59ab8d0c73389f38187472"><code>97345a7</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/jpadilla/pyjwt/issues/953">#953</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pyjwt&package-manager=pip&previous-version=2.8.0&new-version=2.9.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>
eps-autoapprove-dependabot bot referenced this pull request in NHSDigital/eps-prescription-status-update-api Aug 3, 2024
Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.8.0 to 2.9.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/jpadilla/pyjwt/releases">pyjwt's
releases</a>.</em></p>
<blockquote>
<h2>2.9.0</h2>
<h2>What's Changed</h2>
<ul>
<li>[pre-commit.ci] pre-commit autoupdate by <a
href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a>
in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/905">jpadilla/pyjwt#905</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a
href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a>
in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/909">jpadilla/pyjwt#909</a></li>
<li>Add support for Python 3.12 by <a
href="https://github.com/hugovk"><code>@​hugovk</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/910">jpadilla/pyjwt#910</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a
href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a>
in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/911">jpadilla/pyjwt#911</a></li>
<li>Fix an unnecessary str concat by <a
href="https://github.com/sirosen"><code>@​sirosen</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/904">jpadilla/pyjwt#904</a></li>
<li>Update jwt-api to accept either a string or list of strings for
issuer validation by <a
href="https://github.com/mattpollak"><code>@​mattpollak</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/913">jpadilla/pyjwt#913</a></li>
<li>Bump actions/checkout from 3 to 4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/916">jpadilla/pyjwt#916</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a
href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a>
in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/917">jpadilla/pyjwt#917</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a
href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a>
in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/922">jpadilla/pyjwt#922</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a
href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a>
in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/926">jpadilla/pyjwt#926</a></li>
<li>Bump actions/setup-python from 4 to 5 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/931">jpadilla/pyjwt#931</a></li>
<li>Bump hynek/build-and-inspect-python-package from 1 to 2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/935">jpadilla/pyjwt#935</a></li>
<li>docs/api: document strict_aud on decode_complete by <a
href="https://github.com/woodruffw"><code>@​woodruffw</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/923">jpadilla/pyjwt#923</a></li>
<li>chore: fix docs step by <a
href="https://github.com/jpadilla"><code>@​jpadilla</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/950">jpadilla/pyjwt#950</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a
href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a>
in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/953">jpadilla/pyjwt#953</a></li>
<li>Add coverage and improve performance of is_ssh_key by <a
href="https://github.com/bdraco"><code>@​bdraco</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/940">jpadilla/pyjwt#940</a></li>
<li>Decode with PyJWK by <a
href="https://github.com/luhn"><code>@​luhn</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/886">jpadilla/pyjwt#886</a></li>
<li>Remove an unused variable from an example code block by <a
href="https://github.com/kenkoooo"><code>@​kenkoooo</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/958">jpadilla/pyjwt#958</a></li>
<li>Handle load_pem_public_key ValueError by <a
href="https://github.com/CollinEMac"><code>@​CollinEMac</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/952">jpadilla/pyjwt#952</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a
href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a>
in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/960">jpadilla/pyjwt#960</a></li>
<li>Raise exception when required cryptography dependency is missing by
<a href="https://github.com/tobloef"><code>@​tobloef</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/963">jpadilla/pyjwt#963</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a
href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a>
in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/965">jpadilla/pyjwt#965</a></li>
<li>Add 2.9.0 changelog. Fixes <a
href="https://redirect.github.com/jpadilla/pyjwt/issues/949">#949</a> by
<a href="https://github.com/benvdh"><code>@​benvdh</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/967">jpadilla/pyjwt#967</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/mattpollak"><code>@​mattpollak</code></a> made
their first contribution in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/913">jpadilla/pyjwt#913</a></li>
<li><a href="https://github.com/bdraco"><code>@​bdraco</code></a> made
their first contribution in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/940">jpadilla/pyjwt#940</a></li>
<li><a href="https://github.com/luhn"><code>@​luhn</code></a> made their
first contribution in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/886">jpadilla/pyjwt#886</a></li>
<li><a href="https://github.com/kenkoooo"><code>@​kenkoooo</code></a>
made their first contribution in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/958">jpadilla/pyjwt#958</a></li>
<li><a
href="https://github.com/CollinEMac"><code>@​CollinEMac</code></a> made
their first contribution in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/952">jpadilla/pyjwt#952</a></li>
<li><a href="https://github.com/tobloef"><code>@​tobloef</code></a> made
their first contribution in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/963">jpadilla/pyjwt#963</a></li>
<li><a href="https://github.com/benvdh"><code>@​benvdh</code></a> made
their first contribution in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/967">jpadilla/pyjwt#967</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0">https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst">pyjwt's
changelog</a>.</em></p>
<blockquote>
<h2><code>v2.9.0
&lt;https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0&gt;</code>__</h2>
<p>Changed</p>
<pre><code>
- Drop support for Python 3.7 (EOL) by @hugovk in
`[#910](jpadilla/pyjwt#910)
&lt;https://github.com/jpadilla/pyjwt/pull/910&gt;`__
- Allow JWT issuer claim validation to accept a list of strings too by
@mattpollak in `[#913](jpadilla/pyjwt#913)
&lt;https://github.com/jpadilla/pyjwt/pull/913&gt;`__
<p>Fixed</p>
<pre><code>
- Fix unnecessary string concatenation by @sirosen in
`[#904](jpadilla/pyjwt#904)
&amp;lt;https://github.com/jpadilla/pyjwt/pull/904&amp;gt;`__
- Fix docs for ``jwt.decode_complete`` to include ``strict_aud`` option
by @woodruffw in `[#923](jpadilla/pyjwt#923)
&amp;lt;https://github.com/jpadilla/pyjwt/pull/923&amp;gt;`__
- Fix docs step by @jpadilla in
`[#950](jpadilla/pyjwt#950)
&amp;lt;https://github.com/jpadilla/pyjwt/pull/950&amp;gt;`__
- Fix: Remove an unused variable from example code block by @kenkoooo in
`[#958](jpadilla/pyjwt#958)
&amp;lt;https://github.com/jpadilla/pyjwt/pull/958&amp;gt;`__

Added
</code></pre>
<ul>
<li>Add support for Python 3.12 by <a
href="https://github.com/hugovk"><code>@​hugovk</code></a> in
<code>[#910](jpadilla/pyjwt#910)
&amp;lt;https://github.com/jpadilla/pyjwt/pull/910&amp;gt;</code>__</li>
<li>Improve performance of <code>is_ssh_key</code> + add unit test by <a
href="https://github.com/bdraco"><code>@​bdraco</code></a> in
<code>[#940](jpadilla/pyjwt#940)
&amp;lt;https://github.com/jpadilla/pyjwt/pull/940&amp;gt;</code>__</li>
<li>Allow <code>jwt.decode()</code> to accept a PyJWK object by <a
href="https://github.com/luhn"><code>@​luhn</code></a> in
<code>[#886](jpadilla/pyjwt#886)
&amp;lt;https://github.com/jpadilla/pyjwt/pull/886&amp;gt;</code>__</li>
<li>Make <code>algorithm_name</code> attribute available on PyJWK by <a
href="https://github.com/luhn"><code>@​luhn</code></a> in
<code>[#886](jpadilla/pyjwt#886)
&amp;lt;https://github.com/jpadilla/pyjwt/pull/886&amp;gt;</code>__</li>
<li>Raise <code>InvalidKeyError</code> on invalid PEM keys to be
compatible with cryptography 42.x.x by <a
href="https://github.com/CollinEMac"><code>@​CollinEMac</code></a> in
<code>[#952](jpadilla/pyjwt#952)
&amp;lt;https://github.com/jpadilla/pyjwt/pull/952&amp;gt;</code>__</li>
<li>Raise an exception when required cryptography dependency is missing
by <a href="https://github.com/tobloef"><code>@​tobloef</code></a> in
<code>&amp;lt;https://github.com/jpadilla/pyjwt/pull/963&amp;gt;</code>__
</code></pre></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/jpadilla/pyjwt/commit/868cf4ab2ca5a0a39da40e5a14dd740b203662b2"><code>868cf4a</code></a>
Add 2.9.0 changelog. Fixes <a
href="https://redirect.github.com/jpadilla/pyjwt/issues/949">#949</a>
(<a
href="https://redirect.github.com/jpadilla/pyjwt/issues/967">#967</a>)</li>
<li><a
href="https://github.com/jpadilla/pyjwt/commit/304a3df14262aab01407803f97bd26c3eb2c4b10"><code>304a3df</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/jpadilla/pyjwt/issues/965">#965</a>)</li>
<li><a
href="https://github.com/jpadilla/pyjwt/commit/527fec277e8215a197f8facd3778b359043704ef"><code>527fec2</code></a>
Raise exception when required cryptography dependency is missing (<a
href="https://redirect.github.com/jpadilla/pyjwt/issues/963">#963</a>)</li>
<li><a
href="https://github.com/jpadilla/pyjwt/commit/18a50bedb03e894845420b95a58ce933b135659c"><code>18a50be</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/jpadilla/pyjwt/issues/960">#960</a>)</li>
<li><a
href="https://github.com/jpadilla/pyjwt/commit/4703f8780e532ef932f4a493b642ac5a6c1be53c"><code>4703f87</code></a>
Handle load_pem_public_key ValueError (<a
href="https://redirect.github.com/jpadilla/pyjwt/issues/952">#952</a>)</li>
<li><a
href="https://github.com/jpadilla/pyjwt/commit/9dc732f6444a0246e8d5c344110d6246bff89495"><code>9dc732f</code></a>
Update usage.rst (<a
href="https://redirect.github.com/jpadilla/pyjwt/issues/958">#958</a>)</li>
<li><a
href="https://github.com/jpadilla/pyjwt/commit/ab8176abe21e550dbc1c9a6bb7e78ad80853bfb1"><code>ab8176a</code></a>
Decode with PyJWK (<a
href="https://redirect.github.com/jpadilla/pyjwt/issues/886">#886</a>)</li>
<li><a
href="https://github.com/jpadilla/pyjwt/commit/c0a071dc0178542ad24e5a7b2e6103ba1d4c0517"><code>c0a071d</code></a>
chore: update actions/download-artifact</li>
<li><a
href="https://github.com/jpadilla/pyjwt/commit/2afbe32b0dbbcdb272a085d95ac5fdc609493d04"><code>2afbe32</code></a>
Add coverage and improve performance of is_ssh_key (<a
href="https://redirect.github.com/jpadilla/pyjwt/issues/940">#940</a>)</li>
<li><a
href="https://github.com/jpadilla/pyjwt/commit/97345a7635bc24d1eb59ab8d0c73389f38187472"><code>97345a7</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/jpadilla/pyjwt/issues/953">#953</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pyjwt&package-manager=pip&previous-version=2.8.0&new-version=2.9.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
github-merge-queue bot referenced this pull request in TechlauncherFireApp/backend Aug 27, 2024
Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.8.0 to 2.9.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/jpadilla/pyjwt/releases">pyjwt's
releases</a>.</em></p>
<blockquote>
<h2>2.9.0</h2>
<h2>What's Changed</h2>
<ul>
<li>[pre-commit.ci] pre-commit autoupdate by <a
href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a>
in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/905">jpadilla/pyjwt#905</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a
href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a>
in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/909">jpadilla/pyjwt#909</a></li>
<li>Add support for Python 3.12 by <a
href="https://github.com/hugovk"><code>@​hugovk</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/910">jpadilla/pyjwt#910</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a
href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a>
in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/911">jpadilla/pyjwt#911</a></li>
<li>Fix an unnecessary str concat by <a
href="https://github.com/sirosen"><code>@​sirosen</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/904">jpadilla/pyjwt#904</a></li>
<li>Update jwt-api to accept either a string or list of strings for
issuer validation by <a
href="https://github.com/mattpollak"><code>@​mattpollak</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/913">jpadilla/pyjwt#913</a></li>
<li>Bump actions/checkout from 3 to 4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/916">jpadilla/pyjwt#916</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a
href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a>
in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/917">jpadilla/pyjwt#917</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a
href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a>
in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/922">jpadilla/pyjwt#922</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a
href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a>
in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/926">jpadilla/pyjwt#926</a></li>
<li>Bump actions/setup-python from 4 to 5 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/931">jpadilla/pyjwt#931</a></li>
<li>Bump hynek/build-and-inspect-python-package from 1 to 2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/935">jpadilla/pyjwt#935</a></li>
<li>docs/api: document strict_aud on decode_complete by <a
href="https://github.com/woodruffw"><code>@​woodruffw</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/923">jpadilla/pyjwt#923</a></li>
<li>chore: fix docs step by <a
href="https://github.com/jpadilla"><code>@​jpadilla</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/950">jpadilla/pyjwt#950</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a
href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a>
in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/953">jpadilla/pyjwt#953</a></li>
<li>Add coverage and improve performance of is_ssh_key by <a
href="https://github.com/bdraco"><code>@​bdraco</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/940">jpadilla/pyjwt#940</a></li>
<li>Decode with PyJWK by <a
href="https://github.com/luhn"><code>@​luhn</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/886">jpadilla/pyjwt#886</a></li>
<li>Remove an unused variable from an example code block by <a
href="https://github.com/kenkoooo"><code>@​kenkoooo</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/958">jpadilla/pyjwt#958</a></li>
<li>Handle load_pem_public_key ValueError by <a
href="https://github.com/CollinEMac"><code>@​CollinEMac</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/952">jpadilla/pyjwt#952</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a
href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a>
in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/960">jpadilla/pyjwt#960</a></li>
<li>Raise exception when required cryptography dependency is missing by
<a href="https://github.com/tobloef"><code>@​tobloef</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/963">jpadilla/pyjwt#963</a></li>
<li>[pre-commit.ci] pre-commit autoupdate by <a
href="https://github.com/pre-commit-ci"><code>@​pre-commit-ci</code></a>
in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/965">jpadilla/pyjwt#965</a></li>
<li>Add 2.9.0 changelog. Fixes <a
href="https://redirect.github.com/jpadilla/pyjwt/issues/949">#949</a> by
<a href="https://github.com/benvdh"><code>@​benvdh</code></a> in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/967">jpadilla/pyjwt#967</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/mattpollak"><code>@​mattpollak</code></a> made
their first contribution in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/913">jpadilla/pyjwt#913</a></li>
<li><a href="https://github.com/bdraco"><code>@​bdraco</code></a> made
their first contribution in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/940">jpadilla/pyjwt#940</a></li>
<li><a href="https://github.com/luhn"><code>@​luhn</code></a> made their
first contribution in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/886">jpadilla/pyjwt#886</a></li>
<li><a href="https://github.com/kenkoooo"><code>@​kenkoooo</code></a>
made their first contribution in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/958">jpadilla/pyjwt#958</a></li>
<li><a
href="https://github.com/CollinEMac"><code>@​CollinEMac</code></a> made
their first contribution in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/952">jpadilla/pyjwt#952</a></li>
<li><a href="https://github.com/tobloef"><code>@​tobloef</code></a> made
their first contribution in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/963">jpadilla/pyjwt#963</a></li>
<li><a href="https://github.com/benvdh"><code>@​benvdh</code></a> made
their first contribution in <a
href="https://redirect.github.com/jpadilla/pyjwt/pull/967">jpadilla/pyjwt#967</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0">https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst">pyjwt's
changelog</a>.</em></p>
<blockquote>
<h2><code>v2.9.0
&lt;https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0&gt;</code>__</h2>
<p>Changed</p>
<pre><code>
- Drop support for Python 3.7 (EOL) by @hugovk in
`[#910](jpadilla/pyjwt#910)
&lt;https://github.com/jpadilla/pyjwt/pull/910&gt;`__
- Allow JWT issuer claim validation to accept a list of strings too by
@mattpollak in `[#913](jpadilla/pyjwt#913)
&lt;https://github.com/jpadilla/pyjwt/pull/913&gt;`__
<p>Fixed</p>
<pre><code>
- Fix unnecessary string concatenation by @sirosen in
`[#904](jpadilla/pyjwt#904)
&amp;lt;https://github.com/jpadilla/pyjwt/pull/904&amp;gt;`__
- Fix docs for ``jwt.decode_complete`` to include ``strict_aud`` option
by @woodruffw in `[#923](jpadilla/pyjwt#923)
&amp;lt;https://github.com/jpadilla/pyjwt/pull/923&amp;gt;`__
- Fix docs step by @jpadilla in
`[#950](jpadilla/pyjwt#950)
&amp;lt;https://github.com/jpadilla/pyjwt/pull/950&amp;gt;`__
- Fix: Remove an unused variable from example code block by @kenkoooo in
`[#958](jpadilla/pyjwt#958)
&amp;lt;https://github.com/jpadilla/pyjwt/pull/958&amp;gt;`__

Added
</code></pre>
<ul>
<li>Add support for Python 3.12 by <a
href="https://github.com/hugovk"><code>@​hugovk</code></a> in
<code>[#910](jpadilla/pyjwt#910)
&amp;lt;https://github.com/jpadilla/pyjwt/pull/910&amp;gt;</code>__</li>
<li>Improve performance of <code>is_ssh_key</code> + add unit test by <a
href="https://github.com/bdraco"><code>@​bdraco</code></a> in
<code>[#940](jpadilla/pyjwt#940)
&amp;lt;https://github.com/jpadilla/pyjwt/pull/940&amp;gt;</code>__</li>
<li>Allow <code>jwt.decode()</code> to accept a PyJWK object by <a
href="https://github.com/luhn"><code>@​luhn</code></a> in
<code>[#886](jpadilla/pyjwt#886)
&amp;lt;https://github.com/jpadilla/pyjwt/pull/886&amp;gt;</code>__</li>
<li>Make <code>algorithm_name</code> attribute available on PyJWK by <a
href="https://github.com/luhn"><code>@​luhn</code></a> in
<code>[#886](jpadilla/pyjwt#886)
&amp;lt;https://github.com/jpadilla/pyjwt/pull/886&amp;gt;</code>__</li>
<li>Raise <code>InvalidKeyError</code> on invalid PEM keys to be
compatible with cryptography 42.x.x by <a
href="https://github.com/CollinEMac"><code>@​CollinEMac</code></a> in
<code>[#952](jpadilla/pyjwt#952)
&amp;lt;https://github.com/jpadilla/pyjwt/pull/952&amp;gt;</code>__</li>
<li>Raise an exception when required cryptography dependency is missing
by <a href="https://github.com/tobloef"><code>@​tobloef</code></a> in
<code>&amp;lt;https://github.com/jpadilla/pyjwt/pull/963&amp;gt;</code>__
</code></pre></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/jpadilla/pyjwt/commit/868cf4ab2ca5a0a39da40e5a14dd740b203662b2"><code>868cf4a</code></a>
Add 2.9.0 changelog. Fixes <a
href="https://redirect.github.com/jpadilla/pyjwt/issues/949">#949</a>
(<a
href="https://redirect.github.com/jpadilla/pyjwt/issues/967">#967</a>)</li>
<li><a
href="https://github.com/jpadilla/pyjwt/commit/304a3df14262aab01407803f97bd26c3eb2c4b10"><code>304a3df</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/jpadilla/pyjwt/issues/965">#965</a>)</li>
<li><a
href="https://github.com/jpadilla/pyjwt/commit/527fec277e8215a197f8facd3778b359043704ef"><code>527fec2</code></a>
Raise exception when required cryptography dependency is missing (<a
href="https://redirect.github.com/jpadilla/pyjwt/issues/963">#963</a>)</li>
<li><a
href="https://github.com/jpadilla/pyjwt/commit/18a50bedb03e894845420b95a58ce933b135659c"><code>18a50be</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/jpadilla/pyjwt/issues/960">#960</a>)</li>
<li><a
href="https://github.com/jpadilla/pyjwt/commit/4703f8780e532ef932f4a493b642ac5a6c1be53c"><code>4703f87</code></a>
Handle load_pem_public_key ValueError (<a
href="https://redirect.github.com/jpadilla/pyjwt/issues/952">#952</a>)</li>
<li><a
href="https://github.com/jpadilla/pyjwt/commit/9dc732f6444a0246e8d5c344110d6246bff89495"><code>9dc732f</code></a>
Update usage.rst (<a
href="https://redirect.github.com/jpadilla/pyjwt/issues/958">#958</a>)</li>
<li><a
href="https://github.com/jpadilla/pyjwt/commit/ab8176abe21e550dbc1c9a6bb7e78ad80853bfb1"><code>ab8176a</code></a>
Decode with PyJWK (<a
href="https://redirect.github.com/jpadilla/pyjwt/issues/886">#886</a>)</li>
<li><a
href="https://github.com/jpadilla/pyjwt/commit/c0a071dc0178542ad24e5a7b2e6103ba1d4c0517"><code>c0a071d</code></a>
chore: update actions/download-artifact</li>
<li><a
href="https://github.com/jpadilla/pyjwt/commit/2afbe32b0dbbcdb272a085d95ac5fdc609493d04"><code>2afbe32</code></a>
Add coverage and improve performance of is_ssh_key (<a
href="https://redirect.github.com/jpadilla/pyjwt/issues/940">#940</a>)</li>
<li><a
href="https://github.com/jpadilla/pyjwt/commit/97345a7635bc24d1eb59ab8d0c73389f38187472"><code>97345a7</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/jpadilla/pyjwt/issues/953">#953</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pyjwt&package-manager=pip&previous-version=2.8.0&new-version=2.9.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants