| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Signed-off-by: harjoth <harjoth.khara@gmail.com>
|
Review requested:
|
Sorry, something went wrong.
Commit Queue failed- Loading data for nodejs/node/pull/64404 ✔ Done loading data for nodejs/node/pull/64404 ----------------------------------- PR info ------------------------------------ Title doc: clarify PEM format for signing keys (#64404) Author Harjoth Khara <harjoth.khara@gmail.com> (@harjothkhara, first-time contributor) Branch harjothkhara:codex/doc-crypto-pem-keys -> nodejs:main Labels crypto, doc Commits 1 - doc: clarify PEM format for signing keys Committers 1 - harjoth <harjoth.khara@gmail.com> PR-URL: https://github.com/nodejs/node/pull/64404 Fixes: https://github.com/nodejs/node/issues/35331 Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/64404 Fixes: https://github.com/nodejs/node/issues/35331 Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> -------------------------------------------------------------------------------- ℹ This PR was created on Fri, 10 Jul 2026 06:43:39 GMT ✔ Approvals: 2 ✔ - Tim Perry (@pimterry): https://github.com/nodejs/node/pull/64404#pullrequestreview-4670366516 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/64404#pullrequestreview-4674166183 ✘ 2 GitHub CI job(s) cancelled: ✘ - lint-pr-url: CANCELLED (https://github.com/nodejs/node/actions/runs/29074607456/job/86334929473) ✘ - lint-readme: CANCELLED (https://github.com/nodejs/node/actions/runs/29074607456/job/86334929515) ℹ Green GitHub CI is sufficient -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/29363329109 |
Sorry, something went wrong.
|
Commit queue issue here is unrelated - it seems that switching draft to ready-to-review immediately after opening the PR confused some job statuses, I think I've cleaned it up so it'll work this time. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Clarify that bare string and buffer-source keys passed to the signing and
verification APIs must contain PEM-encoded key material.
This documents the behavior consistently for:
Structured key objects can continue to select other supported formats through
their format property.
Fixes: #35331
Validation
DataView PEM inputs, plus rejection of a bare DER input
Duplicate-work check
PR #63350 previously attempted similar wording for only crypto.sign() and
crypto.verify(), then was withdrawn without review. This change covers all
four APIs identified in the issue discussion.