Bug 26902: RSA SSA and PSS should check for JWK use value sig, not enc
authorMark Watson <watsonm@netflix.com>
Thu, 25 Sep 2014 11:07:56 -0700
changeset 230 78ac4869f186
parent 229 d3f5c9c71fb3
child 231 5b2b1e7a8d4c
Bug 26902: RSA SSA and PSS should check for JWK use value sig, not enc
spec/Overview-WebCryptoAPI.xml
spec/Overview.html
--- a/spec/Overview-WebCryptoAPI.xml	Thu Sep 25 11:00:42 2014 -0700
+++ b/spec/Overview-WebCryptoAPI.xml	Thu Sep 25 11:07:56 2014 -0700
@@ -4413,7 +4413,7 @@
                         <li>
                           <p>
                             If the <code>"use"</code> field of <var>jwk</var> is present, and is
-                            not a case-sensitive string match to <code>"enc"</code>,
+                            not a case-sensitive string match to <code>"sig"</code>,
                             then <a href="#concept-return-an-error">return an error</a> named
                             <a href="#dfn-DataError"><code>DataError</code></a>.
                           </p>
@@ -5739,7 +5739,7 @@
                         <li>
                           <p>
                             If the <code>"use"</code> field of <var>jwk</var> is present, and is
-                            not a case-sensitive string match to <code>"enc"</code>,
+                            not a case-sensitive string match to <code>"sig"</code>,
                             then <a href="#concept-return-an-error">return an error</a> named
                             <a href="#dfn-DataError"><code>DataError</code></a>.
                           </p>
--- a/spec/Overview.html	Thu Sep 25 11:00:42 2014 -0700
+++ b/spec/Overview.html	Thu Sep 25 11:07:56 2014 -0700
@@ -4326,7 +4326,7 @@
                         <li>
                           <p>
                             If the <code>"use"</code> field of <var>jwk</var> is present, and is
-                            not a case-sensitive string match to <code>"enc"</code>,
+                            not a case-sensitive string match to <code>"sig"</code>,
                             then <a href="#concept-return-an-error">return an error</a> named
                             <a href="#dfn-DataError"><code>DataError</code></a>.
                           </p>
@@ -5598,7 +5598,7 @@
                         <li>
                           <p>
                             If the <code>"use"</code> field of <var>jwk</var> is present, and is
-                            not a case-sensitive string match to <code>"enc"</code>,
+                            not a case-sensitive string match to <code>"sig"</code>,
                             then <a href="#concept-return-an-error">return an error</a> named
                             <a href="#dfn-DataError"><code>DataError</code></a>.
                           </p>