1. Home
  2. Docs
  4. AUR (yay) keyring issues

AUR (yay) keyring issues

As you may know using yay or makepkg to build and install AUR builds do not use the same keyring as pacman does, surprise surprise it uses your users keyring, but also GnuPG and its default keyserver with hkps:// protocol sks-keyservers still issue with that and you may want to use hkp:// instead:

make sure you do not have the file already!

ls ~/.gnupg/gpg.conf
ls: cannot access '/home/'username'/.gnupg/gpg.conf': No such file or directory

then touch the file and insert the hkp:// server-line:

touch ~/.gnupg/gpg.conf

echo keyserver hkp://pool.sks-keyservers.net > ~/.gnupg/gpg.conf

Now you should be able to get and add maintainer key to your local users keyring if needed.

Follow us
Was this article helpful to you? Yes No

How can we help?