jose 4.5.1 → 4.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -13,7 +13,7 @@ export async function compactDecrypt(jwe, key, options) {
|
|
|
13
13
|
throw new JWEInvalid('Invalid Compact JWE');
|
|
14
14
|
}
|
|
15
15
|
const decrypted = await flattenedDecrypt({
|
|
16
|
-
ciphertext
|
|
16
|
+
ciphertext,
|
|
17
17
|
iv: (iv || undefined),
|
|
18
18
|
protected: protectedHeader || undefined,
|
|
19
19
|
tag: (tag || undefined),
|
|
@@ -16,7 +16,7 @@ async function compactDecrypt(jwe, key, options) {
|
|
|
16
16
|
throw new errors_js_1.JWEInvalid('Invalid Compact JWE');
|
|
17
17
|
}
|
|
18
18
|
const decrypted = await (0, decrypt_js_1.flattenedDecrypt)({
|
|
19
|
-
ciphertext
|
|
19
|
+
ciphertext,
|
|
20
20
|
iv: (iv || undefined),
|
|
21
21
|
protected: protectedHeader || undefined,
|
|
22
22
|
tag: (tag || undefined),
|
|
@@ -13,7 +13,7 @@ export async function compactDecrypt(jwe, key, options) {
|
|
|
13
13
|
throw new JWEInvalid('Invalid Compact JWE');
|
|
14
14
|
}
|
|
15
15
|
const decrypted = await flattenedDecrypt({
|
|
16
|
-
ciphertext
|
|
16
|
+
ciphertext,
|
|
17
17
|
iv: (iv || undefined),
|
|
18
18
|
protected: protectedHeader || undefined,
|
|
19
19
|
tag: (tag || undefined),
|