Hi!
No matter what I try, I can’t complete any keyserver operations on my Windows machine. Using gpg on Linux inside Bach on Windows work fine, and also on separate Linux servers. This is what it looks like.
Starting C:\Program Files (x86)\GnuPG\bin\gpg.exe --refresh-keys
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
gpg: refreshing 23 keys from hkps://hkps.pool.sks-keyservers.net
gpg: keyserver refresh failed: Resource temporarily unavailable
Tried using different keyservers, with same sad result.
http://pgp.zdv.uni-mainz.de:11371
hkps://hkps.pool.sks-keyservers.net
pgp.mit.edu
c:\Program Files (x86)\GnuPG\bin>gpg -vvv --debug-all --keyserver=“pgp.mit.edu” --search-keys 8This_is_my_key_A
gpg: reading options from ‘C:/Users/MyUser/AppData/Roaming/gnupg/gpg.conf’
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
gpg: using character set ‘CP850’
gpg: enabled debug flags: packet mpi crypto filter iobuf memory cache memstat trust hashing ipc clock lookup extprog
gpg: DBG: [not enabled in the source] start
gpg: DBG: chan_0x000000d0 ← # Home: C:/Users/MyUser/AppData/Roaming/gnupg
gpg: DBG: chan_0x000000d0 ← # Config: C:/Users/MyUser/AppData/Roaming/gnupg/dirmngr.conf
gpg: DBG: chan_0x000000d0 ← OK Dirmngr 2.1.22-beta149 at your service
gpg: DBG: connection to the dirmngr established
gpg: DBG: chan_0x000000d0 → GETINFO version
gpg: DBG: chan_0x000000d0 ← D 2.1.22-beta149
gpg: DBG: chan_0x000000d0 ← OK
gpg: DBG: chan_0x000000d0 → KEYSERVER --clear hkp://pgp.mit.edu
gpg: DBG: chan_0x000000d0 ← OK
gpg: DBG: chan_0x000000d0 → KS_SEARCH – 8This_is_my_key_A
gpg: DBG: chan_0x000000d0 ← ERR 167804934 Resource temporarily unavailable
gpg: error searching keyserver: Resource temporarily unavailable
gpg: keyserver search failed: Resource temporarily unavailable
gpg: DBG: chan_0x000000d0 → BYE
gpg: DBG: [not enabled in the source] stop
gpg: keydb: handles=0 locks=0 parse=0 get=0
gpg: build=0 update=0 insert=0 delete=0
gpg: reset=0 found=0 not=0 cache=0 not=0
gpg: kid_not_found_cache: count=0 peak=0 flushes=0
gpg: sig_cache: total=0 cached=0 good=0 bad=0
gpg: random usage: poolsize=600 mixed=0 polls=0/0 added=0/0
outmix=0 getlvl1=0/0 getlvl2=0/0
gpg: rndjent stat: collector=0x00000000 calls=0 bytes=0
gpg: secmem usage: 0/32768 bytes in 0 blocks
Added “standard-resolver” to dirmngr.conf and since that isn’t supported on windows I got a slightly different error message.
c:\Program Files (x86)\GnuPG\bin>gpg -vvv --debug-all --keyserver=“pgp.mit.edu” --search-keys 8This_is_my_key_A
gpg: reading options from ‘C:/Users/MyUser/AppData/Roaming/gnupg/gpg.conf’
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
gpg: using character set ‘CP850’
gpg: enabled debug flags: packet mpi crypto filter iobuf memory cache memstat trust hashing ipc clock lookup extprog
gpg: DBG: [not enabled in the source] start
gpg: no running Dirmngr - starting ‘c:\Program Files (x86)\GnuPG\bin\dirmngr.exe’
gpg: waiting for the dirmngr to come up … (5s)
gpg: DBG: chan_0x000000ec ← # Home: C:/Users/MyUser/AppData/Roaming/gnupg
gpg: DBG: chan_0x000000ec ← # Config: C:/Users/MyUser/AppData/Roaming/gnupg/dirmngr.conf
gpg: DBG: chan_0x000000ec ← OK Dirmngr 2.1.22-beta149 at your service
gpg: connection to the dirmngr established
gpg: DBG: chan_0x000000ec → GETINFO version
gpg: DBG: chan_0x000000ec ← D 2.1.22-beta149
gpg: DBG: chan_0x000000ec ← OK
gpg: DBG: chan_0x000000ec → KEYSERVER --clear hkp://pgp.mit.edu
gpg: DBG: chan_0x000000ec ← OK
gpg: DBG: chan_0x000000ec → KS_SEARCH – 8This_is_my_key_A
gpg: DBG: chan_0x000000ec ← ERR 167772220 Not supported
gpg: error searching keyserver: Not supported
gpg: keyserver search failed: Not supported
gpg: DBG: chan_0x000000ec → BYE
gpg: DBG: [not enabled in the source] stop
gpg: keydb: handles=0 locks=0 parse=0 get=0
gpg: build=0 update=0 insert=0 delete=0
gpg: reset=0 found=0 not=0 cache=0 not=0
gpg: kid_not_found_cache: count=0 peak=0 flushes=0
gpg: sig_cache: total=0 cached=0 good=0 bad=0
gpg: random usage: poolsize=600 mixed=0 polls=0/0 added=0/0
outmix=0 getlvl1=0/0 getlvl2=0/0
gpg: rndjent stat: collector=0x00000000 calls=0 bytes=0
gpg: secmem usage: 0/32768 bytes in 0 blocks