Skip to content

Commit

Permalink
Make JWK format validation language more specific
Browse files Browse the repository at this point in the history
SHA: 1fc464b
Reason: push, by twiss

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
twiss and github-actions[bot] committed Oct 21, 2024
1 parent 40fde12 commit 417287b
Showing 1 changed file with 19 additions and 11 deletions.
30 changes: 19 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@
"id": "safecurves"
}
},
"publishISODate": "2024-10-15T00:00:00.000Z",
"generatedSubtitle": "Draft Community Group Report 15 October 2024"
"publishISODate": "2024-10-21T00:00:00.000Z",
"generatedSubtitle": "Draft Community Group Report 21 October 2024"
}</script>
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2021/cg-draft"></head>

Expand All @@ -182,7 +182,7 @@
<h1 id="title" class="title">Secure Curves in the Web Cryptography API</h1>
<p id="w3c-state">
<a href="https://www.w3.org/standards/types#reports">Draft Community Group Report</a>
<time class="dt-published" datetime="2024-10-15">15 October 2024</time>
<time class="dt-published" datetime="2024-10-21">21 October 2024</time>
</p>
<dl>

Expand Down Expand Up @@ -775,7 +775,8 @@ <h1 id="title" class="title">Secure Curves in the Web Cryptography API</h1>
<ol>
<li>
<p>
If <var>jwk</var> does not meet the requirements of Section 2
If <var>jwk</var> does not meet the requirements of
the JWK private key format described in Section 2
of [<cite><a class="bibref" data-link-type="biblio" href="#bib-rfc8037" title="CFRG Elliptic Curve Diffie-Hellman (ECDH) and Signatures in JSON Object Signing and Encryption (JOSE)">RFC8037</a></cite>], then <a data-link-type="dfn|abstract-op" data-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a <a data-link-type="idl" data-lt="DataError" data-type="exception" href="https://webidl.spec.whatwg.org/#dataerror"><code>DataError</code></a>.
</p>
</li>
Expand All @@ -799,7 +800,8 @@ <h1 id="title" class="title">Secure Curves in the Web Cryptography API</h1>
<ol>
<li>
<p>
If <var>jwk</var> does not meet the requirements of Section 2
If <var>jwk</var> does not meet the requirements of
the JWK public key format described in Section 2
of [<cite><a class="bibref" data-link-type="biblio" href="#bib-rfc8037" title="CFRG Elliptic Curve Diffie-Hellman (ECDH) and Signatures in JSON Object Signing and Encryption (JOSE)">RFC8037</a></cite>], then <a data-link-type="dfn|abstract-op" data-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a <a data-link-type="idl" data-lt="DataError" data-type="exception" href="https://webidl.spec.whatwg.org/#dataerror"><code>DataError</code></a>.
</p>
</li>
Expand Down Expand Up @@ -1627,7 +1629,8 @@ <h1 id="title" class="title">Secure Curves in the Web Cryptography API</h1>
<ol>
<li>
<p>
If <var>jwk</var> does not meet the requirements of Section 2
If <var>jwk</var> does not meet the requirements of
the JWK private key format described in Section 2
of [<cite><a class="bibref" data-link-type="biblio" href="#bib-rfc8037" title="CFRG Elliptic Curve Diffie-Hellman (ECDH) and Signatures in JSON Object Signing and Encryption (JOSE)">RFC8037</a></cite>], then <a data-link-type="dfn|abstract-op" data-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a <a data-link-type="idl" data-lt="DataError" data-type="exception" href="https://webidl.spec.whatwg.org/#dataerror"><code>DataError</code></a>.
</p>
</li>
Expand All @@ -1651,7 +1654,8 @@ <h1 id="title" class="title">Secure Curves in the Web Cryptography API</h1>
<ol>
<li>
<p>
If <var>jwk</var> does not meet the requirements of Section 2
If <var>jwk</var> does not meet the requirements of
the JWK public key format described in Section 2
of [<cite><a class="bibref" data-link-type="biblio" href="#bib-rfc8037" title="CFRG Elliptic Curve Diffie-Hellman (ECDH) and Signatures in JSON Object Signing and Encryption (JOSE)">RFC8037</a></cite>], then <a data-link-type="dfn|abstract-op" data-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a <a data-link-type="idl" data-lt="DataError" data-type="exception" href="https://webidl.spec.whatwg.org/#dataerror"><code>DataError</code></a>.
</p>
</li>
Expand Down Expand Up @@ -2492,7 +2496,8 @@ <h1 id="title" class="title">Secure Curves in the Web Cryptography API</h1>
<ol>
<li>
<p>
If <var>jwk</var> does not meet the requirements of Section 2
If <var>jwk</var> does not meet the requirements of
the JWK private key format described in Section 2
of [<cite><a class="bibref" data-link-type="biblio" href="#bib-rfc8037" title="CFRG Elliptic Curve Diffie-Hellman (ECDH) and Signatures in JSON Object Signing and Encryption (JOSE)">RFC8037</a></cite>], then <a data-link-type="dfn|abstract-op" data-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a <a data-link-type="idl" data-lt="DataError" data-type="exception" href="https://webidl.spec.whatwg.org/#dataerror"><code>DataError</code></a>.
</p>
</li>
Expand All @@ -2516,7 +2521,8 @@ <h1 id="title" class="title">Secure Curves in the Web Cryptography API</h1>
<ol>
<li>
<p>
If <var>jwk</var> does not meet the requirements of Section 2
If <var>jwk</var> does not meet the requirements of
the JWK public key format described in Section 2
of [<cite><a class="bibref" data-link-type="biblio" href="#bib-rfc8037" title="CFRG Elliptic Curve Diffie-Hellman (ECDH) and Signatures in JSON Object Signing and Encryption (JOSE)">RFC8037</a></cite>], then <a data-link-type="dfn|abstract-op" data-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a <a data-link-type="idl" data-lt="DataError" data-type="exception" href="https://webidl.spec.whatwg.org/#dataerror"><code>DataError</code></a>.
</p>
</li>
Expand Down Expand Up @@ -3395,7 +3401,8 @@ <h1 id="title" class="title">Secure Curves in the Web Cryptography API</h1>
<ol>
<li>
<p>
If <var>jwk</var> does not meet the requirements of Section 2
If <var>jwk</var> does not meet the requirements of
the JWK private key format described in Section 2
of [<cite><a class="bibref" data-link-type="biblio" href="#bib-rfc8037" title="CFRG Elliptic Curve Diffie-Hellman (ECDH) and Signatures in JSON Object Signing and Encryption (JOSE)">RFC8037</a></cite>], then <a data-link-type="dfn|abstract-op" data-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a <a data-link-type="idl" data-lt="DataError" data-type="exception" href="https://webidl.spec.whatwg.org/#dataerror"><code>DataError</code></a>.
</p>
</li>
Expand All @@ -3419,7 +3426,8 @@ <h1 id="title" class="title">Secure Curves in the Web Cryptography API</h1>
<ol>
<li>
<p>
If <var>jwk</var> does not meet the requirements of Section 2
If <var>jwk</var> does not meet the requirements of
the JWK public key format described in Section 2
of [<cite><a class="bibref" data-link-type="biblio" href="#bib-rfc8037" title="CFRG Elliptic Curve Diffie-Hellman (ECDH) and Signatures in JSON Object Signing and Encryption (JOSE)">RFC8037</a></cite>], then <a data-link-type="dfn|abstract-op" data-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a <a data-link-type="idl" data-lt="DataError" data-type="exception" href="https://webidl.spec.whatwg.org/#dataerror"><code>DataError</code></a>.
</p>
</li>
Expand Down

0 comments on commit 417287b

Please sign in to comment.