Andrew Kaster

Results 170 issues of Andrew Kaster

TODO: Tests The encrypt and decrypt parts are stubs, as I don't think we have this operation implemented in LibCrypto yet https://www.rfc-editor.org/rfc/rfc3447#section-7.1.1 Part of #23484

Observe the following test case: ``` andrew@Andrews-MacBook-Pro:~/Source/serenity$ clang-format --version clang-format version 17.0.6 andrew@Andrews-MacBook-Pro:~/Source/serenity$ clang-format -i test.cpp andrew@Andrews-MacBook-Pro:~/Source/serenity$ cat test.cpp auto maybe_error = handle.visit( [&](::Crypto::PK::RSAPublicKey const& public_key) -> ErrorOr { jwk.n...

Given the signature: `size_t UnsignedBigInteger::export_data(Bytes data, bool remove_leading_zeros) const` I would expect that this method, when passed `remove_leading_zeroes`, will always left-align the first non-zero byte into the `data` buffer. However,...

bug

The [WinterCG](https://wintercg.org) has been drafting a minimum runtime API for non-browser JS runtimes here https://common-min-api.proposal.wintercg.org We should support the list of APIs in our `js` standalone runtime. Alternatively, we could...

enhancement
spec compliance
task list

The current implementation of Crypto::PK::RSA::generate_key is slow and inefficient. It simply generates random values of the specified modulus length and checks if they are valid key pairs. For modulus length...

enhancement

Part of Web Crypto is the ability to export Keys in SubjectPublicKeyInfo format per RFC 5280 For example, RSA-OAEP as used by Discord for generating QR codes for login requires...

enhancement

As discussed a bit on discord, it's not easy to mentally model the interaction between signals, computed signals, and watchers from just reading the prose and the example code. It...

We already have required this version for quite a while for Lagom, Ladybird and Serenity. Now that we require it in all of our CMakeLists, let's scrub for better ways...

👀 pr-needs-review

Full backtrace https://gist.github.com/ADKaster/28ac590d1e2833a17254e84f51c4fd1b Truncated backtrace: ``` VERIFICATION FAILED: !_temporary_result.is_error() at /home/andrew/serenity/Userland/Libraries/LibWeb/DOM/Node.cpp:829 /home/andrew/serenity/Build/lagom/lib/liblagom-ak.so.0(ak_verification_failed+0xef) [0x74a686d7f27f] /home/andrew/serenity/Build/lagom/lib/liblagom-web.so.0(+0x902bf9) [0x74a687702bf9] /home/andrew/serenity/Build/lagom/lib/liblagom-web.so.0(+0x8d3e5e) [0x74a6876d3e5e] /home/andrew/serenity/Build/lagom/lib/liblagom-web.so.0 Web::DOM::Element::for_each_attribute(AK::Function) const 0x97) [0x74a6876d2b77] /home/andrew/serenity/Build/lagom/lib/liblagom-web.so.0 Web::DOM::Element::for_each_attribute(AK::Function) const 0x57) [0x74a6876d2c27] /home/andrew/serenity/Build/lagom/lib/liblagom-web.so.0 Web::DOM::Node::clone_node(Web::DOM::Document*, bool)...

bug

This tracking issue serves to list compiler issues preventing us from building from LLVM trunk or a particular release candidate. LLVM 18 (trunk): Unresolved: Patch in progress: Worked Around: -...

task list