@@ -12,3 +12,3 @@ import { JOSEError, JWKSNoMatchingKey, JWKSTimeout } from '../util/errors.js'; | ||
| const NAME = 'jose'; | ||
| const VERSION = 'v6.2.2'; | ||
| const VERSION = 'v6.2.3'; | ||
| USER_AGENT = `${NAME}/${VERSION}`; | ||
@@ -15,0 +15,0 @@ } |
@@ -20,2 +20,5 @@ import { encode as b64u } from '../util/base64url.js'; | ||
| } | ||
| if (!Number.isSafeInteger(p2c) || Math.sign(p2c) !== 1) { | ||
| throw new JWEInvalid('PBES2 Count Input must be a positive integer'); | ||
| } | ||
| const salt = concatSalt(alg, p2s); | ||
@@ -22,0 +25,0 @@ const keylen = parseInt(alg.slice(13, 16), 10); |
+1
-1
| { | ||
| "name": "jose", | ||
| "version": "6.2.2", | ||
| "version": "6.2.3", | ||
| "description": "JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
257736
0.06%6305
0.05%