Add timestamp server to code signature (#3139)

Co-authored-by: maxi322 <maxi322@users.noreply.github.com>
This commit is contained in:
maxi322 2025-01-10 20:41:54 +01:00 committed by GitHub
parent 201f24c76e
commit 1dd0367417
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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