You are not logged in.

#1 2024-03-20 12:07:02

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 1,379

[SOLVED]gpg: keyserver receive failed: Server indicated a failure

Hi,

gpg --recv-keys whatever:

gpg: keyserver receive failed: Server indicated a failure

I don't know what else to try.
I have already tried to change the keyserver, but it didn't help.
And it happens across multiple users (haven't tried changing the keyserver there), so I might have accidentally changed a global config.

and also:

gpg: WARNING: unsafe permissions on homedir '/home/janluca/.cache/gnupg'

what are the right permissions?

Last edited by jl2 (2024-03-20 16:07:49)


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Upload longer text output like this

Offline

#2 2024-03-20 13:41:50

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,009

Re: [SOLVED]gpg: keyserver receive failed: Server indicated a failure

The entire chain starting at your $HOME is ideally janluca:janluca / 700

Did you try to kill/restart dirmngr?
https://wiki.archlinux.org/title/GnuPG#Use_a_keyserver

gpg -v --search-keys heftig

Offline

#3 2024-03-20 13:42:49

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [SOLVED]gpg: keyserver receive failed: Server indicated a failure

And if you use systemd-resolved, did you correctly set up the resolv.conf symlink?

Offline

#4 2024-03-20 16:07:37

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 1,379

Re: [SOLVED]gpg: keyserver receive failed: Server indicated a failure

And if you use systemd-resolved, did you correctly set up the resolv.conf symlink?

That did the trick, thanks. I thought I had already somehow configured resolv.conf when I had a simular problem with go, but nvm.

The entire chain starting at your $HOME is ideally janluca:janluca / 700

so 'chmod -hR 700 /home/janluca'?


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Upload longer text output like this

Offline

#5 2024-03-20 16:27:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,009

Re: [SOLVED]gpg: keyserver receive failed: Server indicated a failure

No.
"-h" is no valid chmod switch and running this recursively will turn all your files executable and maybe withdraw relevant permissions from random files.
chmod the 3 directories, chmod -R is often at the beginning of the sentence that ends with ", should have had backups"

Offline

Board footer

Powered by FluxBB