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

Add coverage and improve performance of is_ssh_key #940

Merged
merged 2 commits into from
May 11, 2024

Conversation

bdraco
Copy link
Contributor

@bdraco bdraco commented Jan 20, 2024

After looking though cryptography's code, checking if the key starts with the 6 known types is enough here.

jwt/utils.py Outdated Show resolved Hide resolved
tests/test_utils.py Outdated Show resolved Hide resolved
@bdraco bdraco marked this pull request as ready for review January 20, 2024 22:08
@github-actions github-actions bot added the stale Issues without activity for more than 60 days label Mar 21, 2024
@bdraco
Copy link
Contributor Author

bdraco commented Mar 23, 2024

No stale

@github-actions github-actions bot removed the stale Issues without activity for more than 60 days label Mar 24, 2024
@jpadilla jpadilla added the keep label Mar 27, 2024
@jpadilla jpadilla merged commit 2afbe32 into jpadilla:master May 11, 2024
1 check failed
@bdraco bdraco deleted the is_ssh_key branch May 20, 2024 02:57
@bdraco
Copy link
Contributor Author

bdraco commented May 20, 2024

thanks

inmantaci pushed a commit to inmanta/inmanta-core that referenced this pull request 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 pushed a commit to inmanta/inmanta-core that referenced this pull request 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 pushed a commit to NHSDigital/eps-prescription-status-update-api that referenced this pull request 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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
github-merge-queue bot pushed a commit to TechlauncherFireApp/backend that referenced this pull request 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] <support@github.com>
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants