From 55d9acc5ee5520599b637eb6ebc9aff1e59c5b13 Mon Sep 17 00:00:00 2001 From: Ajitomi Daisuke Date: Sun, 4 Aug 2024 22:46:11 +0900 Subject: [PATCH] Bump @noble/curves to 1.4.2. --- deno.lock | 12 ++++-------- src/kems/dhkemPrimitives/secp256k1.ts | 2 +- src/kems/dhkemPrimitives/x25519.ts | 2 +- src/kems/dhkemPrimitives/x448.ts | 2 +- x/chacha20poly1305/deno.lock | 14 +++++++------- x/dhkem-secp256k1/deno.lock | 12 ++++-------- x/dhkem-x25519/deno.lock | 12 ++++-------- x/dhkem-x448/deno.lock | 12 ++++-------- 8 files changed, 26 insertions(+), 42 deletions(-) diff --git a/deno.lock b/deno.lock index 7fae6e2b2..ef8fb755b 100644 --- a/deno.lock +++ b/deno.lock @@ -3,7 +3,7 @@ "packages": { "specifiers": { "npm:@noble/ciphers@0.5.3": "npm:@noble/ciphers@0.5.3", - "npm:@noble/curves@1.3.0": "npm:@noble/curves@1.3.0", + "npm:@noble/curves@1.4.2": "npm:@noble/curves@1.4.2", "npm:@noble/hashes@1.4.0": "npm:@noble/hashes@1.4.0" }, "npm": { @@ -11,16 +11,12 @@ "integrity": "sha512-B0+6IIHiqEs3BPMT0hcRmHvEj2QHOLu+uwt+tqDDeVd0oyVzh7BPrDcPjRnV1PV/5LaknXJJQvOuRGR0zQJz+w==", "dependencies": {} }, - "@noble/curves@1.3.0": { - "integrity": "sha512-t01iSXPuN+Eqzb4eBX0S5oubSqXbK/xXa1Ne18Hj8f9pStxztHCE2gfboSp/dZRLSqfuLpRK2nDXDK+W9puocA==", + "@noble/curves@1.4.2": { + "integrity": "sha512-TavHr8qycMChk8UwMld0ZDRvatedkzWfH8IiaeGCfymOP5i0hSCozz9vHOL0nkwk7HRMlFnAiKpS2jrUmSybcw==", "dependencies": { - "@noble/hashes": "@noble/hashes@1.3.3" + "@noble/hashes": "@noble/hashes@1.4.0" } }, - "@noble/hashes@1.3.3": { - "integrity": "sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA==", - "dependencies": {} - }, "@noble/hashes@1.4.0": { "integrity": "sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==", "dependencies": {} diff --git a/src/kems/dhkemPrimitives/secp256k1.ts b/src/kems/dhkemPrimitives/secp256k1.ts index b45f8bd3a..0699992bf 100644 --- a/src/kems/dhkemPrimitives/secp256k1.ts +++ b/src/kems/dhkemPrimitives/secp256k1.ts @@ -1,5 +1,5 @@ // @ts-ignore: for "npm:" -import { secp256k1 } from "npm:@noble/curves@1.3.0/secp256k1"; +import { secp256k1 } from "npm:@noble/curves@1.4.2/secp256k1"; import type { DhkemPrimitives } from "../../interfaces/dhkemPrimitives.ts"; import type { KdfInterface } from "../../interfaces/kdfInterface.ts"; diff --git a/src/kems/dhkemPrimitives/x25519.ts b/src/kems/dhkemPrimitives/x25519.ts index 96655c819..b22bf3e18 100644 --- a/src/kems/dhkemPrimitives/x25519.ts +++ b/src/kems/dhkemPrimitives/x25519.ts @@ -1,5 +1,5 @@ // @ts-ignore: for "npm:" -import { x25519 } from "npm:@noble/curves@1.3.0/ed25519"; +import { x25519 } from "npm:@noble/curves@1.4.2/ed25519"; import type { DhkemPrimitives } from "../../interfaces/dhkemPrimitives.ts"; import type { KdfInterface } from "../../interfaces/kdfInterface.ts"; diff --git a/src/kems/dhkemPrimitives/x448.ts b/src/kems/dhkemPrimitives/x448.ts index 56e8bbb6c..b92887250 100644 --- a/src/kems/dhkemPrimitives/x448.ts +++ b/src/kems/dhkemPrimitives/x448.ts @@ -1,5 +1,5 @@ // @ts-ignore: for "npm:" -import { x448 } from "npm:@noble/curves@1.3.0/ed448"; +import { x448 } from "npm:@noble/curves@1.4.2/ed448"; import type { DhkemPrimitives } from "../../interfaces/dhkemPrimitives.ts"; import type { KdfInterface } from "../../interfaces/kdfInterface.ts"; diff --git a/x/chacha20poly1305/deno.lock b/x/chacha20poly1305/deno.lock index c5bdd8461..ef8fb755b 100644 --- a/x/chacha20poly1305/deno.lock +++ b/x/chacha20poly1305/deno.lock @@ -3,22 +3,22 @@ "packages": { "specifiers": { "npm:@noble/ciphers@0.5.3": "npm:@noble/ciphers@0.5.3", - "npm:@noble/curves@1.3.0": "npm:@noble/curves@1.3.0", - "npm:@noble/hashes@1.3.3": "npm:@noble/hashes@1.3.3" + "npm:@noble/curves@1.4.2": "npm:@noble/curves@1.4.2", + "npm:@noble/hashes@1.4.0": "npm:@noble/hashes@1.4.0" }, "npm": { "@noble/ciphers@0.5.3": { "integrity": "sha512-B0+6IIHiqEs3BPMT0hcRmHvEj2QHOLu+uwt+tqDDeVd0oyVzh7BPrDcPjRnV1PV/5LaknXJJQvOuRGR0zQJz+w==", "dependencies": {} }, - "@noble/curves@1.3.0": { - "integrity": "sha512-t01iSXPuN+Eqzb4eBX0S5oubSqXbK/xXa1Ne18Hj8f9pStxztHCE2gfboSp/dZRLSqfuLpRK2nDXDK+W9puocA==", + "@noble/curves@1.4.2": { + "integrity": "sha512-TavHr8qycMChk8UwMld0ZDRvatedkzWfH8IiaeGCfymOP5i0hSCozz9vHOL0nkwk7HRMlFnAiKpS2jrUmSybcw==", "dependencies": { - "@noble/hashes": "@noble/hashes@1.3.3" + "@noble/hashes": "@noble/hashes@1.4.0" } }, - "@noble/hashes@1.3.3": { - "integrity": "sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA==", + "@noble/hashes@1.4.0": { + "integrity": "sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==", "dependencies": {} } } diff --git a/x/dhkem-secp256k1/deno.lock b/x/dhkem-secp256k1/deno.lock index 7fae6e2b2..ef8fb755b 100644 --- a/x/dhkem-secp256k1/deno.lock +++ b/x/dhkem-secp256k1/deno.lock @@ -3,7 +3,7 @@ "packages": { "specifiers": { "npm:@noble/ciphers@0.5.3": "npm:@noble/ciphers@0.5.3", - "npm:@noble/curves@1.3.0": "npm:@noble/curves@1.3.0", + "npm:@noble/curves@1.4.2": "npm:@noble/curves@1.4.2", "npm:@noble/hashes@1.4.0": "npm:@noble/hashes@1.4.0" }, "npm": { @@ -11,16 +11,12 @@ "integrity": "sha512-B0+6IIHiqEs3BPMT0hcRmHvEj2QHOLu+uwt+tqDDeVd0oyVzh7BPrDcPjRnV1PV/5LaknXJJQvOuRGR0zQJz+w==", "dependencies": {} }, - "@noble/curves@1.3.0": { - "integrity": "sha512-t01iSXPuN+Eqzb4eBX0S5oubSqXbK/xXa1Ne18Hj8f9pStxztHCE2gfboSp/dZRLSqfuLpRK2nDXDK+W9puocA==", + "@noble/curves@1.4.2": { + "integrity": "sha512-TavHr8qycMChk8UwMld0ZDRvatedkzWfH8IiaeGCfymOP5i0hSCozz9vHOL0nkwk7HRMlFnAiKpS2jrUmSybcw==", "dependencies": { - "@noble/hashes": "@noble/hashes@1.3.3" + "@noble/hashes": "@noble/hashes@1.4.0" } }, - "@noble/hashes@1.3.3": { - "integrity": "sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA==", - "dependencies": {} - }, "@noble/hashes@1.4.0": { "integrity": "sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==", "dependencies": {} diff --git a/x/dhkem-x25519/deno.lock b/x/dhkem-x25519/deno.lock index 7fae6e2b2..ef8fb755b 100644 --- a/x/dhkem-x25519/deno.lock +++ b/x/dhkem-x25519/deno.lock @@ -3,7 +3,7 @@ "packages": { "specifiers": { "npm:@noble/ciphers@0.5.3": "npm:@noble/ciphers@0.5.3", - "npm:@noble/curves@1.3.0": "npm:@noble/curves@1.3.0", + "npm:@noble/curves@1.4.2": "npm:@noble/curves@1.4.2", "npm:@noble/hashes@1.4.0": "npm:@noble/hashes@1.4.0" }, "npm": { @@ -11,16 +11,12 @@ "integrity": "sha512-B0+6IIHiqEs3BPMT0hcRmHvEj2QHOLu+uwt+tqDDeVd0oyVzh7BPrDcPjRnV1PV/5LaknXJJQvOuRGR0zQJz+w==", "dependencies": {} }, - "@noble/curves@1.3.0": { - "integrity": "sha512-t01iSXPuN+Eqzb4eBX0S5oubSqXbK/xXa1Ne18Hj8f9pStxztHCE2gfboSp/dZRLSqfuLpRK2nDXDK+W9puocA==", + "@noble/curves@1.4.2": { + "integrity": "sha512-TavHr8qycMChk8UwMld0ZDRvatedkzWfH8IiaeGCfymOP5i0hSCozz9vHOL0nkwk7HRMlFnAiKpS2jrUmSybcw==", "dependencies": { - "@noble/hashes": "@noble/hashes@1.3.3" + "@noble/hashes": "@noble/hashes@1.4.0" } }, - "@noble/hashes@1.3.3": { - "integrity": "sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA==", - "dependencies": {} - }, "@noble/hashes@1.4.0": { "integrity": "sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==", "dependencies": {} diff --git a/x/dhkem-x448/deno.lock b/x/dhkem-x448/deno.lock index 7fae6e2b2..ef8fb755b 100644 --- a/x/dhkem-x448/deno.lock +++ b/x/dhkem-x448/deno.lock @@ -3,7 +3,7 @@ "packages": { "specifiers": { "npm:@noble/ciphers@0.5.3": "npm:@noble/ciphers@0.5.3", - "npm:@noble/curves@1.3.0": "npm:@noble/curves@1.3.0", + "npm:@noble/curves@1.4.2": "npm:@noble/curves@1.4.2", "npm:@noble/hashes@1.4.0": "npm:@noble/hashes@1.4.0" }, "npm": { @@ -11,16 +11,12 @@ "integrity": "sha512-B0+6IIHiqEs3BPMT0hcRmHvEj2QHOLu+uwt+tqDDeVd0oyVzh7BPrDcPjRnV1PV/5LaknXJJQvOuRGR0zQJz+w==", "dependencies": {} }, - "@noble/curves@1.3.0": { - "integrity": "sha512-t01iSXPuN+Eqzb4eBX0S5oubSqXbK/xXa1Ne18Hj8f9pStxztHCE2gfboSp/dZRLSqfuLpRK2nDXDK+W9puocA==", + "@noble/curves@1.4.2": { + "integrity": "sha512-TavHr8qycMChk8UwMld0ZDRvatedkzWfH8IiaeGCfymOP5i0hSCozz9vHOL0nkwk7HRMlFnAiKpS2jrUmSybcw==", "dependencies": { - "@noble/hashes": "@noble/hashes@1.3.3" + "@noble/hashes": "@noble/hashes@1.4.0" } }, - "@noble/hashes@1.3.3": { - "integrity": "sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA==", - "dependencies": {} - }, "@noble/hashes@1.4.0": { "integrity": "sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==", "dependencies": {}