You are not logged in.

#1 2025-11-15 09:15:59

AnarchistCommunist
Member
Registered: 2025-08-18
Posts: 4

PGP Keyservers config [SOLVED]

There is no line beginning with

keyserver hkp://keyserver.ubuntu.com

in

/etc/pacman.d/gnupg/
~/.gnupg/
/root/.gnupg/

.
However, when running

gpg --refresh-keys (or something else related to keyservers)

, GnuPG pulls from hkps://keyserver.ubuntu.com.
Why does GnuPG do that? Is this normal?

Last edited by AnarchistCommunist (2025-12-07 07:02:16)

Offline

#2 2025-11-15 12:43:07

lmn
Member
Registered: 2021-05-09
Posts: 88
Website

Re: PGP Keyservers config [SOLVED]

The source release of GnuPG sets the default keyserver during building to the Ubuntu keyserver.

info gnupg wrote:

If no keyserver is explicitly configured, dirmngr will use the
built-in default of ‘https://keyserver.ubuntu.com’.  To avoid the
use of a default keyserver the value ‘none’ can be used.

So this behavior seems correct.
Later Versions will to set it to none.

Offline

Board footer

Powered by FluxBB