From 38616165294bbe7ea4549376fb09bd746850eab1 Mon Sep 17 00:00:00 2001 From: Ajitomi Daisuke Date: Fri, 18 Oct 2024 05:39:34 +0900 Subject: [PATCH 1/3] Rename package names for node sample. --- .../samples/node/package.json | 2 +- packages/core/samples/node/package-lock.json | 37 ------------------- packages/core/samples/node/package.json | 2 +- .../dhkem-secp256k1/samples/node/package.json | 2 +- .../dhkem-x25519/samples/node/package.json | 2 +- packages/dhkem-x448/samples/node/package.json | 2 +- packages/hpke-js/samples/node/package.json | 2 +- .../samples/node/package.json | 2 +- 8 files changed, 7 insertions(+), 44 deletions(-) delete mode 100644 packages/core/samples/node/package-lock.json diff --git a/packages/chacha20poly1305/samples/node/package.json b/packages/chacha20poly1305/samples/node/package.json index c122c560b..bb67eec3c 100644 --- a/packages/chacha20poly1305/samples/node/package.json +++ b/packages/chacha20poly1305/samples/node/package.json @@ -1,5 +1,5 @@ { - "name": "node-hpke-core", + "name": "samples-node-hpke-chacha20poly1305", "version": "1.0.0", "description": "A sample code of @hpke/core.", "type": "module", diff --git a/packages/core/samples/node/package-lock.json b/packages/core/samples/node/package-lock.json deleted file mode 100644 index c9759dc78..000000000 --- a/packages/core/samples/node/package-lock.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "name": "node-hpke-core", - "version": "1.0.0", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "node-hpke-core", - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@hpke/core": "^1.5.0" - } - }, - "node_modules/@hpke/common": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/@hpke/common/-/common-1.4.3.tgz", - "integrity": "sha512-jLM6eqINUOqFYHA36qxo/BoLL1k1TW3xqAl996GyMXK1E7cGL1jTp0igBcBrEmHPC+Pl2RbpyOZlYyWC91mt2g==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@hpke/core": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@hpke/core/-/core-1.5.0.tgz", - "integrity": "sha512-l39NqGCQPUc2pQrZwqoAkKMdL1xwVson+ZaQl69LF1dOccKtHBwgu2FBjzo2RpkLE3sNC3RSqVVPDqHptPFRrw==", - "license": "MIT", - "dependencies": { - "@hpke/common": "^1.4.3" - }, - "engines": { - "node": ">=16.0.0" - } - } - } -} diff --git a/packages/core/samples/node/package.json b/packages/core/samples/node/package.json index 370b03472..1b2a9327a 100644 --- a/packages/core/samples/node/package.json +++ b/packages/core/samples/node/package.json @@ -1,5 +1,5 @@ { - "name": "node-hpke-core", + "name": "samples-node-hpke-core", "version": "1.0.0", "description": "A sample code of @hpke/core.", "type": "module", diff --git a/packages/dhkem-secp256k1/samples/node/package.json b/packages/dhkem-secp256k1/samples/node/package.json index 17ef844de..64a90c20c 100644 --- a/packages/dhkem-secp256k1/samples/node/package.json +++ b/packages/dhkem-secp256k1/samples/node/package.json @@ -1,5 +1,5 @@ { - "name": "node-hpke-core", + "name": "samples-node-hpke-dhkem-secp256k1", "version": "1.0.0", "description": "A sample code of @hpke/core.", "type": "module", diff --git a/packages/dhkem-x25519/samples/node/package.json b/packages/dhkem-x25519/samples/node/package.json index 15210abb3..3a1b0fc04 100644 --- a/packages/dhkem-x25519/samples/node/package.json +++ b/packages/dhkem-x25519/samples/node/package.json @@ -1,5 +1,5 @@ { - "name": "node-hpke-core", + "name": "samples-node-hpke-dhkem-x25519", "version": "1.0.0", "description": "A sample code of @hpke/core.", "type": "module", diff --git a/packages/dhkem-x448/samples/node/package.json b/packages/dhkem-x448/samples/node/package.json index 6a6373581..b191a53ba 100644 --- a/packages/dhkem-x448/samples/node/package.json +++ b/packages/dhkem-x448/samples/node/package.json @@ -1,5 +1,5 @@ { - "name": "node-hpke-core", + "name": "samples-node-hpke-dhkem-x448", "version": "1.0.0", "description": "A sample code of @hpke/core.", "type": "module", diff --git a/packages/hpke-js/samples/node/package.json b/packages/hpke-js/samples/node/package.json index 9b483ba02..8e1214e7d 100644 --- a/packages/hpke-js/samples/node/package.json +++ b/packages/hpke-js/samples/node/package.json @@ -1,5 +1,5 @@ { - "name": "node-hpke-js", + "name": "samples-node-hpke-js", "version": "1.0.0", "description": "A sample code of hpke-js.", "type": "module", diff --git a/packages/hybridkem-x25519-kyber768/samples/node/package.json b/packages/hybridkem-x25519-kyber768/samples/node/package.json index f36e082d4..500faaa01 100644 --- a/packages/hybridkem-x25519-kyber768/samples/node/package.json +++ b/packages/hybridkem-x25519-kyber768/samples/node/package.json @@ -1,5 +1,5 @@ { - "name": "node-hpke-core", + "name": "samples-node-hpke-hybridkem-x25519-kyber768", "version": "1.0.0", "description": "A sample code of @hpke/core.", "type": "module", From bf53efa430312006a55c9997000face9da5bbdbf Mon Sep 17 00:00:00 2001 From: Ajitomi Daisuke Date: Fri, 18 Oct 2024 05:42:06 +0900 Subject: [PATCH 2/3] Add samples/node to npm workspace. --- npm/package-lock.json | 92 ++++++++++++++++++++++++++++++++++++++++++- npm/package.json | 3 +- 2 files changed, 93 insertions(+), 2 deletions(-) diff --git a/npm/package-lock.json b/npm/package-lock.json index 6809f99ec..654f9e4ff 100644 --- a/npm/package-lock.json +++ b/npm/package-lock.json @@ -13,9 +13,71 @@ "packages/dhkem-x448", "packages/dhkem-secp256k1", "packages/hybridkem-x25519-kyber768", - "packages/hpke-js" + "packages/hpke-js", + "../**/*/samples/node" ] }, + "../packages/chacha20poly1305/samples/node": { + "name": "samples-node-hpke-chacha20poly1305", + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "@hpke/chacha20poly1305": "^1.4.3", + "@hpke/core": "^1.4.3" + } + }, + "../packages/core/samples/node": { + "name": "samples-node-hpke-core", + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "@hpke/core": "^1.5.0" + } + }, + "../packages/dhkem-secp256k1/samples/node": { + "name": "samples-node-hpke-dhkem-secp256k1", + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "@hpke/core": "^1.5.0", + "@hpke/dhkem-secp256k1": "^1.5.0" + } + }, + "../packages/dhkem-x25519/samples/node": { + "name": "samples-node-hpke-dhkem-x25519", + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "@hpke/core": "^1.5.0", + "@hpke/dhkem-x25519": "^1.5.0" + } + }, + "../packages/dhkem-x448/samples/node": { + "name": "samples-node-hpke-dhkem-x448", + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "@hpke/core": "^1.4.3", + "@hpke/dhkem-x448": "^1.4.3" + } + }, + "../packages/hpke-js/samples/node": { + "name": "samples-node-hpke-js", + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "hpke-js": "^1.5.0" + } + }, + "../packages/hybridkem-x25519-kyber768/samples/node": { + "name": "samples-node-hpke-hybridkem-x25519-kyber768", + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "@hpke/core": "^1.5.0", + "@hpke/hybridkem-x25519-kyber768": "^1.5.0" + } + }, "node_modules/@deno/shim-deno": { "version": "0.18.2", "resolved": "https://registry.npmjs.org/@deno/shim-deno/-/shim-deno-0.18.2.tgz", @@ -126,6 +188,34 @@ "dev": true, "license": "ISC" }, + "node_modules/samples-node-hpke-chacha20poly1305": { + "resolved": "../packages/chacha20poly1305/samples/node", + "link": true + }, + "node_modules/samples-node-hpke-core": { + "resolved": "../packages/core/samples/node", + "link": true + }, + "node_modules/samples-node-hpke-dhkem-secp256k1": { + "resolved": "../packages/dhkem-secp256k1/samples/node", + "link": true + }, + "node_modules/samples-node-hpke-dhkem-x25519": { + "resolved": "../packages/dhkem-x25519/samples/node", + "link": true + }, + "node_modules/samples-node-hpke-dhkem-x448": { + "resolved": "../packages/dhkem-x448/samples/node", + "link": true + }, + "node_modules/samples-node-hpke-hybridkem-x25519-kyber768": { + "resolved": "../packages/hybridkem-x25519-kyber768/samples/node", + "link": true + }, + "node_modules/samples-node-hpke-js": { + "resolved": "../packages/hpke-js/samples/node", + "link": true + }, "node_modules/undici-types": { "version": "6.19.8", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", diff --git a/npm/package.json b/npm/package.json index 44a3cbea4..07b214700 100644 --- a/npm/package.json +++ b/npm/package.json @@ -9,6 +9,7 @@ "packages/dhkem-x448", "packages/dhkem-secp256k1", "packages/hybridkem-x25519-kyber768", - "packages/hpke-js" + "packages/hpke-js", + "../**/*/samples/node" ] } From f66d0534c2af8c2fcf31db2c9305af0805e46d01 Mon Sep 17 00:00:00 2001 From: Ajitomi Daisuke Date: Fri, 18 Oct 2024 05:48:24 +0900 Subject: [PATCH 3/3] Remove package-lock.json for node samples. --- .../samples/node/package-lock.json | 60 -------- .../samples/node/package-lock.json | 93 ------------- .../samples/node/package-lock.json | 76 ---------- .../dhkem-x448/samples/node/package-lock.json | 76 ---------- .../hpke-js/samples/node/package-lock.json | 131 ------------------ .../samples/node/package-lock.json | 94 ------------- 6 files changed, 530 deletions(-) delete mode 100644 packages/chacha20poly1305/samples/node/package-lock.json delete mode 100644 packages/dhkem-secp256k1/samples/node/package-lock.json delete mode 100644 packages/dhkem-x25519/samples/node/package-lock.json delete mode 100644 packages/dhkem-x448/samples/node/package-lock.json delete mode 100644 packages/hpke-js/samples/node/package-lock.json delete mode 100644 packages/hybridkem-x25519-kyber768/samples/node/package-lock.json diff --git a/packages/chacha20poly1305/samples/node/package-lock.json b/packages/chacha20poly1305/samples/node/package-lock.json deleted file mode 100644 index 2b34b97b7..000000000 --- a/packages/chacha20poly1305/samples/node/package-lock.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "name": "node-hpke-core", - "version": "1.0.0", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "node-hpke-core", - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@hpke/chacha20poly1305": "^1.4.3", - "@hpke/core": "^1.4.3" - } - }, - "node_modules/@hpke/chacha20poly1305": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/@hpke/chacha20poly1305/-/chacha20poly1305-1.4.3.tgz", - "integrity": "sha512-0of93jR0wlq2lG4RvXyrzL2qXKvi/ITWSwEp1sSVfxys8wlGU3aKrEwj0NeCXoHHKb5ei/n9VzsdlpC0xZsvFg==", - "license": "MIT", - "dependencies": { - "@hpke/common": "^1.4.3", - "@noble/ciphers": "^0.5.3" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@hpke/common": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/@hpke/common/-/common-1.4.3.tgz", - "integrity": "sha512-jLM6eqINUOqFYHA36qxo/BoLL1k1TW3xqAl996GyMXK1E7cGL1jTp0igBcBrEmHPC+Pl2RbpyOZlYyWC91mt2g==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@hpke/core": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/@hpke/core/-/core-1.4.3.tgz", - "integrity": "sha512-10ZwPlNcoM8t9NN4BV26Q437WQv+bKldSVTDL1XM8PvJYz7HbhhJUKrfyMmLIU8jA93t7hYPsOM12eGlDJtklQ==", - "license": "MIT", - "dependencies": { - "@hpke/common": "^1.4.3" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@noble/ciphers": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-0.5.3.tgz", - "integrity": "sha512-B0+6IIHiqEs3BPMT0hcRmHvEj2QHOLu+uwt+tqDDeVd0oyVzh7BPrDcPjRnV1PV/5LaknXJJQvOuRGR0zQJz+w==", - "license": "MIT", - "funding": { - "url": "https://paulmillr.com/funding/" - } - } - } -} diff --git a/packages/dhkem-secp256k1/samples/node/package-lock.json b/packages/dhkem-secp256k1/samples/node/package-lock.json deleted file mode 100644 index 9e3f06f3b..000000000 --- a/packages/dhkem-secp256k1/samples/node/package-lock.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "name": "node-hpke-core", - "version": "1.0.0", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "node-hpke-core", - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@hpke/core": "^1.5.0", - "@hpke/dhkem-secp256k1": "^1.5.0" - } - }, - "node_modules/@hpke/common": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/@hpke/common/-/common-1.4.3.tgz", - "integrity": "sha512-jLM6eqINUOqFYHA36qxo/BoLL1k1TW3xqAl996GyMXK1E7cGL1jTp0igBcBrEmHPC+Pl2RbpyOZlYyWC91mt2g==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@hpke/core": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@hpke/core/-/core-1.5.0.tgz", - "integrity": "sha512-l39NqGCQPUc2pQrZwqoAkKMdL1xwVson+ZaQl69LF1dOccKtHBwgu2FBjzo2RpkLE3sNC3RSqVVPDqHptPFRrw==", - "license": "MIT", - "dependencies": { - "@hpke/common": "^1.4.3" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@hpke/dhkem-secp256k1": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@hpke/dhkem-secp256k1/-/dhkem-secp256k1-1.5.0.tgz", - "integrity": "sha512-78q6VR70QO85NSxvrN2IkHlK/bolSadhwEURLbtl1MGtAC6YGPc+g0hrEdNDTFvotWfMTw/FoP+rRvMWyee60A==", - "license": "MIT", - "dependencies": { - "@hpke/common": "^1.4.3", - "@hpke/dhkem-x25519": "^1.4.3", - "@noble/curves": "^1.4.2" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@hpke/dhkem-x25519": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/@hpke/dhkem-x25519/-/dhkem-x25519-1.4.3.tgz", - "integrity": "sha512-QFb09/hR/iJKurTvOY1PJ/TGr0CgAf2AO6HeyhP93afa5U3dg4xR038FhMvCw1XTe/hTvww9QoMJ+bAgMOwu7A==", - "license": "MIT", - "dependencies": { - "@hpke/common": "^1.4.3", - "@noble/curves": "^1.4.2", - "@noble/hashes": "^1.4.0" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@noble/curves": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.6.0.tgz", - "integrity": "sha512-TlaHRXDehJuRNR9TfZDNQ45mMEd5dwUwmicsafcIX4SsNiqnCHKjE/1alYPd/lDRVhxdhUAlv8uEhMCI5zjIJQ==", - "license": "MIT", - "dependencies": { - "@noble/hashes": "1.5.0" - }, - "engines": { - "node": "^14.21.3 || >=16" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@noble/hashes": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.5.0.tgz", - "integrity": "sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA==", - "license": "MIT", - "engines": { - "node": "^14.21.3 || >=16" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - } - } -} diff --git a/packages/dhkem-x25519/samples/node/package-lock.json b/packages/dhkem-x25519/samples/node/package-lock.json deleted file mode 100644 index 4f7f781c6..000000000 --- a/packages/dhkem-x25519/samples/node/package-lock.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "name": "node-hpke-core", - "version": "1.0.0", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "node-hpke-core", - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@hpke/core": "^1.5.0", - "@hpke/dhkem-x25519": "^1.5.0" - } - }, - "node_modules/@hpke/common": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/@hpke/common/-/common-1.4.3.tgz", - "integrity": "sha512-jLM6eqINUOqFYHA36qxo/BoLL1k1TW3xqAl996GyMXK1E7cGL1jTp0igBcBrEmHPC+Pl2RbpyOZlYyWC91mt2g==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@hpke/core": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@hpke/core/-/core-1.5.0.tgz", - "integrity": "sha512-l39NqGCQPUc2pQrZwqoAkKMdL1xwVson+ZaQl69LF1dOccKtHBwgu2FBjzo2RpkLE3sNC3RSqVVPDqHptPFRrw==", - "license": "MIT", - "dependencies": { - "@hpke/common": "^1.4.3" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@hpke/dhkem-x25519": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@hpke/dhkem-x25519/-/dhkem-x25519-1.5.0.tgz", - "integrity": "sha512-VSJy+YwRek7KTNiVSZipivI6U9ppQq/9vaHUNv/AEnk1CbbYL9xgDtFa9bf5pfqDEgKnUSwxnUCiO2SztI07jg==", - "license": "MIT", - "dependencies": { - "@hpke/common": "^1.4.3", - "@noble/curves": "^1.4.2", - "@noble/hashes": "^1.4.0" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@noble/curves": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.4.2.tgz", - "integrity": "sha512-TavHr8qycMChk8UwMld0ZDRvatedkzWfH8IiaeGCfymOP5i0hSCozz9vHOL0nkwk7HRMlFnAiKpS2jrUmSybcw==", - "license": "MIT", - "dependencies": { - "@noble/hashes": "1.4.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@noble/hashes": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.4.0.tgz", - "integrity": "sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==", - "license": "MIT", - "engines": { - "node": ">= 16" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - } - } -} diff --git a/packages/dhkem-x448/samples/node/package-lock.json b/packages/dhkem-x448/samples/node/package-lock.json deleted file mode 100644 index 4a502830a..000000000 --- a/packages/dhkem-x448/samples/node/package-lock.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "name": "node-hpke-core", - "version": "1.0.0", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "node-hpke-core", - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@hpke/core": "^1.4.3", - "@hpke/dhkem-x448": "^1.4.3" - } - }, - "node_modules/@hpke/common": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/@hpke/common/-/common-1.4.3.tgz", - "integrity": "sha512-jLM6eqINUOqFYHA36qxo/BoLL1k1TW3xqAl996GyMXK1E7cGL1jTp0igBcBrEmHPC+Pl2RbpyOZlYyWC91mt2g==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@hpke/core": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/@hpke/core/-/core-1.4.3.tgz", - "integrity": "sha512-10ZwPlNcoM8t9NN4BV26Q437WQv+bKldSVTDL1XM8PvJYz7HbhhJUKrfyMmLIU8jA93t7hYPsOM12eGlDJtklQ==", - "license": "MIT", - "dependencies": { - "@hpke/common": "^1.4.3" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@hpke/dhkem-x448": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/@hpke/dhkem-x448/-/dhkem-x448-1.4.3.tgz", - "integrity": "sha512-V5r4AD2O5rNBknDW2G2UlV8+TIX3HEEYRfPbtRMvuP4iAV2o9XcTGFJf31MAYbfMUBFwaQ+abvcCmbOI6bmneA==", - "license": "MIT", - "dependencies": { - "@hpke/common": "^1.4.3", - "@noble/curves": "^1.4.2", - "@noble/hashes": "^1.4.0" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@noble/curves": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.4.2.tgz", - "integrity": "sha512-TavHr8qycMChk8UwMld0ZDRvatedkzWfH8IiaeGCfymOP5i0hSCozz9vHOL0nkwk7HRMlFnAiKpS2jrUmSybcw==", - "license": "MIT", - "dependencies": { - "@noble/hashes": "1.4.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@noble/hashes": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.4.0.tgz", - "integrity": "sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==", - "license": "MIT", - "engines": { - "node": ">= 16" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - } - } -} diff --git a/packages/hpke-js/samples/node/package-lock.json b/packages/hpke-js/samples/node/package-lock.json deleted file mode 100644 index 24e5cd5fc..000000000 --- a/packages/hpke-js/samples/node/package-lock.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "name": "node-hpke-js", - "version": "1.0.0", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "node-hpke-js", - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "hpke-js": "^1.5.0" - } - }, - "node_modules/@hpke/chacha20poly1305": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/@hpke/chacha20poly1305/-/chacha20poly1305-1.4.3.tgz", - "integrity": "sha512-0of93jR0wlq2lG4RvXyrzL2qXKvi/ITWSwEp1sSVfxys8wlGU3aKrEwj0NeCXoHHKb5ei/n9VzsdlpC0xZsvFg==", - "license": "MIT", - "dependencies": { - "@hpke/common": "^1.4.3", - "@noble/ciphers": "^0.5.3" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@hpke/common": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/@hpke/common/-/common-1.4.3.tgz", - "integrity": "sha512-jLM6eqINUOqFYHA36qxo/BoLL1k1TW3xqAl996GyMXK1E7cGL1jTp0igBcBrEmHPC+Pl2RbpyOZlYyWC91mt2g==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@hpke/core": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/@hpke/core/-/core-1.4.3.tgz", - "integrity": "sha512-10ZwPlNcoM8t9NN4BV26Q437WQv+bKldSVTDL1XM8PvJYz7HbhhJUKrfyMmLIU8jA93t7hYPsOM12eGlDJtklQ==", - "license": "MIT", - "dependencies": { - "@hpke/common": "^1.4.3" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@hpke/dhkem-x25519": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/@hpke/dhkem-x25519/-/dhkem-x25519-1.4.3.tgz", - "integrity": "sha512-QFb09/hR/iJKurTvOY1PJ/TGr0CgAf2AO6HeyhP93afa5U3dg4xR038FhMvCw1XTe/hTvww9QoMJ+bAgMOwu7A==", - "license": "MIT", - "dependencies": { - "@hpke/common": "^1.4.3", - "@noble/curves": "^1.4.2", - "@noble/hashes": "^1.4.0" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@hpke/dhkem-x448": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/@hpke/dhkem-x448/-/dhkem-x448-1.4.3.tgz", - "integrity": "sha512-V5r4AD2O5rNBknDW2G2UlV8+TIX3HEEYRfPbtRMvuP4iAV2o9XcTGFJf31MAYbfMUBFwaQ+abvcCmbOI6bmneA==", - "license": "MIT", - "dependencies": { - "@hpke/common": "^1.4.3", - "@noble/curves": "^1.4.2", - "@noble/hashes": "^1.4.0" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@noble/ciphers": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-0.5.3.tgz", - "integrity": "sha512-B0+6IIHiqEs3BPMT0hcRmHvEj2QHOLu+uwt+tqDDeVd0oyVzh7BPrDcPjRnV1PV/5LaknXJJQvOuRGR0zQJz+w==", - "license": "MIT", - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@noble/curves": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.6.0.tgz", - "integrity": "sha512-TlaHRXDehJuRNR9TfZDNQ45mMEd5dwUwmicsafcIX4SsNiqnCHKjE/1alYPd/lDRVhxdhUAlv8uEhMCI5zjIJQ==", - "license": "MIT", - "dependencies": { - "@noble/hashes": "1.5.0" - }, - "engines": { - "node": "^14.21.3 || >=16" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@noble/hashes": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.5.0.tgz", - "integrity": "sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA==", - "license": "MIT", - "engines": { - "node": "^14.21.3 || >=16" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/hpke-js": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/hpke-js/-/hpke-js-1.5.0.tgz", - "integrity": "sha512-ko4OjlbVQxO5q+NuXOSB2hpIQFnR+Xa5QmWlg3g2EFf2SIj8fIwAS422PZfjw+kxNZ/mMz4fvCx7JrL/UDWccQ==", - "license": "MIT", - "dependencies": { - "@hpke/chacha20poly1305": "^1.4.3", - "@hpke/common": "^1.4.3", - "@hpke/core": "^1.4.3", - "@hpke/dhkem-x25519": "^1.4.3", - "@hpke/dhkem-x448": "^1.4.3", - "@noble/hashes": "^1.4.0" - }, - "engines": { - "node": ">=16.0.0" - } - } - } -} diff --git a/packages/hybridkem-x25519-kyber768/samples/node/package-lock.json b/packages/hybridkem-x25519-kyber768/samples/node/package-lock.json deleted file mode 100644 index 22c3be7ec..000000000 --- a/packages/hybridkem-x25519-kyber768/samples/node/package-lock.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "name": "node-hpke-core", - "version": "1.0.0", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "node-hpke-core", - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@hpke/core": "^1.5.0", - "@hpke/hybridkem-x25519-kyber768": "^1.5.0" - } - }, - "node_modules/@hpke/common": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/@hpke/common/-/common-1.4.3.tgz", - "integrity": "sha512-jLM6eqINUOqFYHA36qxo/BoLL1k1TW3xqAl996GyMXK1E7cGL1jTp0igBcBrEmHPC+Pl2RbpyOZlYyWC91mt2g==", - "license": "MIT", - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@hpke/core": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@hpke/core/-/core-1.5.0.tgz", - "integrity": "sha512-l39NqGCQPUc2pQrZwqoAkKMdL1xwVson+ZaQl69LF1dOccKtHBwgu2FBjzo2RpkLE3sNC3RSqVVPDqHptPFRrw==", - "license": "MIT", - "dependencies": { - "@hpke/common": "^1.4.3" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@hpke/dhkem-x25519": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/@hpke/dhkem-x25519/-/dhkem-x25519-1.4.3.tgz", - "integrity": "sha512-QFb09/hR/iJKurTvOY1PJ/TGr0CgAf2AO6HeyhP93afa5U3dg4xR038FhMvCw1XTe/hTvww9QoMJ+bAgMOwu7A==", - "license": "MIT", - "dependencies": { - "@hpke/common": "^1.4.3", - "@noble/curves": "^1.4.2", - "@noble/hashes": "^1.4.0" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@hpke/hybridkem-x25519-kyber768": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@hpke/hybridkem-x25519-kyber768/-/hybridkem-x25519-kyber768-1.5.0.tgz", - "integrity": "sha512-S5dpvK76blw3BC+0sePFrMxobiKDmjjV1hkfSMaS2kjZTjckGkiBgR0gOiE04TeTrC5EkrXqFegNmFOiBdjfsw==", - "license": "MIT", - "dependencies": { - "@hpke/common": "^1.4.3", - "@hpke/core": "^1.4.3", - "@hpke/dhkem-x25519": "^1.4.3", - "@noble/hashes": "^1.4.0" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@noble/curves": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.6.0.tgz", - "integrity": "sha512-TlaHRXDehJuRNR9TfZDNQ45mMEd5dwUwmicsafcIX4SsNiqnCHKjE/1alYPd/lDRVhxdhUAlv8uEhMCI5zjIJQ==", - "license": "MIT", - "dependencies": { - "@noble/hashes": "1.5.0" - }, - "engines": { - "node": "^14.21.3 || >=16" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@noble/hashes": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.5.0.tgz", - "integrity": "sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA==", - "license": "MIT", - "engines": { - "node": "^14.21.3 || >=16" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - } - } -}