ladybird/Libraries/LibWeb/Crypto
Shannon Booth 67a59655b1 LibWeb: Preserve CryptoKey algorithm types during serialization
CryptoKey structured serialization was cloning the internal algorithm
slot as a generic JS object. After deserialization, WebCrypto operations
such as exportKey() expected the slot to still be a native KeyAlgorithm
subclass and crashed when downcasting it.

Serialize the stored key algorithm with an explicit tag and reconstruct
the appropriate KeyAlgorithm subclass during deserialization. Also keep
EC private-key serialization aligned by encoding nested public keys as
EC public-key payloads rather than tagged top-level handles.
2026-05-30 12:34:06 +02:00
..
Crypto.cpp LibWeb/Bindings: Generate buffer typedefs as variants 2026-05-30 11:22:08 +02:00
Crypto.h LibWeb/Bindings: Generate buffer typedefs as variants 2026-05-30 11:22:08 +02:00
Crypto.idl LibWeb+LibIDL: Remove support for #import directives during parsing 2026-04-24 20:08:29 +02:00
CryptoAlgorithms.cpp LibWeb: Unify WebIDL C++ type generation 2026-05-23 18:26:12 +02:00
CryptoAlgorithms.h LibWeb/Bindings: Generate buffer typedefs as variants 2026-05-30 11:22:08 +02:00
CryptoBindings.cpp LibWeb/Crypto: Move WebCrypto dictionaries into Crypto namespace 2026-04-23 22:12:13 +02:00
CryptoBindings.h LibWeb/Crypto: Move WebCrypto dictionaries into Crypto namespace 2026-04-23 22:12:13 +02:00
CryptoKey.cpp LibWeb: Preserve CryptoKey algorithm types during serialization 2026-05-30 12:34:06 +02:00
CryptoKey.h LibWeb/Crypto: Fix CryptoKey usages being lost across in serialization 2026-05-27 02:44:46 +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: Allow instantiating DataBlock with an external buffer 2026-05-10 16:41:42 +02:00
KeyAlgorithms.h LibCrypto: Implement KMAC authentication support 2026-03-19 10:46:49 +01:00
SubtleCrypto.cpp LibWeb/Bindings: Generate buffer typedefs as variants 2026-05-30 11:22:08 +02:00
SubtleCrypto.h LibWeb/Bindings: Generate buffer typedefs as variants 2026-05-30 11:22:08 +02:00
SubtleCrypto.idl LibWeb+LibIDL: Remove support for #import directives during parsing 2026-04-24 20:08:29 +02:00