From 749b62a1c63241ced9d9a389d9901a58ee1c5498 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Mon, 12 Aug 2024 16:26:04 +0200 Subject: [PATCH 01/10] move files, remove draft date --- features/{draft/spec => }/webcryptoapi.yml | 1 - features/{draft/spec => }/webcryptoapi.yml.dist | 0 2 files changed, 1 deletion(-) rename features/{draft/spec => }/webcryptoapi.yml (97%) rename features/{draft/spec => }/webcryptoapi.yml.dist (100%) diff --git a/features/draft/spec/webcryptoapi.yml b/features/webcryptoapi.yml similarity index 97% rename from features/draft/spec/webcryptoapi.yml rename to features/webcryptoapi.yml index 3153a6a0684..94e0038cba4 100644 --- a/features/draft/spec/webcryptoapi.yml +++ b/features/webcryptoapi.yml @@ -1,4 +1,3 @@ -draft_date: 2024-08-12 name: Web Cryptography API description: TODO spec: https://w3c.github.io/webcrypto/ diff --git a/features/draft/spec/webcryptoapi.yml.dist b/features/webcryptoapi.yml.dist similarity index 100% rename from features/draft/spec/webcryptoapi.yml.dist rename to features/webcryptoapi.yml.dist From cfc4dec6386426ae69ddea26e2f598b629ccadc0 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Mon, 12 Aug 2024 17:55:28 +0200 Subject: [PATCH 02/10] add description and entry point --- features/webcryptoapi.yml | 5 ++++- features/webcryptoapi.yml.dist | 20 +++++++++++--------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/features/webcryptoapi.yml b/features/webcryptoapi.yml index 94e0038cba4..bd91e1f636a 100644 --- a/features/webcryptoapi.yml +++ b/features/webcryptoapi.yml @@ -1,6 +1,9 @@ name: Web Cryptography API -description: TODO +description: The Web Crypto API provides utilities and primitives for building cryptographic systems. spec: https://w3c.github.io/webcrypto/ +status: + compute_from: + - api.Crypto compat_features: - api.Crypto - api.Crypto.getRandomValues diff --git a/features/webcryptoapi.yml.dist b/features/webcryptoapi.yml.dist index 622c07804b0..e72172032ee 100644 --- a/features/webcryptoapi.yml.dist +++ b/features/webcryptoapi.yml.dist @@ -2,17 +2,19 @@ # Do not edit this file by hand. Edit the source file instead! status: - baseline: low - baseline_low_date: 2023-10-24 + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 support: - chrome: "92" - chrome_android: "92" - edge: "92" - firefox: "119" - firefox_android: "119" - safari: "15.4" - safari_ios: "15.4" + chrome: "11" + chrome_android: "18" + edge: "12" + firefox: "21" + firefox_android: "21" + safari: "5" + safari_ios: "5" compat_features: + # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 From eefcc989070d8d3b6a22f721d057d93582202a06 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Tue, 13 Aug 2024 11:21:39 +0200 Subject: [PATCH 03/10] update name and description --- features/webcryptoapi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/webcryptoapi.yml b/features/webcryptoapi.yml index bd91e1f636a..a861bd73f6d 100644 --- a/features/webcryptoapi.yml +++ b/features/webcryptoapi.yml @@ -1,5 +1,5 @@ -name: Web Cryptography API -description: The Web Crypto API provides utilities and primitives for building cryptographic systems. +name: Web Cryptography +description: The Web Cryptography API provides utilities and primitives for performing basic cryptographic operations. spec: https://w3c.github.io/webcrypto/ status: compute_from: From eba2f80b9b219b5ef80a70ea914fa761dedec768 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Tue, 13 Aug 2024 18:59:23 +0200 Subject: [PATCH 04/10] merge ed25519, and remove the curves files --- features/draft/spec/webcrypto-secure-curves.yml | 10 ---------- .../draft/spec/webcrypto-secure-curves.yml.dist | 14 -------------- features/webcryptoapi.yml | 5 +++++ features/webcryptoapi.yml.dist | 10 ++++++++++ 4 files changed, 15 insertions(+), 24 deletions(-) delete mode 100644 features/draft/spec/webcrypto-secure-curves.yml delete mode 100644 features/draft/spec/webcrypto-secure-curves.yml.dist diff --git a/features/draft/spec/webcrypto-secure-curves.yml b/features/draft/spec/webcrypto-secure-curves.yml deleted file mode 100644 index 2b316a806f8..00000000000 --- a/features/draft/spec/webcrypto-secure-curves.yml +++ /dev/null @@ -1,10 +0,0 @@ -draft_date: 2024-08-12 -name: Secure Curves in the Web Cryptography API -description: TODO -spec: https://wicg.github.io/webcrypto-secure-curves/ -compat_features: - - api.SubtleCrypto.exportKey.ed25519 - - api.SubtleCrypto.generateKey.ed25519 - - api.SubtleCrypto.importKey.ed25519 - - api.SubtleCrypto.sign.ed25519 - - api.SubtleCrypto.verify.ed25519 diff --git a/features/draft/spec/webcrypto-secure-curves.yml.dist b/features/draft/spec/webcrypto-secure-curves.yml.dist deleted file mode 100644 index e1d8fde5308..00000000000 --- a/features/draft/spec/webcrypto-secure-curves.yml.dist +++ /dev/null @@ -1,14 +0,0 @@ -# Generated from: webcrypto-secure-curves.yml -# Do not edit this file by hand. Edit the source file instead! - -status: - baseline: false - support: - safari: "17" - safari_ios: "17" -compat_features: - - api.SubtleCrypto.exportKey.ed25519 - - api.SubtleCrypto.generateKey.ed25519 - - api.SubtleCrypto.importKey.ed25519 - - api.SubtleCrypto.sign.ed25519 - - api.SubtleCrypto.verify.ed25519 diff --git a/features/webcryptoapi.yml b/features/webcryptoapi.yml index a861bd73f6d..2068ec4fd5c 100644 --- a/features/webcryptoapi.yml +++ b/features/webcryptoapi.yml @@ -31,4 +31,9 @@ compat_features: - api.SubtleCrypto.unwrapKey - api.SubtleCrypto.verify - api.SubtleCrypto.wrapKey + - api.SubtleCrypto.exportKey.ed25519 + - api.SubtleCrypto.generateKey.ed25519 + - api.SubtleCrypto.importKey.ed25519 + - api.SubtleCrypto.sign.ed25519 + - api.SubtleCrypto.verify.ed25519 - api.crypto diff --git a/features/webcryptoapi.yml.dist b/features/webcryptoapi.yml.dist index e72172032ee..4f8de726c89 100644 --- a/features/webcryptoapi.yml.dist +++ b/features/webcryptoapi.yml.dist @@ -147,3 +147,13 @@ compat_features: # safari_ios: ≤13.4 - api.SubtleCrypto.deriveKey.derivedKeyAlgorithm_option_hkdf - api.SubtleCrypto.deriveKey.derivedKeyAlgorithm_option_pbkdf2 + + # baseline: false + # support: + # safari: "17" + # safari_ios: "17" + - api.SubtleCrypto.exportKey.ed25519 + - api.SubtleCrypto.generateKey.ed25519 + - api.SubtleCrypto.importKey.ed25519 + - api.SubtleCrypto.sign.ed25519 + - api.SubtleCrypto.verify.ed25519 From 95eabd11d5422bc4e520c45c02c8f395a6762182 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Thu, 15 Aug 2024 14:01:28 +0200 Subject: [PATCH 05/10] add secure curves spec --- features/webcryptoapi.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/features/webcryptoapi.yml b/features/webcryptoapi.yml index 2068ec4fd5c..9836104a425 100644 --- a/features/webcryptoapi.yml +++ b/features/webcryptoapi.yml @@ -1,6 +1,9 @@ name: Web Cryptography description: The Web Cryptography API provides utilities and primitives for performing basic cryptographic operations. -spec: https://w3c.github.io/webcrypto/ +spec: + - https://w3c.github.io/webcrypto/ + - https://wicg.github.io/webcrypto-secure-curves/ +caniuse: cryptography status: compute_from: - api.Crypto From fc0b2082c3029e97caaf4113775b63ca46bf462b Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Fri, 16 Aug 2024 13:49:13 +0200 Subject: [PATCH 06/10] switch to single-line compute_from --- features/{webcryptoapi.yml => webcrypto.yml} | 3 +-- features/{webcryptoapi.yml.dist => webcrypto.yml.dist} | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) rename features/{webcryptoapi.yml => webcrypto.yml} (97%) rename features/{webcryptoapi.yml.dist => webcrypto.yml.dist} (99%) diff --git a/features/webcryptoapi.yml b/features/webcrypto.yml similarity index 97% rename from features/webcryptoapi.yml rename to features/webcrypto.yml index 9836104a425..b3df16b1934 100644 --- a/features/webcryptoapi.yml +++ b/features/webcrypto.yml @@ -5,8 +5,7 @@ spec: - https://wicg.github.io/webcrypto-secure-curves/ caniuse: cryptography status: - compute_from: - - api.Crypto + compute_from: api.Crypto compat_features: - api.Crypto - api.Crypto.getRandomValues diff --git a/features/webcryptoapi.yml.dist b/features/webcrypto.yml.dist similarity index 99% rename from features/webcryptoapi.yml.dist rename to features/webcrypto.yml.dist index 4f8de726c89..70f81fb5f51 100644 --- a/features/webcryptoapi.yml.dist +++ b/features/webcrypto.yml.dist @@ -1,4 +1,4 @@ -# Generated from: webcryptoapi.yml +# Generated from: webcrypto.yml # Do not edit this file by hand. Edit the source file instead! status: From cc32f8ff64988499281e44294ebefc7d1718e177 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Tue, 20 Aug 2024 17:14:40 +0200 Subject: [PATCH 07/10] update description w/ @ddbeck's suggestion --- features/webcrypto.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/webcrypto.yml b/features/webcrypto.yml index b3df16b1934..5055262a2f6 100644 --- a/features/webcrypto.yml +++ b/features/webcrypto.yml @@ -1,5 +1,5 @@ name: Web Cryptography -description: The Web Cryptography API provides utilities and primitives for performing basic cryptographic operations. +description: The Web Cryptography API performs low-level cryptographic operations, such as encryption, decryption, and signature verification. Also known as the Web Crypto API. spec: - https://w3c.github.io/webcrypto/ - https://wicg.github.io/webcrypto-secure-curves/ From 78c7086ee52bd48e356788264e248e717bb0b35b Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Tue, 20 Aug 2024 18:19:19 +0200 Subject: [PATCH 08/10] redist --- features/webcrypto.yml.dist | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/features/webcrypto.yml.dist b/features/webcrypto.yml.dist index 70f81fb5f51..4b4b58ac445 100644 --- a/features/webcrypto.yml.dist +++ b/features/webcrypto.yml.dist @@ -150,6 +150,8 @@ compat_features: # baseline: false # support: + # firefox: "129" + # firefox_android: "129" # safari: "17" # safari_ios: "17" - api.SubtleCrypto.exportKey.ed25519 @@ -157,3 +159,13 @@ compat_features: - api.SubtleCrypto.importKey.ed25519 - api.SubtleCrypto.sign.ed25519 - api.SubtleCrypto.verify.ed25519 + + # baseline: false + # support: + # safari: "17" + # safari_ios: "17" + - api.SubtleCrypto.deriveBits.x25519 + - api.SubtleCrypto.deriveKey.x25519 + - api.SubtleCrypto.exportKey.x25519 + - api.SubtleCrypto.generateKey.x25519 + - api.SubtleCrypto.importKey.x25519 From 35a1db8b3dc26ca55acbcc90077dbebc85560434 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Thu, 22 Aug 2024 14:40:05 +0200 Subject: [PATCH 09/10] file rename s/webcrypto/web-cryptography/ --- features/{webcrypto.yml => web-cryptography.yml} | 0 features/{webcrypto.yml.dist => web-cryptography.yml.dist} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename features/{webcrypto.yml => web-cryptography.yml} (100%) rename features/{webcrypto.yml.dist => web-cryptography.yml.dist} (100%) diff --git a/features/webcrypto.yml b/features/web-cryptography.yml similarity index 100% rename from features/webcrypto.yml rename to features/web-cryptography.yml diff --git a/features/webcrypto.yml.dist b/features/web-cryptography.yml.dist similarity index 100% rename from features/webcrypto.yml.dist rename to features/web-cryptography.yml.dist From 3e69ee368e0ea6b20be70828b578e92ba7dd7a1b Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Thu, 22 Aug 2024 14:54:29 +0200 Subject: [PATCH 10/10] dist --- features/web-cryptography.yml.dist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/web-cryptography.yml.dist b/features/web-cryptography.yml.dist index 4b4b58ac445..9a23ad533a1 100644 --- a/features/web-cryptography.yml.dist +++ b/features/web-cryptography.yml.dist @@ -1,4 +1,4 @@ -# Generated from: webcrypto.yml +# Generated from: web-cryptography.yml # Do not edit this file by hand. Edit the source file instead! status: