Skip to content

Commit

Permalink
Switch to new Windows cert
Browse files Browse the repository at this point in the history
  • Loading branch information
dainnilsson committed Jan 31, 2024
1 parent a2e01b3 commit 07b7bd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/win/make_release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ $CWD = pwd
$SOURCE_DIR = "$CWD\ykman"

echo "Signing ykman.exe"
signtool.exe sign /sha1 DD86A2E1383B0E4E1C823B606DDBBCC26E1FF82D /fd SHA256 /t http://timestamp.digicert.com "$SOURCE_DIR\ykman.exe"
signtool.exe sign /sha1 cb7cade8f51d0985d806bcd28e1fec57d3034187 /fd SHA256 /t http://timestamp.digicert.com "$SOURCE_DIR\ykman.exe"

$VERSION = $(& "$SOURCE_DIR\ykman.exe" --version).Split(' ')[-1]

Expand All @@ -16,6 +16,6 @@ echo "Signing .msi"
$OUTPUT_FILE = "yubikey-manager-$VERSION-win64.msi"
mv ".\ykman.msi" $OUTPUT_FILE

signtool.exe sign /sha1 DD86A2E1383B0E4E1C823B606DDBBCC26E1FF82D /fd SHA256 /t http://timestamp.digicert.com /d "YubiKey Manager CLI" ".\$OUTPUT_FILE"
signtool.exe sign /sha1 cb7cade8f51d0985d806bcd28e1fec57d3034187 /fd SHA256 /t http://timestamp.digicert.com /d "YubiKey Manager CLI" ".\$OUTPUT_FILE"

echo "Installer signed: $OUTPUT_FILE"

0 comments on commit 07b7bd0

Please sign in to comment.