devgianlu

Results 46 issues of devgianlu

This modification adds an `authHandler` options to authenticate requests. ```js const nuts = Nuts({ repository: "", token: "", authHandler: function (req, version) { // Return whether the requesting user has...

This PR replaces the implementations of AES and HMAC with OpenSSL. These are the last meaningful pieces of home grown crypto in Ladybird.

This PR mplements `get`, `store`, `create` on `CredentialsContainer`. Notably, it also introduces the `CredentialInterface` abstract class to deal with credentials internal methods and metadata. It has been implemented as a...

stale

It would be beneficial from a security standpoint to wipe key material from the heap when it is no longer used. This can be achieved by zeroing the memory on...

This PR removes the custom implementation of zlib, gzip and deflate and uses `zlib` instead. Additionally, fix some issues with `DecompressionStream` and `CompressionStream`.

The following code causes a memory corruption: ```js function main() { class C0 { static { let a0; } } } main() ``` This is because the variable `a0` is...

This PR removes our custom math for `UnsignedBigInteger` and `SignedBigInteger` and replaces it with LibTomMath. The new implementation reduces significantly the amount of code in our codebase and roughly doubles...