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

fix: app.importCertificate crash on Linux #25523

Merged
merged 1 commit into from Sep 19, 2020
Merged

Conversation

codebytere
Copy link
Member

Description of Change

Closes #25506.

Refs https://chromium-review.googlesource.com/c/chromium/src/+/1857045.

When we rolled Chromium in this commit we adapted for updates in the above CL but missed the critical line crypto::EnsureNSSInit() which ensures that PK11_GetInternalKeySlot() return non-nullptr values.

Stacktrace: Screen Shot 2020-09-17 at 5 38 35 PM

Checklist

Release Notes

Notes: Fixed a crash in app.importCertificate() on Linux.

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Sep 17, 2020
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Sep 18, 2020
@codebytere codebytere merged commit 137fc65 into master Sep 19, 2020
@release-clerk
Copy link

release-clerk bot commented Sep 19, 2020

Release Notes Persisted

Fixed a crash in app.importCertificate() on Linux.

@trop
Copy link
Contributor

trop bot commented Sep 19, 2020

I have automatically backported this PR to "10-x-y", please check out #25536

@trop trop bot removed the target/10-x-y label Sep 19, 2020
@trop
Copy link
Contributor

trop bot commented Sep 19, 2020

I have automatically backported this PR to "11-x-y", please check out #25537

@trop
Copy link
Contributor

trop bot commented Sep 19, 2020

I have automatically backported this PR to "9-x-y", please check out #25538

@trop trop bot added the merged/11-x-y label Sep 20, 2020
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.

electron crashes when calling importCertificate
3 participants