RSA key in JWK format can't be imported with createPublicKey()
#45304
Labels
crypto
Issues and PRs related to the crypto subsystem.
createPublicKey()
#45304
Version
v16.13.0
Platform
Linux relaybox 5.15.0-52-generic #58-Ubuntu SMP Thu Oct 13 08:03:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
crypto
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior?
PublicKeyObject
instance is returned.What do you see instead?
However,
key
must be an object since we're trying to import the key by specifying its exponent and modulus.Additional information
No response
The text was updated successfully, but these errors were encountered: