diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 59fea51..8ef547f 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -6,7 +6,15 @@ { "label": "sign-code", "type": "shell", - "command": "$CodeSigningSecret = Get-Secret 7ff57fcd-dcf7-4ee9-8506-5d53b28c63a1; $cert = Get-PfxCertificate -FilePath $CodeSigningSecret.uris[0].uri -Password $CodeSigningSecret.password; $files = Get-ChildItem ${workspaceFolder} -Filter '*.ps1' -Recurse; $files += Get-ChildItem ${workspaceFolder} -Filter '*.psm1' -Recurse; $files | Set-AuthenticodeSignature -Certificate $cert -TimestampServer 'http://timestamp.sectigo.com'", + "command": "Unlock-SecretVault warden; $CodeSigningSecret = Get-Secret 7ff57fcd-dcf7-4ee9-8506-5d53b28c63a1; $cert = Get-PfxCertificate -FilePath $CodeSigningSecret.uris[0].uri -Password $CodeSigningSecret.password; $files = Get-ChildItem ${workspaceFolder} -Filter '*.ps1' -Recurse; $files += Get-ChildItem ${workspaceFolder} -Filter '*.psm1' -Recurse; $files | Set-AuthenticodeSignature -Certificate $cert -TimestampServer 'http://timestamp.sectigo.com'", + "presentation": { + "echo": true, + "reveal": "always", + "focus": false, + "panel": "shared", + "showReuseMessage": true, + "clear": false + } } ] }