FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

crypto: fix default MGF1 hash for OpenSSL 3 by tniessen · Pull Request #40031 · nodejs/node · GitHub

/ node Public

crypto: fix default MGF1 hash for OpenSSL 3 - #40031

Closed
tniessen wants to merge 1 commit into
nodejs:masterfrom
tniessen:crypto-fix-rsa-pss-mgf1-hash-openssl3
Closed

crypto: fix default MGF1 hash for OpenSSL 3#40031
tniessen wants to merge 1 commit into
nodejs:masterfrom
tniessen:crypto-fix-rsa-pss-mgf1-hash-openssl3

Conversation

tniessen commented Sep 7, 2021

Copy link
Copy Markdown
Member

OpenSSL 3 does not seem to set the MGF1 hash algorithm to the RSA-PSS hash by default. In other words, calling EVP_PKEY_CTX_set_rsa_pss_keygen_md does not seem to update the MGF1 hash algorithm. Calling EVP_PKEY_CTX_set_rsa_pss_keygen_mgf1_md after EVP_PKEY_CTX_set_rsa_pss_keygen_md seems to fix this difference in behavior between OpenSSL 1.1.1 and OpenSSL 3.

Refs: #39999

tniessen added the openssl Issues and PRs related to the OpenSSL dependency. label Sep 7, 2021
tniessen requested review from jasnell and panva September 7, 2021 15:22
nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. crypto Issues and PRs related to the crypto subsystem. needs-ci PRs that need a full CI run. labels Sep 7, 2021

tniessen commented Sep 7, 2021

Copy link
Copy Markdown
Member Author

This unblocks #39999.

tniessen added the request-ci Add this label to start a Jenkins CI on a PR. label Sep 7, 2021
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 7, 2021

Copy link
Copy Markdown
Collaborator

panva added author ready PRs that have at least one approval, no outstanding review comments, and a CI started. and removed needs-ci PRs that need a full CI run. author ready PRs that have at least one approval, no outstanding review comments, and a CI started. labels Sep 7, 2021

Copy link
Copy Markdown
Collaborator

panva added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Sep 7, 2021
panva pushed a commit that referenced this pull request Sep 9, 2021
Refs: #39999

PR-URL: #40031
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>

panva commented Sep 9, 2021

Copy link
Copy Markdown
Member

Landed in 5fd7a72

panva closed this Sep 9, 2021
BethGriggs pushed a commit that referenced this pull request Sep 21, 2021
Refs: #39999

PR-URL: #40031
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
BethGriggs mentioned this pull request Sep 21, 2021
1 task
tniessen deleted the crypto-fix-rsa-pss-mgf1-hash-openssl3 branch October 7, 2021 16:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. c++ Issues and PRs that require attention from people who are familiar with C++. crypto Issues and PRs related to the crypto subsystem. openssl Issues and PRs related to the OpenSSL dependency.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL