Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Why sign.js is called 8 times? #3995
target: Windows 10
The part of package.json
and the only diff is:
The full code of sign.js is:
And then I run the command line: yarn dist
Then I get the "sign it" eight times!
I don't know why and how to write the specific sign.js to sign my binary files.
Please help me, thank you in advance! :)
Glad to get your reply so quickly! OK, as our CI flow use a customized sign tool, I can and only can use the customized sign.js to do the sign procedure.
I print the arguments configuration and see there only 4 files with isNest true and false so it runs 8 times
What should I do to get all other binary files to sign?
I do the sign of all the binaries in the sign.js 8 times in one build ? @develar
referenced this issue
Jun 26, 2019
Each file is signed twice — sha1 (to support Windows 7) and sha256 (modern Windows versions).
If you don't want to support Windows 7 — you can set signingHashAlgorithms to
In your custom sign you should sign file according to passed configuration — see WindowsSignTaskConfiguration (and parent class WindowsSignOptions and so on).
OK, I'll try it, thank you