diff --git a/deno.lock b/deno.lock index 3acafe32a..cd0f29291 100644 --- a/deno.lock +++ b/deno.lock @@ -34,9 +34,11 @@ "npm:@hpke/dhkem-x25519@^1.3.0": "1.3.1", "npm:@hpke/dhkem-x448@^1.3.0": "1.3.1", "npm:@noble/ciphers@0.5.3": "0.5.3", + "npm:@noble/ciphers@1": "1.0.0", "npm:@noble/ciphers@~0.5.3": "0.5.3", "npm:@noble/curves@1.4.2": "1.4.2", "npm:@noble/curves@^1.4.2": "1.4.2", + "npm:@noble/curves@^1.6.0": "1.6.0", "npm:@noble/hashes@1.4.0": "1.4.0", "npm:@noble/hashes@^1.4.0": "1.4.0", "npm:@noble/hashes@^1.5.0": "1.5.0", @@ -174,7 +176,7 @@ "integrity": "sha512-kX8D5y04o+SxGJSJMA4r3+YtxOSHir7QxRFuANCVB4hr7Dm7oVwce9iVUQJtOPRSc4mddFlRFq4SQyy2mI4KQA==", "dependencies": [ "@hpke/core", - "@noble/ciphers" + "@noble/ciphers@0.5.3" ] }, "@hpke/core@1.3.1": { @@ -184,7 +186,7 @@ "integrity": "sha512-BR0s6GYTbCufMRnG7byuRGvtby61kc3od1AaI+LJDkgmmLdsEcr7mk8cfbMncse1PlHVWLoFcMX67ATyGoDwcw==", "dependencies": [ "@hpke/core", - "@noble/curves", + "@noble/curves@1.4.2", "@noble/hashes@1.4.0" ] }, @@ -192,19 +194,28 @@ "integrity": "sha512-xsy/1nfbi+pbWUZtQAx4uXj9IJ5Db8QAfuT8m0JZq3CZbWy/3qn9WV6NUFdg3pqNW7WEK99yirHyaIXBfqTOIA==", "dependencies": [ "@hpke/core", - "@noble/curves", + "@noble/curves@1.4.2", "@noble/hashes@1.4.0" ] }, "@noble/ciphers@0.5.3": { "integrity": "sha512-B0+6IIHiqEs3BPMT0hcRmHvEj2QHOLu+uwt+tqDDeVd0oyVzh7BPrDcPjRnV1PV/5LaknXJJQvOuRGR0zQJz+w==" }, + "@noble/ciphers@1.0.0": { + "integrity": "sha512-wH5EHOmLi0rEazphPbecAzmjd12I6/Yv/SiHdkA9LSycsQk7RuuTp7am5/o62qYr0RScE7Pc9icXGBbsr6cesA==" + }, "@noble/curves@1.4.2": { "integrity": "sha512-TavHr8qycMChk8UwMld0ZDRvatedkzWfH8IiaeGCfymOP5i0hSCozz9vHOL0nkwk7HRMlFnAiKpS2jrUmSybcw==", "dependencies": [ "@noble/hashes@1.4.0" ] }, + "@noble/curves@1.6.0": { + "integrity": "sha512-TlaHRXDehJuRNR9TfZDNQ45mMEd5dwUwmicsafcIX4SsNiqnCHKjE/1alYPd/lDRVhxdhUAlv8uEhMCI5zjIJQ==", + "dependencies": [ + "@noble/hashes@1.5.0" + ] + }, "@noble/hashes@1.4.0": { "integrity": "sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==" }, @@ -310,7 +321,7 @@ "members": { "packages/chacha20poly1305": { "dependencies": [ - "npm:@noble/ciphers@~0.5.3" + "npm:@noble/ciphers@1" ] }, "packages/chacha20poly1305/samples/deno": { @@ -321,35 +332,35 @@ }, "packages/dhkem-secp256k1": { "dependencies": [ - "npm:@noble/curves@^1.4.2" + "npm:@noble/curves@^1.6.0" ] }, "packages/dhkem-x25519": { "dependencies": [ - "npm:@noble/curves@^1.4.2", - "npm:@noble/hashes@^1.4.0" + "npm:@noble/curves@^1.6.0", + "npm:@noble/hashes@^1.5.0" ] }, "packages/dhkem-x448": { "dependencies": [ - "npm:@noble/curves@^1.4.2", - "npm:@noble/hashes@^1.4.0" + "npm:@noble/curves@^1.6.0", + "npm:@noble/hashes@^1.5.0" ] }, "packages/hpke-js": { "dependencies": [ - "npm:@noble/hashes@^1.4.0" + "npm:@noble/hashes@^1.5.0" ] }, "packages/hybridkem-x-wing": { "dependencies": [ "jsr:@dajiaji/mlkem@^2.2.0", - "npm:@noble/hashes@^1.4.0" + "npm:@noble/hashes@^1.5.0" ] }, "packages/hybridkem-x25519-kyber768": { "dependencies": [ - "npm:@noble/hashes@^1.4.0" + "npm:@noble/hashes@^1.5.0" ] } } diff --git a/import_map.json b/import_map.json index 5de64c818..0ca1e9b61 100644 --- a/import_map.json +++ b/import_map.json @@ -1,14 +1,14 @@ { "imports": { "@dajiaji/mlkem": "npm:mlkem@^2.2.0", - "@noble/ciphers/chacha": "npm:@noble/ciphers@^0.5.3/chacha", - "@noble/curves/ed25519": "npm:@noble/curves@^1.4.2/ed25519", - "@noble/curves/ed448": "npm:@noble/curves@^1.4.2/ed448", - "@noble/curves/secp256k1": "npm:@noble/curves@^1.4.2/secp256k1", - "@noble/hashes/hmac": "npm:@noble/hashes@^1.4.0/hmac", - "@noble/hashes/sha256": "npm:@noble/hashes@^1.4.0/sha256", - "@noble/hashes/sha512": "npm:@noble/hashes@^1.4.0/sha512", - "@noble/hashes/sha3": "npm:@noble/hashes@^1.4.0/sha3", + "@noble/ciphers/chacha": "npm:@noble/ciphers@^1.0.0/chacha", + "@noble/curves/ed25519": "npm:@noble/curves@^1.6.0/ed25519", + "@noble/curves/ed448": "npm:@noble/curves@^1.6.0/ed448", + "@noble/curves/secp256k1": "npm:@noble/curves@^1.6.0/secp256k1", + "@noble/hashes/hmac": "npm:@noble/hashes@^1.5.0/hmac", + "@noble/hashes/sha256": "npm:@noble/hashes@^1.5.0/sha256", + "@noble/hashes/sha512": "npm:@noble/hashes@^1.5.0/sha512", + "@noble/hashes/sha3": "npm:@noble/hashes@^1.5.0/sha3", "@std/assert": "jsr:@std/assert@1.0.0", "@std/path": "jsr:@std/path@^1.0.3", "@std/testing/bdd": "jsr:@std/testing@^1.0.0/bdd" diff --git a/npm/import_map.json b/npm/import_map.json index 88e870ad6..dc6a2511b 100644 --- a/npm/import_map.json +++ b/npm/import_map.json @@ -7,14 +7,14 @@ "@hpke/core": "npm:@hpke/core@^1.4.3", "@hpke/dhkem-x25519": "npm:@hpke/dhkem-x25519@^1.4.3", "@hpke/dhkem-x448": "npm:@hpke/dhkem-x448@^1.4.3", - "@noble/ciphers/chacha": "npm:@noble/ciphers@^0.5.3/chacha", - "@noble/curves/ed25519": "npm:@noble/curves@^1.4.2/ed25519", - "@noble/curves/ed448": "npm:@noble/curves@^1.4.2/ed448", - "@noble/curves/secp256k1": "npm:@noble/curves@^1.4.2/secp256k1", - "@noble/hashes/hmac": "npm:@noble/hashes@^1.4.0/hmac", - "@noble/hashes/sha256": "npm:@noble/hashes@^1.4.0/sha256", - "@noble/hashes/sha512": "npm:@noble/hashes@^1.4.0/sha512", - "@noble/hashes/sha3": "npm:@noble/hashes@^1.4.0/sha3", + "@noble/ciphers/chacha": "npm:@noble/ciphers@^1.0.0/chacha", + "@noble/curves/ed25519": "npm:@noble/curves@^1.6.0/ed25519", + "@noble/curves/ed448": "npm:@noble/curves@^1.6.0/ed448", + "@noble/curves/secp256k1": "npm:@noble/curves@^1.6.0/secp256k1", + "@noble/hashes/hmac": "npm:@noble/hashes@^1.5.0/hmac", + "@noble/hashes/sha256": "npm:@noble/hashes@^1.5.0/sha256", + "@noble/hashes/sha512": "npm:@noble/hashes@^1.5.0/sha512", + "@noble/hashes/sha3": "npm:@noble/hashes@^1.5.0/sha3", "@std/assert": "jsr:@std/assert@1.0.0", "@std/fs": "jsr:@std/fs@^1.0.4", "@std/path": "jsr:@std/path@^1.0.3", diff --git a/npm/package-lock.json b/npm/package-lock.json index 5bddb19a6..2d040fb18 100644 --- a/npm/package-lock.json +++ b/npm/package-lock.json @@ -763,33 +763,39 @@ } }, "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==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-1.0.0.tgz", + "integrity": "sha512-wH5EHOmLi0rEazphPbecAzmjd12I6/Yv/SiHdkA9LSycsQk7RuuTp7am5/o62qYr0RScE7Pc9icXGBbsr6cesA==", "license": "MIT", + "engines": { + "node": "^14.21.3 || >=16" + }, "funding": { "url": "https://paulmillr.com/funding/" } }, "node_modules/@noble/curves": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.5.0.tgz", - "integrity": "sha512-J5EKamIHnKPyClwVrzmaf5wSdQXgdHcPZIZLu3bwnbeCx8/7NPK5q2ZBWF+5FvYGByjiQQsJYX6jfgB2wDPn3A==", + "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.4.0" + "@noble/hashes": "1.5.0" + }, + "engines": { + "node": "^14.21.3 || >=16" }, "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==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.5.0.tgz", + "integrity": "sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA==", "license": "MIT", "engines": { - "node": ">= 16" + "node": "^14.21.3 || >=16" }, "funding": { "url": "https://paulmillr.com/funding/" @@ -1893,18 +1899,6 @@ "node": ">=16.0.0" } }, - "node_modules/mlkem/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/mlly": { "version": "1.7.2", "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.7.2.tgz", @@ -3557,7 +3551,7 @@ "license": "MIT", "dependencies": { "@hpke/common": "^1.4.3", - "@noble/ciphers": "^0.5.3" + "@noble/ciphers": "^1.0.0" }, "devDependencies": { "@deno/shim-deno": "~0.18.0", @@ -3605,7 +3599,7 @@ "dependencies": { "@hpke/common": "^1.4.3", "@hpke/dhkem-x25519": "^1.4.3", - "@noble/curves": "^1.4.2" + "@noble/curves": "^1.6.0" }, "devDependencies": { "@deno/shim-deno": "~0.18.0", @@ -3623,8 +3617,8 @@ "license": "MIT", "dependencies": { "@hpke/common": "^1.4.3", - "@noble/curves": "^1.4.2", - "@noble/hashes": "^1.4.0" + "@noble/curves": "^1.6.0", + "@noble/hashes": "^1.5.0" }, "devDependencies": { "@deno/shim-deno": "~0.18.0", @@ -3642,8 +3636,8 @@ "license": "MIT", "dependencies": { "@hpke/common": "^1.4.3", - "@noble/curves": "^1.4.2", - "@noble/hashes": "^1.4.0" + "@noble/curves": "^1.6.0", + "@noble/hashes": "^1.5.0" }, "devDependencies": { "@deno/shim-deno": "~0.18.0", @@ -3664,7 +3658,7 @@ "@hpke/core": "^1.4.3", "@hpke/dhkem-x25519": "^1.4.3", "@hpke/dhkem-x448": "^1.4.3", - "@noble/hashes": "^1.4.0" + "@noble/hashes": "^1.5.0" }, "devDependencies": { "@deno/shim-deno": "~0.18.0", @@ -3682,7 +3676,7 @@ "dependencies": { "@hpke/common": "^1.4.3", "@hpke/dhkem-x25519": "^1.4.3", - "@noble/hashes": "^1.4.0", + "@noble/hashes": "^1.5.0", "mlkem": "^2.2.0" }, "devDependencies": { @@ -3702,7 +3696,7 @@ "dependencies": { "@hpke/common": "^1.4.3", "@hpke/dhkem-x25519": "^1.4.3", - "@noble/hashes": "^1.4.0" + "@noble/hashes": "^1.5.0" }, "devDependencies": { "@deno/shim-deno": "~0.18.0", diff --git a/packages/chacha20poly1305/deno.json b/packages/chacha20poly1305/deno.json index f3a7d4cd8..33e1b419c 100644 --- a/packages/chacha20poly1305/deno.json +++ b/packages/chacha20poly1305/deno.json @@ -3,7 +3,7 @@ "version": "1.5.0", "exports": "./mod.ts", "imports": { - "@noble/ciphers": "npm:@noble/ciphers@^0.5.3" + "@noble/ciphers": "npm:@noble/ciphers@^1.0.0" }, "publish": { "exclude": [ diff --git a/packages/dhkem-secp256k1/deno.json b/packages/dhkem-secp256k1/deno.json index 5762642d1..eb0fbea3c 100644 --- a/packages/dhkem-secp256k1/deno.json +++ b/packages/dhkem-secp256k1/deno.json @@ -3,7 +3,7 @@ "version": "1.5.0", "exports": "./mod.ts", "imports": { - "@noble/curves": "npm:@noble/curves@^1.4.2" + "@noble/curves": "npm:@noble/curves@^1.6.0" }, "publish": { "exclude": [ diff --git a/packages/dhkem-x25519/deno.json b/packages/dhkem-x25519/deno.json index c1efe7ed2..b43eb9afe 100644 --- a/packages/dhkem-x25519/deno.json +++ b/packages/dhkem-x25519/deno.json @@ -3,8 +3,8 @@ "version": "1.5.0", "exports": "./mod.ts", "imports": { - "@noble/curves": "npm:@noble/curves@^1.4.2", - "@noble/hashes": "npm:@noble/hashes@^1.4.0" + "@noble/curves": "npm:@noble/curves@^1.6.0", + "@noble/hashes": "npm:@noble/hashes@^1.5.0" }, "publish": { "exclude": [ diff --git a/packages/dhkem-x448/deno.json b/packages/dhkem-x448/deno.json index e6489cced..7b6e356b0 100644 --- a/packages/dhkem-x448/deno.json +++ b/packages/dhkem-x448/deno.json @@ -3,8 +3,8 @@ "version": "1.5.0", "exports": "./mod.ts", "imports": { - "@noble/curves": "npm:@noble/curves@^1.4.2", - "@noble/hashes": "npm:@noble/hashes@^1.4.0" + "@noble/curves": "npm:@noble/curves@^1.6.0", + "@noble/hashes": "npm:@noble/hashes@^1.5.0" }, "publish": { "exclude": [ diff --git a/packages/hpke-js/deno.json b/packages/hpke-js/deno.json index 21b80d330..2acd1d203 100644 --- a/packages/hpke-js/deno.json +++ b/packages/hpke-js/deno.json @@ -3,7 +3,7 @@ "version": "1.5.0", "exports": "./mod.ts", "imports": { - "@noble/hashes": "npm:@noble/hashes@^1.4.0" + "@noble/hashes": "npm:@noble/hashes@^1.5.0" }, "publish": { "exclude": [ diff --git a/packages/hybridkem-x-wing/deno.json b/packages/hybridkem-x-wing/deno.json index d178f54a1..d756bdbde 100644 --- a/packages/hybridkem-x-wing/deno.json +++ b/packages/hybridkem-x-wing/deno.json @@ -4,7 +4,7 @@ "exports": "./mod.ts", "imports": { "@dajiaji/mlkem": "jsr:@dajiaji/mlkem@^2.2.0", - "@noble/hashes": "npm:@noble/hashes@^1.4.0" + "@noble/hashes": "npm:@noble/hashes@^1.5.0" }, "publish": { "exclude": [ diff --git a/packages/hybridkem-x25519-kyber768/deno.json b/packages/hybridkem-x25519-kyber768/deno.json index 45cdba3ec..1ab126a23 100644 --- a/packages/hybridkem-x25519-kyber768/deno.json +++ b/packages/hybridkem-x25519-kyber768/deno.json @@ -3,7 +3,7 @@ "version": "1.5.0", "exports": "./mod.ts", "imports": { - "@noble/hashes": "npm:@noble/hashes@^1.4.0" + "@noble/hashes": "npm:@noble/hashes@^1.5.0" }, "publish": { "exclude": [