-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Code Signing Issue on Server 2008 R2 #416
Comments
We must sign using dual-code sign — sha1 for old windows versions and sha256 for new windows 10 (required by Microsoft). So, bundled signtool requires windows 10 to be run. I assume, Server 2008 R2 is too old. Is it possible to upgrade to Windows Server 2012 & 2012 R2? In any case I am not yet sure that Server 2008 R2 is not possible to support but... I doesn't have it to test. |
@dennyferra BTW, please update to 3.25 because 3.23 has critical regression if you build win on win. |
Under the hood a lot of changes: * electron-packages fork use promises, option added to avoid move on electron-builder side (generated app out dir customized) * no more lib/net45 anymore - as in previous versions of electron-builder * windows bootstrap loadingGif delay removed * windows bootstrap zip uses default compression level to speedup decompression (package is still compressed using -9) * app out dir changed — *osx* for OS X instead of appName-darwin-arch, *linux* for Linux instead of appName-linux-arch Closes electron-userland#374, electron-userland#416
Under the hood a lot of changes: * electron-packages fork use promises, option added to avoid move on electron-builder side (generated app out dir customized) * windows bootstrap loadingGif delay removed * windows bootstrap zip uses default compression level to speedup decompression (package is still compressed using -9) * app out dir changed — **osx** for OS X instead of appName-darwin-arch, **linux** for Linux instead of appName-linux-arch * **Windows Code Signing on Linux** @heinzbeinz added `signingHashAlgorithms` and code signing on windows 2008 r2, thanks for electron-userland#434. Closes electron-userland#374, electron-userland#416
Under the hood a lot of changes: * electron-packages fork use promises, option added to avoid move on electron-builder side (generated app out dir customized) * windows bootstrap loadingGif delay removed * windows bootstrap zip uses default compression level to speedup decompression (package is still compressed using -9) * app out dir changed — **osx** for OS X instead of appName-darwin-arch, **linux** for Linux instead of appName-linux-arch * **Windows Code Signing on Linux** @heinzbeinz added `signingHashAlgorithms` and code signing on windows 2008 r2, thanks for electron-userland#434. Closes electron-userland#374, electron-userland#416
Under the hood a lot of changes: * electron-packages fork use promises, option added to avoid move on electron-builder side (generated app out dir customized) * windows bootstrap loadingGif delay removed * windows bootstrap zip uses default compression level to speedup decompression (package is still compressed using -9) * app out dir changed — **osx** for OS X instead of appName-darwin-arch, **linux** for Linux instead of appName-linux-arch * **Windows Code Signing on Linux** @heinzbeinz added `signingHashAlgorithms` and code signing on windows 2008 r2, thanks for electron-userland#434. Closes electron-userland#374, electron-userland#416
Under the hood a lot of changes: * electron-packages fork use promises, option added to avoid move on electron-builder side (generated app out dir customized) * windows bootstrap loadingGif delay removed * windows bootstrap zip uses default compression level to speedup decompression (package is still compressed using -9) * app out dir changed — **osx** for OS X instead of appName-darwin-arch, **linux** for Linux instead of appName-linux-arch * **Windows Code Signing on Linux** @heinzbeinz added `signingHashAlgorithms` and code signing on windows 2008 r2, thanks for electron-userland#434. Closes electron-userland#374, electron-userland#416
Under the hood a lot of changes: * electron-packages fork use promises, option added to avoid move on electron-builder side (generated app out dir customized) * windows bootstrap loadingGif delay removed * windows bootstrap zip uses default compression level to speedup decompression (package is still compressed using -9) * app out dir changed — **osx** for OS X instead of appName-darwin-arch, **linux** for Linux instead of appName-linux-arch * **Windows Code Signing on Linux** @heinzbeinz added `signingHashAlgorithms` and code signing on windows 2008 r2, thanks for electron-userland#434. Closes electron-userland#374, electron-userland#416
Under the hood a lot of changes: * electron-packages fork use promises, option added to avoid move on electron-builder side (generated app out dir customized) * windows bootstrap loadingGif delay removed * windows bootstrap zip uses default compression level to speedup decompression (package is still compressed using -9) * app out dir changed — **osx** for OS X instead of appName-darwin-arch, **linux** for Linux instead of appName-linux-arch * **Windows Code Signing on Linux** @heinzbeinz added `signingHashAlgorithms` and code signing on windows 2008 r2, thanks for electron-userland#434. Closes electron-userland#374, electron-userland#416
Under the hood a lot of changes: * electron-packages fork use promises, option added to avoid move on electron-builder side (generated app out dir customized) * windows bootstrap loadingGif delay removed * windows bootstrap zip uses default compression level to speedup decompression (package is still compressed using -9) * app out dir changed — **osx** for OS X instead of appName-darwin-arch, **linux** for Linux instead of appName-linux-arch * **Windows Code Signing on Linux** @heinzbeinz added `signingHashAlgorithms` and code signing on windows 2008 r2, thanks for electron-userland#434. Closes electron-userland#374, electron-userland#416
Under the hood a lot of changes: * electron-packages fork use promises, option added to avoid move on electron-builder side (generated app out dir customized) * windows bootstrap loadingGif delay removed * windows bootstrap zip uses default compression level to speedup decompression (package is still compressed using -9) * app out dir changed — **osx** for OS X instead of appName-darwin-arch, **linux** for Linux instead of appName-linux-arch * **Windows Code Signing on Linux** @heinzbeinz added `signingHashAlgorithms` and code signing on windows 2008 r2, thanks for electron-userland#434. Closes electron-userland#374, electron-userland#416
Under the hood a lot of changes: * electron-packages fork use promises, option added to avoid move on electron-builder side (generated app out dir customized) * windows bootstrap loadingGif delay removed * windows bootstrap zip uses default compression level to speedup decompression (package is still compressed using -9) * app out dir changed — **osx** for OS X instead of appName-darwin-arch, **linux** for Linux instead of appName-linux-arch * **Windows Code Signing on Linux** @heinzbeinz added `signingHashAlgorithms` and code signing on windows 2008 r2, thanks for #434. Closes #374, #416
node version 5.9.0
npm version 3.7.3
electron 0.38.9
electron-builder 3.23.0
I'm having trouble code-signing my app with electron-builder. This issue is happening on our Team City build server which is running Server 2008 R2.
The error that is being generated is:
I'm not able to find much information on the error code given above. I extracted the complete SignTool command that is being used (and pointed to the certificate locally), this gives the error mentioned above:
signtool sign /tr http://timestamp.comodoca.com/rfc3161 /f C:\certificate.p12 /fd sha256 /td sha256 /d Downloader /as /p ***** D:\TeamCity\buildAgent\work\3cb96f5abb9e4582\release\downloader-win32-x64\Downloader.exe
Interestingly code signing works fine on my development machine which is running Windows 10.
The text was updated successfully, but these errors were encountered: