Skip to content

Commit 539ccce

Browse files
committed
Adds certificate salt
1 parent 86f2d1e commit 539ccce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Build.PSake.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Task Sign -Depends Deploy {
8585
if (-not (Get-ChildItem -Path 'Cert:\CurrentUser\My' | Where-Object Thumbprint -eq $thumbprint)) {
8686

8787
## Decrypt and import code signing cert
88-
.\appveyor-tools\secure-file.exe -decrypt .\VE_Certificate_2023.pfx.enc -secret $env:certificate_secret
88+
.\appveyor-tools\secure-file.exe -decrypt .\VE_Certificate_2023.pfx.enc -secret "$env:certificate_secret" -salt "$env:certificate_salt"
8989
$certificatePassword = ConvertTo-SecureString -String $env:certificate_secret -AsPlainText -Force
9090
Import-PfxCertificate -FilePath .\VE_Certificate_2023.pfx -CertStoreLocation 'Cert:\CurrentUser\My' -Password $certificatePassword
9191
}

0 commit comments

Comments
 (0)