perf(ext/crypto): port WebCrypto from JS to Rust (cppgc object wrap) #34966
feat(ext/crypto): cppgc Crypto/SubtleCrypto/CryptoKey shells + algori…
65cfc2c7
fix(ext/crypto): isAlgorithmRegisteredFor argument order at the four …
fc010842
fix(ext/crypto): rustfmt the wrapKey arm of check_support_for_algorithm
357703d5
fix(ext/crypto): port getKeyLength to Rust + drop unused JS import
8c7aa749
divybot
changed the title feat(ext/crypto): cppgc Crypto/SubtleCrypto/CryptoKey shells + algorithm registry in Rust feat(ext/crypto): port WebCrypto from JS to Rust (cppgc object wrap) 167 days ago
feat(ext/crypto): port Crypto.getRandomValues/randomUUID + subtle get…
da5ca46a
fix(ext/crypto): defer Crypto singleton mint past snapshot, fix rando…
9a773633
feat(ext/crypto): lift CryptoKey state into Rust struct + ERR_ILLEGAL…
59ffdfe3
refactor(ext/crypto): drop JS class SubtleCrypto, attach to cppgc pro…
dcc2a010
fix(runtime): register DOMExceptionTypeMismatchError builder
bcf5d101
fix(libs/ops): op2 cppgc self-check throws ERR_INVALID_THIS
85a24baf
test(libs/ops): refresh op2 .out snapshots for ERR_INVALID_THIS throw
f9fb12cd
test(libs/ops): refresh op2 .out snapshots for ERR_INVALID_THIS, retry
0da23d18
fix(ext/crypto): Crypto.getRandomValues #[required(1)]
f2e57ae8
feat(ext/crypto): port SubtleCrypto.digest to Rust impl
f799efa4
fix(ext/crypto): digest BufferSource rejects SAB-backed views
eb446417
fix(ext/crypto): digest throws NotSupportedError for non-digest algor…
99b997d8
fix(ext/crypto,tests): update consumers of fixed NotSupportedError bu…
c6f96b7d
feat(ext/crypto): port SubtleCrypto.encrypt + decrypt to Rust impl
87e3ba28
fix(ext/crypto): use this.encrypt in SubtleCrypto.wrapKey fallback
6094001e
style(ext/crypto): apply dprint/rustfmt formatting
c39a147c
fix(ext/crypto): drop redundant deref on CryptoKey ptr
8c26b164
test(wpt): regenerate expectations after encrypt/decrypt Rust port
b8697b50
feat(ext/crypto): port SubtleCrypto.sign + verify to Rust impl
880af827
style(ext/crypto): apply dprint/rustfmt formatting
86d5e6f6
fix(ext/crypto): use slice::contains in sign/verify curve check
0026f8b6
feat(ext/crypto): port SubtleCrypto.deriveBits to Rust impl
bf6e1ff6
test(wpt): regenerate expectations after sign/verify Rust port
53d594da
fix(ext/crypto): drop unused JS imports + allow clippy::too_many_argu…
b0f34e2f
fix(ext/crypto): split deriveBits usage check from internal entry point
23f9821f
fix(ext/crypto): deriveBits length arg + reason for clippy allow
5dfa6fcb
fix(ext/crypto): drop required(2) so deriveBits length reaches Rust
25a6e456
fix(ext/crypto): defer deriveBits hash validation to throw NotSupport…
594739f9
style(ext/crypto): wrap read_required_hash_name calls per dprint
c874c7ae
feat(ext/crypto): port SubtleCrypto.encapsulateBits/decapsulateBits t…
8580dea5
refactor(ext/crypto): inline ml-kem helpers into encapsulate/decapsul…
3764ea5b
fix(ext/crypto): repair WPT regressions in deriveBits + encapsulateBits
b96aafda
fix(ext/crypto): satisfy dlint primordials rules in deriveBits forwarder
8c8f13c4
littledivy
marked this pull request as draft 166 days ago
refactor(ext/crypto): inline getKeyLength helper at its two call sites
3b6b491c
refactor(ext/crypto): unify importKeyHKDF/importKeyPBKDF2 into one he…
3d971d92
refactor(ext/crypto): unify exportKeyX25519/exportKeyX448 into export…
bdbeea10
refactor(ext/crypto): unify importKeyX25519/importKeyX448 into import…
3d9fe285
refactor(ext/crypto): fold importKeyEd25519 into the OKP unification
6725fd22
refactor(ext/crypto): fold exportKeyEd25519 into exportKeyOkp
ffe0ebe5
refactor(ext/crypto): unify symmetric exportKey helpers into exportKe…
51e351dd
refactor(ext/crypto): unify exportKeyMlKem/exportKeyMlDsa into export…
d6936891
refactor(ext/crypto): extract validateJwkOct + use HMAC_JWK_ALG table
0ce293d5
refactor(ext/crypto): extract validateJwkAkp for ML-KEM/ML-DSA imports
c696d757
feat(ext/crypto): port SubtleCrypto.supports (incl. 2-arg overload) t…
ce8acb94
feat(ext/crypto): port SubtleCrypto.exportKey to Rust
1e29de22
feat(ext/crypto): Rust-side CryptoKey constructor scaffolding
b33ccff6
feat(ext/crypto): port importKey symmetric paths + encapsulateKey/dec…
263b6f0c
feat(ext/crypto): port deriveKey to Rust
a548532a
feat(ext/crypto): port wrapKey/unwrapKey + Ed25519/X25519/X448/ECDSA/…
5e4a07e7
feat(ext/crypto): port importKey RSA/ML-KEM/ML-DSA + generateKey + ge…
55eca284
feat(ext/crypto): finish WebCrypto JS->Rust cppgc port + lint fixes
3784a228
littledivy
marked this pull request as ready for review 165 days ago
fix(ext/crypto): brand symbols non-enumerable, async forwarders, alg msg
b9c96155
fix(ext/crypto): satisfy dlint require-await on async forwarders
1c91045b
fix(ext/crypto): JWK base64url tolerate trailing bits + padding
3b08598f
fix(ext/crypto): rustfmt BASE64_JWK_FORGIVING const
6e8c18d4
fix(ext/crypto): WPT generateKey error path + sync-throw wrapping
5f61cb25
fix(ext/crypto): rustfmt Unknown arm of generate_key dispatch
f2e486d4
fix(ext/crypto): NotSupportedError for unsupported hash/curve in gene…
df195522
fix(ext/crypto): generateKey hash/curve checks must precede usage check
0649ee54
fix(ext/crypto): SubtleCrypto IDL length + Empty-usages SyntaxError
09f1f5fb
fix(ext/crypto): empty-usages SyntaxError must yield to bad-property …
0c95a189
fix(ext/crypto): address review blockers from nathanwhit
0fbb04e1
merge main: pick up BlobStoreTrait + #33475 dispatch trait annotation
3f5f4944
fix: align with merged main (bench, op2 fixture, ECDSA WPT)
b965f95e
fix(ext/crypto): address review blockers/should-fixes from bartlomieju
0466f5ff
Merge remote-tracking branch 'origin/main' into orch/divybot-510
3c57b0ca
fix(ext/crypto): thread prefix/context into digest read_optional_u8
24d51b0a
Merge branch 'main' into orch/divybot-510
38f3d0ba
fix(ext/crypto): revert two bartlomieju nits that broke Node/WPT
5609608c
fix(ext/crypto): address review feedback (idlharness + Box::leak + us…
612abf26
fix(ext/crypto): unwrap_key spawn_blocking the decrypt step
fa402038
Revert "fix(ext/crypto): unwrap_key spawn_blocking the decrypt step"
72ffaed7
test(wpt): drop idlharness entries the JS shim fix now passes
47c5510a
refactor(ext/crypto): fold singleton-mint ops into cppgc static methods
4523280e
refactor(ext/crypto): strip all legacy op_crypto_* ops
0588dc78
fix(ext/crypto): omit empty ops list from extension! macro
7fff5c59
fix(ext/crypto): re-home SubtleDigestXof into digest.rs
dcbfe51b
fix(ext/crypto): drop unused imports after op_crypto_* removal
c8804125
fix(ext/crypto): drop dead op-payload structs/enums
8d4338dd
fix(ext/crypto): drop now-unused serde/ToJsBuffer imports
5899dc57
fix(ext/crypto): re-import rand::thread_rng for fast_uuid_v4 test
5a3acf0d
littledivy
changed the title feat(ext/crypto): port WebCrypto from JS to Rust (cppgc object wrap) perf(ext/crypto): port WebCrypto from JS to Rust (cppgc object wrap) 163 days ago
fix(ext/crypto): error on tampered usages in derive-bits public-key path
b3de6f1b
fix(ext/crypto): reject RSA JWK private key with missing 'p'
7cab0a21
fix(ext/crypto): validate AES-GCM tagLength before iv length
c713a23c
fix(ext/crypto): empty private-key usages SyntaxError for asymmetric …
20cdd83d
Merge remote-tracking branch 'origin/main' into orch/divybot-510
26362e1e
fix(ext/crypto): address remaining nathanwhit-review nits
abd43696
Merge branch 'main' into orch/divybot-510
a995e9d2
fix(ext/crypto): revert three nathanwhit-nit changes that broke CI
a3c52c99
fix(ext/crypto): restore nathanwhit nits 3 and 4 with TS-clean test
253fb693
test(serve): allow legacy-abort deprecation warning in expected output
bddc3278
Merge remote-tracking branch 'origin/main' into orch/divybot-510
17019313
littledivy
dismissed their stale review
160 days ago
littledivy
deleted the orch/divybot-510 branch 160 days ago
Assignees
No one assigned