UPDATE (2018-10-20)
The information below is now obsolete, since as of today the current Cygwin gnupg2 package version is at 2.2.10-1
and the one coming with the most recent gpg4win (3.1.3) is at 2.2.10
.
No, there is currently no native Cygwin package for GnuPG 2+. Please file a complaint on their email list. The only way is to follow my installation instructions and soft link the new agents. Be careful as there are several files with similar names, as you don't want to break the native/original gpg used by the package manager and other apps.
$ ls -1 /cygdrive/c/Program\ Files\ \(x86\)/GnuPG/bin/gpg*
gpg.exe'*
gpg-agent.exe'*
gpgconf.exe'*
gpg-connect-agent.exe'*
gpgme-w32spawn.exe'*
gpg-preset-passphrase.exe'*
gpgsm.exe'*
gpgtar.exe'*
gpgv.exe'*
gpg-wks-client.exe'*
$ ls -1 /usr/bin/gpg*
gpg.exe*
gpgsplit.exe*
gpgv.exe*
gpg-zip*
The bare minimum to link are:
$ ln -s /cygdrive/c/Program\ Files\ \(x86\)/GnuPG/bin/gpg.exe /usr/bin/gpg2
$ ln -s /cygdrive/c/Program\ Files\ \(x86\)/GnuPG/bin/gpg-agent.exe /usr/bin/gpg-agent
GnuPG 2+ runs fine for me in Cygwin. But other packages I use use GnuPG 1, hence the desire for gpg-agent for that version. – Kenny Evitt – 2016-08-15T13:49:33.260
@nwaltham is specifically asking for Cygwin, which is not using apt-get. – not2qubit – 2017-05-09T22:05:30.660
1I read the question, but I am pointing out there's new alternatives to Cygwin now on Windows that provide GNU and *nix toolchains – Christopher – 2017-05-09T23:42:33.877