jose-node-esm-runtime
Advanced tools
Comparing version 5.6.1 to 5.6.2
@@ -13,3 +13,3 @@ import fetchJwks from '../runtime/fetch_jwks.js'; | ||
const NAME = 'jose'; | ||
const VERSION = 'v5.6.1'; | ||
const VERSION = 'v5.6.2'; | ||
USER_AGENT = `${NAME}/${VERSION}`; | ||
@@ -16,0 +16,0 @@ } |
@@ -14,4 +14,4 @@ import { unwrap as aesKw } from '../runtime/aeskw.js'; | ||
async function decryptKeyManagement(alg, key, encryptedKey, joseHeader, options) { | ||
checkKeyType(alg, key, 'decrypt'); | ||
key = (await normalize.normalizePrivateKey?.(key, alg)) || key; | ||
checkKeyType(alg, key, 'decrypt'); | ||
switch (alg) { | ||
@@ -18,0 +18,0 @@ case 'dir': { |
@@ -16,4 +16,4 @@ import { wrap as aesKw } from '../runtime/aeskw.js'; | ||
let cek; | ||
checkKeyType(alg, key, 'encrypt'); | ||
key = (await normalize.normalizePublicKey?.(key, alg)) || key; | ||
checkKeyType(alg, key, 'encrypt'); | ||
switch (alg) { | ||
@@ -20,0 +20,0 @@ case 'dir': { |
{ | ||
"name": "jose-node-esm-runtime", | ||
"version": "5.6.1", | ||
"version": "5.6.2", | ||
"homepage": "https://github.com/panva/jose", | ||
@@ -5,0 +5,0 @@ "repository": "panva/jose", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package