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

feat: expose the chromium validated certificate in the certificate verify prox #21890

Merged
merged 1 commit into from
Jan 27, 2020

Conversation

MarshallOfSound
Copy link
Member

Fixes #19751
Refs https://github.com/dialogs/electron-ssl-pinning/issues/3

As in notes, pretty straight forward, just exposing another certificate in this proc.

Notes: added validatedCertificate to the setCertificateVerifyProc callback to assist with certificate pinning implementations

@electron-cation electron-cation bot added new-pr 🌱 PR opened in the last 24 hours and removed new-pr 🌱 PR opened in the last 24 hours labels Jan 24, 2020
@nornagon nornagon merged commit 37feeb8 into master Jan 27, 2020
@release-clerk
Copy link

release-clerk bot commented Jan 27, 2020

Release Notes Persisted

added validatedCertificate to the setCertificateVerifyProc callback to assist with certificate pinning implementations

@nornagon nornagon deleted the include-validated-cert branch January 27, 2020 18:48
@ffflorian
Copy link
Contributor

@MarshallOfSound any chance this could get backported to 7.x and 6.x?

@MarshallOfSound
Copy link
Member Author

@ffflorian 6.x is a matter of days from EOL and at the same time 7.x will be moving to Security Releases Only.

This feature is included in 9.x which is being moved from beta to 9.0.0 at the same time. For a variety of reasons but especially if you want this feature I strongly recommend upgrading to Electron 9 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No root CA provided in the certificate chain (session.defaultSession.setCertificateVerifyProc)
4 participants