mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-01-12 07:50:36 -06:00
Add timestamp server to code signature (#3139)
Co-authored-by: maxi322 <maxi322@users.noreply.github.com>
This commit is contained in:
parent
201f24c76e
commit
1dd0367417
2
.github/workflows/pre-release.yaml
vendored
2
.github/workflows/pre-release.yaml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user