electron / electron/windows-installer

Codesigning failure: 4294967295

Open
#404 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.6k
Forks
267
Avg merge
5h 38m
Merged PRs (30d)
1

Description

Getting the below failure - if I rdp in to the box and manually rerun the signtool command, it works. Apologies in advance, but not really sure what the stack trace indicates.

> 06:31:21 2022-01-05T13:31:19.048Z electron-windows-installer:spawn Spawning D:\jenkins\workspace\WinDesktopSystm_master\node_modules\electron-winstaller\vendor\Squirrel.exe --releasify C:\Users\jenkins\AppData\Local\Temp\si-202205-3892-1yrwly2.bcp9f\SYSTM_staging.7.15.0-alpha0.nupkg --releaseDir D:\jenkins\workspace\WinDesktopSystm_master\release\win32-installer --loadingGif D:\jenkins\workspace\WinDesktopSystm_master\assets\loading.gif --signWithParams /a /f "D:\loc\cert\TheSufferfestWindowsCert.p12" /p "****" --setupIcon D:\jenkins\workspace\WinDesktopSystm_master\assets\windows\app.ico --no-msi
06:31:35 Failed with exit code: 4294967295
06:31:35 Output:
06:31:35 System.AggregateException: One or more errors occurred. ---> System.Exception: Failed to sign, command invoked was: 'D:\jenkins\workspace\WinDesktopSystm_master\node_modules\electron-winstaller\vendor\signtool.exe sign /a /f "D:\loc\cert\TheSufferfestWindowsCert.p12" /p "****" D:\jenkins\workspace\WinDesktopSystm_master\squirreltemp\tempa\lib\net45\ffmpeg.dll'
06:31:35 at Squirrel.Update.Program.d__17.MoveNext()
06:31:35 --- End of stack trace from previous location where exception was thrown ---
06:31:35 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
06:31:35 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
06:31:35 at Squirrel.Update.Program.<>c__DisplayClass10_0.<b__14>d.MoveNext()
06:31:35 --- End of stack trace from previous location where exception was thrown ---
06:31:35 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
06:31:35 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
06:31:35 at Squirrel.Utility.<>c__DisplayClass13_1`1.<b__1>d.MoveNext()
06:31:35 --- End of inner exception stack trace ---
06:31:35 at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
06:31:35 at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
06:31:35 at Squirrel.Update.Program.<>c__DisplayClass10_0.b__7(String pkgPath)
06:31:35 at Squirrel.ReleasePackage.CreateReleasePackage(String outputFile, String packagesRootDir, Func`2 releaseNotesProcessor, Action`1 contentsPostProcessHook)
06:31:35 at Squirrel.Update.Program.Releasify(String package, String targetDir, String packagesDir, String bootstrapperExe, String backgroundGif, String signingOpts, String baseUrl, String setupIcon, Boolean generateMsi, String frameworkVersion, Boolean generateDeltas)
06:31:35 at Squirrel.Update.Program.executeCommandLine(String[] args)
06:31:35 at Squirrel.Update.Program.main(String[] args)
06:31:35 at Squirrel.Update.Program.Main(String[] args)
06:31:35 ---> (Inner Exception #0) System.Exception: Failed to sign, command invoked was: 'D:\jenkins\workspace\WinDesktopSystm_master\node_modules\electron-winstaller\vendor\signtool.exe sign /a /f "D:\loc\cert\TheSufferfestWindowsCert.p12" /p "****" D:\jenkins\workspace\WinDesktopSystm_master\squirreltemp\tempa\lib\net45\ffmpeg.dll'
06:31:35 at Squirrel.Update.Program.d__17.MoveNext()
06:31:35 --- End of stack trace from previous location where exception was thrown ---
06:31:35 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
06:31:35 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
06:31:35 at Squirrel.Update.Program.<>c__DisplayClass10_0.<b__14>d.MoveNext()
06:31:35 --- End of stack trace from previous location where exception was thrown ---
06:31:35 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
06:31:35 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
06:31:35 at Squirrel.Utility.<>c__DisplayClass13_1`1.<b__1>d.MoveNext()<---
06:31:35
06:31:35
06:31:36 error Command failed with exit code 1.
06:31:36 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.