From bb80cdf5a6157ca1f3a276e12e9faae9a4739cb7 Mon Sep 17 00:00:00 2001
From: dh_ackergaul <dh_ackergaul@dh-software.de>
Date: Di, 23 Jun 2026 11:16:18 +0200
Subject: [PATCH] Update emvheya - 23.6.2026, 11:16:10 [JD]
---
manufacturer/_furnview/furnplan-web/node_modules/jose/dist/webapi/lib/aesgcmkw.js | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/manufacturer/_furnview/furnplan-web/node_modules/jose/dist/webapi/lib/aesgcmkw.js b/manufacturer/_furnview/furnplan-web/node_modules/jose/dist/webapi/lib/aesgcmkw.js
new file mode 100644
index 0000000..ca2655e
--- /dev/null
+++ b/manufacturer/_furnview/furnplan-web/node_modules/jose/dist/webapi/lib/aesgcmkw.js
@@ -0,0 +1,15 @@
+import { encrypt, decrypt } from './content_encryption.js';
+import { encode as b64u } from '../util/base64url.js';
+export async function wrap(alg, key, cek, iv) {
+ const jweAlgorithm = alg.slice(0, 7);
+ const wrapped = await encrypt(jweAlgorithm, cek, key, iv, new Uint8Array());
+ return {
+ encryptedKey: wrapped.ciphertext,
+ iv: b64u(wrapped.iv),
+ tag: b64u(wrapped.tag),
+ };
+}
+export async function unwrap(alg, key, encryptedKey, iv, tag) {
+ const jweAlgorithm = alg.slice(0, 7);
+ return decrypt(jweAlgorithm, key, encryptedKey, iv, tag, new Uint8Array());
+}
--
Gitblit v1.9.3