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: incompatible Windows sign tool in end user environment. #6817

Merged
merged 4 commits into from
May 1, 2022

Conversation

rainbean
Copy link
Contributor

  • the bundled and outdated signtool.exe failed to parse correct certificate in Windows 11 even though no issue at all in Windows 10 environment. The resulting ambiguous error: SignTool Error: Multiple signature support is not implemented for this filetype
  • the path location logic was diverged and incompatible in commit of five years for Windows VM case
  • unify code logic to give end-user a chance to assign correct signtool.exe path with environment variable SIGNTOOL_PATH, e.g. $env:SIGNTOOL_PATH = "C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64\signtool.exe"
  • it could be nice to update outdated signtool.exe, yet not in scope of the PR

rainbean and others added 3 commits October 21, 2020 12:52
…erland#3501, electron-userland#4931)

honor publisher in `package.json`, for example:
```JSON
"build": {
    "appx": {
        "publisher": "CN=\"Bob Doe\", O=\"Bob Doe\", STREET=123 Fake St., L=London, S=London, PostalCode=A1042, C=GB",
    }
}
```
side-effect: accept env variable SIGNTOOL_PATH for end-user customization.
E.g. electron-builder bundle signtool.exe failed to sign in Windows 11 environment
@changeset-bot
Copy link

changeset-bot bot commented Apr 26, 2022

🦋 Changeset detected

Latest commit: 1c0322c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
app-builder-lib Patch
dmg-builder Patch
electron-builder-squirrel-windows Patch
electron-builder Patch
electron-forge-maker-appimage Patch
electron-forge-maker-nsis-web Patch
electron-forge-maker-nsis Patch
electron-forge-maker-snap Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify
Copy link

netlify bot commented Apr 26, 2022

Deploy Preview for car-park-attendant-cleat-11576 ready!

Name Link
🔨 Latest commit 1c0322c
🔍 Latest deploy log https://app.netlify.com/sites/car-park-attendant-cleat-11576/deploys/626adfbc2517d9000842f21f
😎 Deploy Preview https://deploy-preview-6817--car-park-attendant-cleat-11576.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@mmaietta mmaietta merged commit 2860d13 into electron-userland:master May 1, 2022
@github-actions github-actions bot mentioned this pull request May 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants