Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

Imported RSA keys should have modulusLength and publicExponent #16

Closed
tniessen opened this issue Aug 13, 2019 · 1 comment · Fixed by #43
Closed

Imported RSA keys should have modulusLength and publicExponent #16

tniessen opened this issue Aug 13, 2019 · 1 comment · Fixed by #43
Labels
node feature Requires a missing feature in Node.js

Comments

@tniessen
Copy link
Member

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.

This could also be solved via nodejs/node#26854.

@tniessen tniessen added the node feature Requires a missing feature in Node.js label Aug 13, 2019
tniessen added a commit to tniessen/node that referenced this issue Oct 20, 2019
This API exposes key parameters. It is conceptually different from the
previously discussed keyObject.fields property since it does not give
access to information that could compromise the security of the key,
and the obtained information cannot be used to uniquely identify a
key.

Refs: nodejs/webcrypto#16
@tniessen
Copy link
Member Author

Possible solution in nodejs/node#30045.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
node feature Requires a missing feature in Node.js
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant