Closed tniessen closed 4 years ago
Generated RSA keys correctly set key.algorithm to an object with modulusLength and publicExponent properties. However, imported RSA keys are missing these properties since there is no easy way to determine them based on a KeyObject.
key.algorithm
modulusLength
publicExponent
KeyObject
This could also be solved via https://github.com/nodejs/node/issues/26854.
Possible solution in https://github.com/nodejs/node/pull/30045.
Generated RSA keys correctly set
key.algorithm
to an object withmodulusLength
andpublicExponent
properties. However, imported RSA keys are missing these properties since there is no easy way to determine them based on aKeyObject
.This could also be solved via https://github.com/nodejs/node/issues/26854.