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

crypto: fix WebCrypto import of RSA-PSS keys #36877

Closed
wants to merge 1 commit into from

Conversation

tniessen
Copy link
Member

This patch changes GetRsaKeyDetail to work in older supported versions of OpenSSL. The added test case fails CI without this patch.

I assume the WebCrypto implementation also does not handle imported RSASSA-PSS-params correctly, but it is out of scope for this PR to fix that. Last time I checked, OpenSSL made that step difficult.

Refs: openssl/openssl#10217
Refs: #36188

@tniessen tniessen added the crypto Issues and PRs related to the crypto subsystem. label Jan 11, 2021
@tniessen tniessen requested a review from jasnell January 11, 2021 14:20
@nodejs-github-bot nodejs-github-bot added the c++ Issues and PRs that require attention from people who are familiar with C++. label Jan 11, 2021
@tniessen tniessen added the request-ci Add this label to start a Jenkins CI on a PR. label Jan 11, 2021
Copy link
Contributor

@cjihrig cjihrig left a comment

Choose a reason for hiding this comment

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

LGTM. The linter seems to be complaining about the test though.

@tniessen tniessen removed the request-ci Add this label to start a Jenkins CI on a PR. label Jan 11, 2021
@tniessen tniessen added the request-ci Add this label to start a Jenkins CI on a PR. label Jan 11, 2021
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jan 11, 2021
@nodejs-github-bot

This comment has been minimized.

This patch changes GetRsaKeyDetail to work in older supported versions
of OpenSSL.

Refs: openssl/openssl#10217
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot
Copy link
Collaborator

@tniessen tniessen added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jan 11, 2021
panva pushed a commit that referenced this pull request Jan 13, 2021
This patch changes GetRsaKeyDetail to work in older supported versions
of OpenSSL.

Refs: openssl/openssl#10217

PR-URL: #36877
Refs: #36188
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@panva
Copy link
Member

panva commented Jan 13, 2021

Landed in 6a7eb32

@panva panva closed this Jan 13, 2021
@tniessen tniessen removed the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jan 14, 2021
@tniessen tniessen deleted the webcrypto-pss-fips branch January 15, 2021 17:14
ruyadorno pushed a commit that referenced this pull request Jan 22, 2021
This patch changes GetRsaKeyDetail to work in older supported versions
of OpenSSL.

Refs: openssl/openssl#10217

PR-URL: #36877
Refs: #36188
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@ruyadorno ruyadorno mentioned this pull request Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ Issues and PRs that require attention from people who are familiar with C++. crypto Issues and PRs related to the crypto subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants