Skip to content

Commit

Permalink
xxx
Browse files Browse the repository at this point in the history
  • Loading branch information
LDVG committed Feb 28, 2024
1 parent 1013d29 commit d88ef40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions windows/cygwin.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ try {
Write-Host "Listing keys in ${PSScriptRoot}\cygwin.gpg"
Get-ChildItem -Force "${PSScriptRoot}\cygwin.gpg"
& $GPG --debug-all --no-default-keyring `
--keyring ${PSScriptRoot}\cygwin.gpg `
--keyring "${PSScriptRoot}\cygwin.gpg" `
--list-keys
Write-Host "... ok?"
& $GPG --quiet --no-default-keyring `
--keyring ${PSScriptRoot}\cygwin.gpg `
--verify ${Cygwin}\${Setup}.sig ${Cygwin}\${Setup}
--keyring "${PSScriptRoot}\cygwin.gpg" `
--verify "${Cygwin}\${Setup}.sig" "${Cygwin}\${Setup}"
if ($LastExitCode -ne 0) {
throw "GPG signature verification failed"
}
Expand Down

0 comments on commit d88ef40

Please sign in to comment.