How to get gpg2 installed on cygwin?
I'm trying to install gpg2 on win10
There is no need to install gpg2 using the complicated instructions in the link you have provided.
The gpg2 package is available through the normal Cygwin installer. If you install it using this it will be correctly configured.
Run the install program
Continue until you get to the "Select Packages" screen
Set the "View" to "Full"
Set "Search" to "gnupg2"
Click the first "Skip" (it will change to the version number 2.1.21-1)
Click "Next" to install
As reported by David, GNU Privacy Guard version 2 is available
on Cygwin
https://www.cygwin.com/ml/cygwin-announce/2017-06/msg00080.html
as last version of 1
https://sourceware.org/ml/cygwin-announce/2016-08/msg00109.html
The two versions coexist in parallel.