Add timestamp server to code signature

This commit is contained in:
maxi322 2024-12-30 15:14:08 +01:00
parent 28bea518f0
commit dcf3a75434

View File

@ -60,7 +60,7 @@ jobs:
run: |
$cert = Get-ChildItem -Path Cert:\CurrentUser\My -CodeSigningCert | Select-Object -First 1
if ($null -eq $cert) { throw "Code signing certificate not found" }
Set-AuthenticodeSignature -FilePath ./winutil.ps1 -Certificate $cert
Set-AuthenticodeSignature -FilePath ./winutil.ps1 -Certificate $cert -TimeStampServer "http://timestamp.digicert.com"
- name: Verify code signature
shell: pwsh