Skip to content

tls: handle large RSA exponents in X.509 cert#64093

Open
tniessen wants to merge 1 commit into
nodejs:mainfrom
tniessen:x509-handle-large-exponent
Open

tls: handle large RSA exponents in X.509 cert#64093
tniessen wants to merge 1 commit into
nodejs:mainfrom
tniessen:x509-handle-large-exponent

Conversation

@tniessen

Copy link
Copy Markdown
Member

If the exponent does not fit into a single word, previous versions of Node.js would report an incorrect value or, recently, return null. Change GetExponentString() to handle arbitrarily large RSA public exponents properly.

Refs: #63895

If the exponent does not fit into a single word, previous versions of
Node.js would report an incorrect value or, recently, return `null`.
Change `GetExponentString()` to handle arbitrarily large RSA public
exponents properly.

Signed-off-by: Tobias Nießen <tniessen@tnie.de>
@tniessen tniessen added the tls Issues and PRs related to the tls subsystem. label Jun 23, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/crypto

@nodejs-github-bot 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 Jun 23, 2026
@panva panva added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. labels Jun 23, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jun 23, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

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 pending requests for changes, 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. needs-ci PRs that need a full CI run. tls Issues and PRs related to the tls subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants