You are not logged in.

#1 2017-06-09 07:43:56

thelucster
Member
Registered: 2009-02-25
Posts: 24

[Solved] How do I setup GPG?

I'm trying to setup GPG so that keys for AUR packages can be trusted. However ~/.gnupg on my machine is empty and ~/.gnupg/gpg.conf doesn't exist.

I came across this topic which suggests copying the default from /usr/share/gnupg/gpg-conf.skel, but that file doesn't exist either.

Next I just created ~/.gnupg/gpg.conf and found a set of default options, except GPG is behaving as if it's not reading the configuration from this file.

Help?

Last edited by thelucster (2017-06-13 06:31:39)

Offline

#2 2017-06-09 08:33:55

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,723
Website

Re: [Solved] How do I setup GPG?

/usr/share/gnupg/gpg-conf.skel, but that file doesn't exist either.

It seems to have been removed in a recent update. Either upstream dropped it, or they stopped installing it by default.

Unfortunately this means the wiki is slightly out of date, however, I don't think this changes the setup that drastically. My own gpg.conf only has one option (keyserver-options auto-key-retrieve) in it, which I added myself. What options are you trying to use? Did yo uset the permissions correctly, heeding the caveat under https://wiki.archlinux.org/index.php/Gn … tion_files?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2017-06-13 06:31:25

thelucster
Member
Registered: 2009-02-25
Posts: 24

Re: [Solved] How do I setup GPG?

Ok I solved the issue, I was making assumptions about what was wrong, but it was nothing to do with that. This topic describes the actual issue I was having (I assumed I needed a keyserver entry in gpg.conf):

https://bbs.archlinux.org/viewtopic.php?id=222415

The issue was that the systemd-networkd resolv.conf symlink was missing (strangely that's the only thing that broke from three months of using this machine big_smile).

Offline

Board footer

Powered by FluxBB