Skip to content

Conversation

@codebytere
Copy link
Member

Description of Change

Closes #41590

Adds missing support for NODE_EXTRA_CA_CERTS in Electron. It works as-is with OpenSSL & BoringSSL both - as evidenced by the workaround employed for devcontainers.

Also allows re-enabling of some disabled Node.js smoke tests.

Checklist

Release Notes

Notes: Added support for NODE_EXTRA_CA_CERTS.

@codebytere codebytere added semver/minor backwards-compatible functionality target/28-x-y PR should also be added to the "28-x-y" branch. target/29-x-y PR should also be added to the "29-x-y" branch. target/30-x-y PR should also be added to the "30-x-y" branch. labels Mar 25, 2024
@codebytere codebytere requested review from ckerr, nornagon and zcbenz March 25, 2024 13:35
@codebytere codebytere requested a review from a team as a code owner March 25, 2024 13:35
@codebytere codebytere force-pushed the fix-ca-cert-respect branch from 3dca55f to 0ea468a Compare March 25, 2024 13:36
Copy link
Member

@MarshallOfSound MarshallOfSound left a comment

Choose a reason for hiding this comment

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

I think either the run as node fuse or the node options fuse should disable support for this env bar to allow apps to safely opt out

@codebytere
Copy link
Member Author

@MarshallOfSound gated it into the node options fuse

@codebytere codebytere requested a review from nornagon March 26, 2024 09:20
@codebytere codebytere force-pushed the fix-ca-cert-respect branch 2 times, most recently from 225f456 to 627337f Compare March 27, 2024 09:54
@nornagon
Copy link
Contributor

API LGTM

@codebytere codebytere force-pushed the fix-ca-cert-respect branch from 627337f to 0953e13 Compare March 29, 2024 12:52
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened recently label Apr 1, 2024
@codebytere codebytere requested a review from nornagon April 8, 2024 14:32
@codebytere codebytere force-pushed the fix-ca-cert-respect branch from 2aebb93 to f0a499e Compare April 9, 2024 17:49
Copy link
Member

@MarshallOfSound MarshallOfSound left a comment

Choose a reason for hiding this comment

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

API LGTM

Copy link
Member

@jkleinsc jkleinsc left a comment

Choose a reason for hiding this comment

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

LGTM - just a small nit on the docs

Co-authored-by: John Kleinschmidt <[email protected]>
@codebytere codebytere requested a review from jkleinsc April 10, 2024 11:20
@jkleinsc jkleinsc merged commit 43a9f70 into main Apr 10, 2024
@jkleinsc jkleinsc deleted the fix-ca-cert-respect branch April 10, 2024 14:30
@release-clerk
Copy link

release-clerk bot commented Apr 10, 2024

Release Notes Persisted

Added support for NODE_EXTRA_CA_CERTS.

@trop
Copy link
Contributor

trop bot commented Apr 10, 2024

I was unable to backport this PR to "28-x-y" cleanly;
you will need to perform this backport manually.

@trop
Copy link
Contributor

trop bot commented Apr 10, 2024

I was unable to backport this PR to "29-x-y" cleanly;
you will need to perform this backport manually.

@trop trop bot added needs-manual-bp/28-x-y needs-manual-bp/29-x-y and removed target/28-x-y PR should also be added to the "28-x-y" branch. target/29-x-y PR should also be added to the "29-x-y" branch. labels Apr 10, 2024
@trop
Copy link
Contributor

trop bot commented Apr 10, 2024

I was unable to backport this PR to "30-x-y" cleanly;
you will need to perform this backport manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api-review/requested 🗳 merged/30-x-y PR was merged to the "30-x-y" branch. semver/minor backwards-compatible functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request]: Electron does not respect NODE_EXTRA_CA_CERTS

5 participants