Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ext/crypto): export RSA as pkcs#8 #11880

Merged
merged 14 commits into from
Sep 13, 2021

Conversation

littledivy
Copy link
Member

towards #11690

@littledivy littledivy marked this pull request as draft August 30, 2021 16:42
ext/crypto/lib.rs Outdated Show resolved Hide resolved
@littledivy littledivy marked this pull request as ready for review September 1, 2021 06:58
@bartlomieju bartlomieju added this to the 1.14.0 milestone Sep 4, 2021
// Node, Chromium and Firefox also use rsaEncryption (1.2.840.113549.1.1.1) and do not support id-RSASSA-PSS.

// parameters are set to NULL opposed to what spec wants (see above)
oid: rsa::pkcs8::ObjectIdentifier::new("1.2.840.113549.1.1.1"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So probably we shouldn't support it either...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup, that is the current behavior 👍

Copy link
Member

@lucacasonato lucacasonato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there no WPT for this?

@littledivy
Copy link
Member Author

littledivy commented Sep 13, 2021

Are there no WPT for this?

@lucacasonato There are. Will enable them in #11891 (cuz they depend on importKey) :-)

Copy link
Member

@lucacasonato lucacasonato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks :-)

@lucacasonato lucacasonato merged commit 2199bda into denoland:main Sep 13, 2021
@littledivy littledivy deleted the rsa_export_pkcs8 branch September 13, 2021 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants