GnuPG Keyring Issue Across Systems. Where is pubring.kbx?
Alejandro
alejandro at privacyrequired.com
Wed Oct 9 20:43:01 CEST 2024
Hello,
Thanks,
Researching a little bit inside the files, I found a pubring.db
How i can downgrade my .gnupg folder to make it compatible with older
versions?
Thanks again
On 10/9/24 6:00 PM, Ming Kuang via Gnupg-users wrote:
> On Wed, 2024-10-09 at 15:50 +0200, Alejandro via Gnupg-users wrote:
>> 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!
> Hello,
>
> As far as I know, the latest version of GPG use keyboxd to manage public
> keys (essentially a sqlite database, which supposedly offers better
> performance), and the database files are located in the public-keys.d
> directory
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20241009/c80cf128/attachment-0001.html>
-------------- 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/c80cf128/attachment-0001.key>
More information about the Gnupg-users
mailing list