Page MenuHome GnuPG

`gpg --fetch-keys` fails because of missing keyserver
Testing, NormalPublic

Description

if no keyserver is configured, gpg --fetch-keys fails with an error:

$ gpg --fetch-keys https://path/to/key.gpg
gpg: requesting key from 'https://path/to/key.gpg'
gpg: WARNING: unable to fetch URI https://path/to/key.gpg: No keyserver available
gpg: key fetch failed: No keyserver available

Related Objects

Event Timeline

werner changed the task status from Open to Testing.Jun 17 2025, 6:37 PM
werner triaged this task as Normal priority.
werner moved this task from Backlog to WIP on the gnupg26 board.
werner added a subscriber: werner.

Funny old bug which shows up only if you don't have any keyserver configured. Note the FIXME in the commit ;-)