GnuPG Keyring Issue Across Systems. Where is pubring.kbx?

Alejandro alejandro at privacyrequired.com
Wed Oct 9 15:50:24 CEST 2024


Hi,

I’m using the default GnuPG package from `pacman -S gnupg` on my Arch 
system. For security reasons, I copied my GNUPGHOME to a USB drive, 
which worked well when I mounted it as GNUPGHOME.

However, I recently needed to use my keys on another machine running 
Pop!_OS 22.04. After decrypting my LUKS USB drive and exporting the 
GNUPGHOME to my .gnupg directory on the USB, I ran `gpg --list-keys`. 
This created a new `pubring.kdx`. Upon checking my main .gnupg 
directory, I noticed it doesn’t contain a `pubring.kbx`, `pubring.gpg`, 
or `secring.gpg`.

I suspect this is because Arch, being a rolling release, uses a newer 
version of GnuPG that doesn't require a pubring, while Pop!_OS is using 
an older version.

Here’s what my .gnupg directory looks like:

```

ls .gnupg

common.conf  openpgp-revocs.d/   public-keys.d/  sshcontrol
crls.d/      private-keys-v1.d/  random_seed     trustdb.gpg
```

Thanks for your help!

Alejandro
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x9B029E4189816E4A.asc
Type: application/pgp-keys
Size: 3175 bytes
Desc: OpenPGP public key
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20241009/529d0fa4/attachment-0001.key>


More information about the Gnupg-users mailing list