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 ff63b2c commit f850ae8
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions windows/cygwin.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,11 @@ try {
Invoke-WebRequest ${URL}/${Setup}.sig `
-OutFile ${Cygwin}\${Setup}.sig
}
& $GPG --list-keys
& $GPG --version
cat "C:\Users\runneradmin\.gnupg\common.conf"
Write-Host "Listing keys in ${PSScriptRoot}\cygwin.gpg"
Get-ChildItem -Force "${PSScriptRoot}\cygwin.gpg"
& $GPG -vvvvv --debug-all --no-default-keyring `
--keyring "${PSScriptRoot}\cygwin.kbx" `
--keyring "${PSScriptRoot}\cygwin.gpg" `
--list-keys
Write-Host "... ok?"
& $GPG --quiet --no-default-keyring `
--keyring "${PSScriptRoot}\cygwin.kbx" `
--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 f850ae8

Please sign in to comment.