Skip to content

Commit 5a3cd16

Browse files
authored
Align Web Crypto support with caniuse (#3268)
This started out as an attempt to align the support with the description, and pinning to encrypt/decrypt/sign/verify gets us very close to what caniuse claims. If we had the ability to selectively ignore notes from BCD, we would use that mechanism here.
1 parent 88f1bd7 commit 5a3cd16

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

features/web-cryptography.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,22 @@ spec:
55
- https://wicg.github.io/webcrypto-secure-curves/
66
caniuse: cryptography
77
group: security
8+
# Override the status to match caniuse. This is the same as one would get by
9+
# computing the status from api.SubtleCrypto.encrypt/decrypt/sign/verify, except
10+
# for Edge 12-18 where BCD has partial_implementation due to some unsupported
11+
# algorithms. However, the supported algorithms have changed over time, so it
12+
# seems more fair to treat it as supported in Edge 12-18.
813
status:
9-
compute_from: api.Crypto
14+
baseline: high
15+
baseline_low_date: 2015-07-29
16+
support:
17+
chrome: "37"
18+
chrome_android: "37"
19+
edge: "12"
20+
firefox: "34"
21+
firefox_android: "34"
22+
safari: "11"
23+
safari_ios: "11"
1024
compat_features:
1125
- api.Crypto
1226
- api.Crypto.getRandomValues

features/web-cryptography.yml.dist

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
# Generated from: web-cryptography.yml
22
# Do not edit this file by hand. Edit the source file instead!
33

4-
status:
5-
baseline: high
6-
baseline_low_date: 2015-07-29
7-
baseline_high_date: 2018-01-29
8-
support:
9-
chrome: "11"
10-
chrome_android: "18"
11-
edge: "12"
12-
firefox: "21"
13-
firefox_android: "21"
14-
safari: "5"
15-
safari_ios: "5"
164
compat_features:
17-
# ⬇️ Same status as overall feature ⬇️
185
# baseline: high
196
# baseline_low_date: 2015-07-29
207
# baseline_high_date: 2018-01-29

0 commit comments

Comments
 (0)