how to verify the validity of the binary using the public key?
I want to install Cygwin-64 ,when i go to download page ,some information tells me: Run setup-x86_64.exe any time you want to update or install a Cygwin package for 64-bit windows. The signature for setup-x86_64.exe can be used to verify the validity of this binary using this public key.
Installing and Updating Cygwin Packages
How can i verify the validity of this binary using this public key?How to write the command in cmd ?
First, import the key with:
gpg --import pubring.asc
gpg --list-keys
Now you can verify this signature against your list of public keys:
gpg --verify setup-x86_64.exe.sig setup-x86_64.exe