Filip Skokan
Filip Skokan
I don't believe the -1 tests are correct, they should all result in a type error instead https://webidl.spec.whatwg.org/#abstract-opdef-converttoint ``` If x < lowerBound or x > upperBound, thenthrow a TypeError....
https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node does not have a default export for node built-ins, node's actual runtime does, but its community maintained types don't. https://github.com/mswjs/msw/issues/2049#issuecomment-2002640920 is a very hot take, node's actual runtime doesn't...
We’d like to see a js implementation contribution, yes. That being said native is always better.
The library uses only the public components to do the CEK wrapping
> How do I convert my digest to a JWK ? First of all, you're missing `.digest()` after updating the hash with your shared secret, that's what produces your final...
@jgunn987 there is not.
Since you're mentioning a backend i assume your runtime is Node.js, in which case you can use `RSA-OAEP-256` out of the box with https://www.npmjs.com/package/jose when Node.js >= 12.9.0 runtime is...
Then maybe i misunderstood what you're looking for. JWA Algorithm already defines what encryption is used as follows - RSA-OAEP is RSAES OAEP using [default parameters](https://tools.ietf.org/html/rfc3447#appendix-A.2.1) - that's SHA-1 hash...
> That being said, maybe the issue needs to stay open until Microsoft gets their stuff sorted? They will most certainly not ;)
> I for one am getting a bit tired of verifying that custom implemented JOSE libraries match standard ones / are interoperable. @OR13 if a library implements the test vectors...