| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -34,7 +34,7 @@ Last update: | |||
| 34 | 34 | - wasm/jsapi: https://github.com/web-platform-tests/wpt/tree/288c467d35/wasm/jsapi | |
| 35 | 35 | - wasm/webapi: https://github.com/web-platform-tests/wpt/tree/fd1b23eeaa/wasm/webapi | |
| 36 | 36 | - web-locks: https://github.com/web-platform-tests/wpt/tree/10a122a6bc/web-locks | |
| 37 | - - WebCryptoAPI: https://github.com/web-platform-tests/wpt/tree/97bbc7247a/WebCryptoAPI | ||
| 37 | + - WebCryptoAPI: https://github.com/web-platform-tests/wpt/tree/0c413fb56b/WebCryptoAPI | ||
| 38 | 38 | - webidl: https://github.com/web-platform-tests/wpt/tree/63ca529a02/webidl | |
| 39 | 39 | - webidl/ecmascript-binding/es-exceptions: https://github.com/web-platform-tests/wpt/tree/2f96fa1996/webidl/ecmascript-binding/es-exceptions | |
| 40 | 40 | - webmessaging/broadcastchannel: https://github.com/web-platform-tests/wpt/tree/6495c91853/webmessaging/broadcastchannel | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -61,6 +61,42 @@ const algorithms = [ | |||
| 61 | 61 | generateKeyParams: { name: "X25519" }, | |
| 62 | 62 | usages: ["deriveKey", "deriveBits"], | |
| 63 | 63 | publicKeyUsages: [] | |
| 64 | + }, | ||
| 65 | + { | ||
| 66 | + name: "ML-DSA-44", | ||
| 67 | + generateKeyParams: { name: "ML-DSA-44" }, | ||
| 68 | + usages: ["sign", "verify"], | ||
| 69 | + publicKeyUsages: ["verify"] | ||
| 70 | + }, | ||
| 71 | + { | ||
| 72 | + name: "ML-DSA-65", | ||
| 73 | + generateKeyParams: { name: "ML-DSA-65" }, | ||
| 74 | + usages: ["sign", "verify"], | ||
| 75 | + publicKeyUsages: ["verify"] | ||
| 76 | + }, | ||
| 77 | + { | ||
| 78 | + name: "ML-DSA-87", | ||
| 79 | + generateKeyParams: { name: "ML-DSA-87" }, | ||
| 80 | + usages: ["sign", "verify"], | ||
| 81 | + publicKeyUsages: ["verify"] | ||
| 82 | + }, | ||
| 83 | + { | ||
| 84 | + name: "ML-KEM-512", | ||
| 85 | + generateKeyParams: { name: "ML-KEM-512" }, | ||
| 86 | + usages: ["encapsulateBits", "encapsulateKey", "decapsulateBits", "decapsulateKey"], | ||
| 87 | + publicKeyUsages: ["encapsulateBits", "encapsulateKey"] | ||
| 88 | + }, | ||
| 89 | + { | ||
| 90 | + name: "ML-KEM-768", | ||
| 91 | + generateKeyParams: { name: "ML-KEM-768" }, | ||
| 92 | + usages: ["encapsulateBits", "encapsulateKey", "decapsulateBits", "decapsulateKey"], | ||
| 93 | + publicKeyUsages: ["encapsulateBits", "encapsulateKey"] | ||
| 94 | + }, | ||
| 95 | + { | ||
| 96 | + name: "ML-KEM-1024", | ||
| 97 | + generateKeyParams: { name: "ML-KEM-1024" }, | ||
| 98 | + usages: ["encapsulateBits", "encapsulateKey", "decapsulateBits", "decapsulateKey"], | ||
| 99 | + publicKeyUsages: ["encapsulateBits", "encapsulateKey"] | ||
| 64 | 100 | } | |
| 65 | 101 | ]; | |
| 66 | 102 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,30 +6,30 @@ | |||
| 6 | 6 | const modernAlgorithms = { | |
| 7 | 7 | // Asymmetric algorithms | |
| 8 | 8 | 'ML-DSA-44': { | |
| 9 | - operations: ['generateKey', 'importKey', 'sign', 'verify'], | ||
| 9 | + operations: ['generateKey', 'importKey', 'sign', 'verify', 'getPublicKey'], | ||
| 10 | 10 | }, | |
| 11 | 11 | 'ML-DSA-65': { | |
| 12 | - operations: ['generateKey', 'importKey', 'sign', 'verify'], | ||
| 12 | + operations: ['generateKey', 'importKey', 'sign', 'verify', 'getPublicKey'], | ||
| 13 | 13 | }, | |
| 14 | 14 | 'ML-DSA-87': { | |
| 15 | - operations: ['generateKey', 'importKey', 'sign', 'verify'], | ||
| 15 | + operations: ['generateKey', 'importKey', 'sign', 'verify', 'getPublicKey'], | ||
| 16 | 16 | }, | |
| 17 | 17 | 'ML-KEM-512': { | |
| 18 | 18 | operations: [ | |
| 19 | 19 | 'generateKey', 'importKey', 'encapsulateKey', 'encapsulateBits', | |
| 20 | - 'decapsulateKey', 'decapsulateBits' | ||
| 20 | + 'decapsulateKey', 'decapsulateBits', 'getPublicKey' | ||
| 21 | 21 | ], | |
| 22 | 22 | }, | |
| 23 | 23 | 'ML-KEM-768': { | |
| 24 | 24 | operations: [ | |
| 25 | 25 | 'generateKey', 'importKey', 'encapsulateKey', 'encapsulateBits', | |
| 26 | - 'decapsulateKey', 'decapsulateBits' | ||
| 26 | + 'decapsulateKey', 'decapsulateBits', 'getPublicKey' | ||
| 27 | 27 | ], | |
| 28 | 28 | }, | |
| 29 | 29 | 'ML-KEM-1024': { | |
| 30 | 30 | operations: [ | |
| 31 | 31 | 'generateKey', 'importKey', 'encapsulateKey', 'encapsulateBits', | |
| 32 | - 'decapsulateKey', 'decapsulateBits' | ||
| 32 | + 'decapsulateKey', 'decapsulateBits', 'getPublicKey' | ||
| 33 | 33 | ], | |
| 34 | 34 | }, | |
| 35 | 35 | ||
@@ -54,6 +54,7 @@ const operations = [ | |||
| 54 | 54 | 'encapsulateBits', | |
| 55 | 55 | 'decapsulateKey', | |
| 56 | 56 | 'decapsulateBits', | |
| 57 | + 'getPublicKey', | ||
| 57 | 58 | ]; | |
| 58 | 59 | ||
| 59 | 60 | // Test that supports method exists and is a static method | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,7 +6,7 @@ | |||
| 6 | 6 | const standardAlgorithms = { | |
| 7 | 7 | // Asymmetric algorithms | |
| 8 | 8 | 'RSASSA-PKCS1-v1_5': { | |
| 9 | - operations: ['generateKey', 'importKey', 'sign', 'verify'], | ||
| 9 | + operations: ['generateKey', 'importKey', 'sign', 'verify', 'getPublicKey'], | ||
| 10 | 10 | keyGenParams: { | |
| 11 | 11 | name: 'RSASSA-PKCS1-v1_5', | |
| 12 | 12 | modulusLength: 2048, | |
@@ -17,7 +17,7 @@ const standardAlgorithms = { | |||
| 17 | 17 | signParams: { name: 'RSASSA-PKCS1-v1_5' }, | |
| 18 | 18 | }, | |
| 19 | 19 | 'RSA-PSS': { | |
| 20 | - operations: ['generateKey', 'importKey', 'sign', 'verify'], | ||
| 20 | + operations: ['generateKey', 'importKey', 'sign', 'verify', 'getPublicKey'], | ||
| 21 | 21 | keyGenParams: { | |
| 22 | 22 | name: 'RSA-PSS', | |
| 23 | 23 | modulusLength: 2048, | |
@@ -28,7 +28,7 @@ const standardAlgorithms = { | |||
| 28 | 28 | signParams: { name: 'RSA-PSS', saltLength: 32 }, | |
| 29 | 29 | }, | |
| 30 | 30 | 'RSA-OAEP': { | |
| 31 | - operations: ['generateKey', 'importKey', 'encrypt', 'decrypt'], | ||
| 31 | + operations: ['generateKey', 'importKey', 'encrypt', 'decrypt', 'getPublicKey'], | ||
| 32 | 32 | keyGenParams: { | |
| 33 | 33 | name: 'RSA-OAEP', | |
| 34 | 34 | modulusLength: 2048, | |
@@ -39,13 +39,13 @@ const standardAlgorithms = { | |||
| 39 | 39 | encryptParams: { name: 'RSA-OAEP' }, | |
| 40 | 40 | }, | |
| 41 | 41 | ECDSA: { | |
| 42 | - operations: ['generateKey', 'importKey', 'sign', 'verify'], | ||
| 42 | + operations: ['generateKey', 'importKey', 'sign', 'verify', 'getPublicKey'], | ||
| 43 | 43 | keyGenParams: { name: 'ECDSA', namedCurve: 'P-256' }, | |
| 44 | 44 | importParams: { name: 'ECDSA', namedCurve: 'P-256' }, | |
| 45 | 45 | signParams: { name: 'ECDSA', hash: 'SHA-256' }, | |
| 46 | 46 | }, | |
| 47 | 47 | ECDH: { | |
| 48 | - operations: ['generateKey', 'importKey', 'deriveBits'], | ||
| 48 | + operations: ['generateKey', 'importKey', 'deriveBits', 'getPublicKey'], | ||
| 49 | 49 | keyGenParams: { name: 'ECDH', namedCurve: 'P-256' }, | |
| 50 | 50 | importParams: { name: 'ECDH', namedCurve: 'P-256' }, | |
| 51 | 51 | deriveBitsParams: { | |
@@ -58,12 +58,12 @@ const standardAlgorithms = { | |||
| 58 | 58 | }, | |
| 59 | 59 | }, | |
| 60 | 60 | Ed25519: { | |
| 61 | - operations: ['generateKey', 'importKey', 'sign', 'verify'], | ||
| 61 | + operations: ['generateKey', 'importKey', 'sign', 'verify', 'getPublicKey'], | ||
| 62 | 62 | keyGenParams: null, | |
| 63 | 63 | signParams: { name: 'Ed25519' }, | |
| 64 | 64 | }, | |
| 65 | 65 | X25519: { | |
| 66 | - operations: ['generateKey', 'importKey', 'deriveBits'], | ||
| 66 | + operations: ['generateKey', 'importKey', 'deriveBits', 'getPublicKey'], | ||
| 67 | 67 | keyGenParams: null, | |
| 68 | 68 | deriveBitsParams: { | |
| 69 | 69 | name: 'X25519', | |
@@ -152,6 +152,7 @@ const operations = [ | |||
| 152 | 152 | 'decrypt', | |
| 153 | 153 | 'deriveBits', | |
| 154 | 154 | 'digest', | |
| 155 | + 'getPublicKey', | ||
| 155 | 156 | ]; | |
| 156 | 157 | ||
| 157 | 158 | // Test that supports method exists and is a static method | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -96,7 +96,7 @@ | |||
| 96 | 96 | "path": "web-locks" | |
| 97 | 97 | }, | |
| 98 | 98 | "WebCryptoAPI": { | |
| 99 | - "commit": "97bbc7247a16231f4744a47a1d9b3d29633d5292", | ||
| 99 | + "commit": "0c413fb56b9da8bf27502c866a3d60f93981804d", | ||
| 100 | 100 | "path": "WebCryptoAPI" | |
| 101 | 101 | }, | |
| 102 | 102 | "webidl": { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -62,6 +62,7 @@ if (!hasOpenSSL(3, 5) && !process.features.openssl_is_boringssl) { | |||
| 62 | 62 | 'sign_verify/mldsa.tentative.https.any.js'); | |
| 63 | 63 | ||
| 64 | 64 | skipSubtests( | |
| 65 | + ['getPublicKey.tentative.https.any.js', /ml-(?:kem|dsa)/i], | ||
| 65 | 66 | ['supports-modern.tentative.https.any.js', /ml-(?:kem|dsa)/i]); | |
| 66 | 67 | } | |
| 67 | 68 | ||
@@ -88,6 +89,7 @@ if (process.features.openssl_is_boringssl) { | |||
| 88 | 89 | ['encap_decap/encap_decap_keys.tentative.https.any.js', /ml-kem-512/i], | |
| 89 | 90 | ['generateKey/failures_ML-KEM.tentative.https.any.js', /ml-kem-512/i], | |
| 90 | 91 | ['generateKey/successes_ML-KEM.tentative.https.any.js', /ml-kem-512/i], | |
| 92 | + ['getPublicKey.tentative.https.any.js', /ml-kem-512/i], | ||
| 91 | 93 | ['import_export/ML-KEM_importKey.tentative.https.any.js', /ml-kem-512/i], | |
| 92 | 94 | ['serialization/mlkem.tentative.https.any.js', /ml-kem-512/i], | |
| 93 | 95 | ['supports-modern.tentative.https.any.js', /ml-kem-512/i]); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments