ladybird/Libraries/LibWeb/Crypto
mikiubo 4a1a15ce66 LibWeb: Allow importing ChaCha20-Poly1305 JWK without alg
The WebCrypto specification does not require the "alg" member
to be present when importing a symmetric JWK, as long as the
key material itself is valid.

Add tests covering JWK import without an "alg" field.

This fixes the following WPT:
WebCryptoAPI/import_export/ChaCha20-Poly1305_importKey
2026-02-05 09:05:11 +01:00
..
Crypto.cpp LibCrypto+AK: Merge LibCrypto/SecureRandom into AK/Random 2026-01-23 15:53:27 +01:00
Crypto.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
Crypto.idl
CryptoAlgorithms.cpp LibWeb: Allow importing ChaCha20-Poly1305 JWK without alg 2026-02-05 09:05:11 +01:00
CryptoAlgorithms.h LibCrypto: Add ChaCha20-Poly1305 support 2026-01-26 10:03:09 +01:00
CryptoBindings.cpp LibWeb: Expand JsonWebKey to accommodate post quantum algorithms 2025-12-10 21:26:06 +01:00
CryptoBindings.h LibWeb: Expand JsonWebKey to accommodate post quantum algorithms 2025-12-10 21:26:06 +01:00
CryptoKey.cpp LibGC+ClangPlugins: Forbid non-trivial destructors in Cell subclasses 2026-01-30 20:57:42 +01:00
CryptoKey.h LibGC+ClangPlugins: Forbid non-trivial destructors in Cell subclasses 2026-01-30 20:57:42 +01:00
CryptoKey.idl LibWeb: Update the Key Usage enum to adapt for PostQuantum Algorithms 2025-11-27 21:50:06 +01:00
KeyAlgorithms.cpp LibJS+LibWeb: Inline fast path for Value::to_object() 2025-09-15 12:16:58 +02:00
KeyAlgorithms.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SubtleCrypto.cpp LibCrypto: Add ChaCha20-Poly1305 support 2026-01-26 10:03:09 +01:00
SubtleCrypto.h LibWeb: Implement decapsulateBits for SubtleCrypto 2025-12-28 18:56:50 +01:00
SubtleCrypto.idl LibWeb: Implement decapsulateBits for SubtleCrypto 2025-12-28 18:56:50 +01:00