Keys cannot be refreshed via "gpg2 --refresh-keys"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GnuPG2 |
Incomplete
|
Unknown
|
|||
gnupg2 (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
gpg2 --refresh-keys yields the following:
gpg: keyserver refresh failed: No keyserver available
However, I have everything set up in dirmngr.conf:
keyserver hkp://jirk5u4os
keyserver hkps://
hkp-cacert /home/colan/
...and dirmngr can find it:
colan@snake[Tue 13 14:30]% dirmngr
dirmngr[26401.0]: permanently loaded certificates: 0
dirmngr[26401.0]: runtime cached certificates: 0
# Home: ~/.gnupg
# Config: /home/colan/
OK Dirmngr 2.1.11 at your service
keyserver
S KEYSERVER hkps://
OK
Looks like gpg2 isn't grabbing the correct information from the response as here's what's happening with debugging turned on:
colan@snake[Tue 13 14:30]% gpg2 --refresh-keys --debug-all
[...]
gpg: DBG: connection to the dirmngr established
gpg: DBG: chan_6 -> GETINFO version
gpg: DBG: chan_6 <- D 2.1.11
gpg: DBG: chan_6 <- OK
gpg: DBG: chan_6 -> KEYSERVER
gpg: DBG: chan_6 <- OK
gpg: keyserver refresh failed: No keyserver available
gpg: DBG: chan_6 -> BYE
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: gnupg2 2.1.11-6ubuntu2
ProcVersionSign
Uname: Linux 4.4.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Sep 13 14:31:34 2016
EcryptfsInUse: Yes
SourcePackage: gnupg2
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in gnupg2: | |
status: | Unknown → New |
Changed in gnupg2: | |
status: | New → Incomplete |
Changed in gnupg2 (Ubuntu): | |
importance: | Undecided → High |
tags: | added: yakkety |
Status changed to 'Confirmed' because the bug affects multiple users.