mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
1ba508d51b
As a part of the new signing requrements for Windows change approach to use the DigiCert cloud HSM service KeyLocker. PR-URL: https://github.com/nodejs/node/pull/50956 Fixes: https://github.com/nodejs/build/issues/3491 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
12 lines
452 B
Batchfile
12 lines
452 B
Batchfile
@echo off
|
|
|
|
@REM From December 2023, new certificates use DigiCert cloud HSM service for EV signing.
|
|
@REM They provide a client side app smctl.exe for managing certificates and signing process.
|
|
@REM Release CI machines are configured to have it in the PATH so this can be used safely.
|
|
smctl sign -k key_nodejs -i %1
|
|
if not ERRORLEVEL 1 (
|
|
echo Successfully signed %1 using smctl
|
|
exit /b 0
|
|
)
|
|
echo Could not sign %1 using smctl
|
|
exit /b 1 |