Artix Linux Forum

General Category => General Discussion => Topic started by: 8igFATart1xxx on 04 January 2021, 04:17:31

Title: [SOLVED] PGP check not working
Post by: 8igFATart1xxx on 04 January 2021, 04:17:31
Entering this command in my terminal in Linux Mint 20 Ulyana (Switching to Artix soon!) and I'm getting this error:

> gpg --auto-key-retrieve --verify artix-cinnamon-openrc-20210101-x86_64.iso.sig artix-cinnamon-openrc-20210101-x86_64.iso
gpg: Signature made Sun 03 Jan 2021 05:31:33 PM AST
gpg:                using RSA key A574A1915CEDE31A3BFF5A68606520ACB886B428
gpg: Can't check signature: No public key

Been searching for a while. Does it have to do with my public key ring on my machine?

Thanks,
Title: Re: PGP check not working
Post by: nous on 04 January 2021, 11:04:42
The error appears because your gpg can't contact your specified keyserver - this is a common issue with gpg, unfortunately. Try using another server in your ~/.gnupg/gpg.conf (I use keyserver hkp://pool.sks-keyservers.net).

Code: [Select]
odysseus:[nous]:/srv/iso/iso%  gpg --auto-key-retrieve --verify artix-cinnamon-openrc-20210101-x86_64.iso.sig artix-cinnamon-openrc-20210101-x86_64.iso
gpg: Signature made Sun 03 Jan 2021 10:31:33 PM CET
gpg:                using RSA key A574A1915CEDE31A3BFF5A68606520ACB886B428
gpg: Good signature from "Christos Nouskas <[email protected]>" [ultimate]
Title: Re: PGP check not working
Post by: 8igFATart1xxx on 15 January 2021, 23:27:24
This solved my problem.

I guess Ubuntu and therefore some of it's derivatives need a gnupg.conf created.

Thank you.
Title: Re: [SOLVED] PGP check not working
Post by: Surf3r on 26 June 2021, 20:50:23
For me that's not working and i don't even have a gpg.conf file. Tried to publish my keys on the server but the process fails. I use seahorse to manage my keys
Title: Re: [SOLVED] PGP check not working
Post by: xinomilo on 26 June 2021, 21:50:27
keyserver hkp://pool.sks-keyservers.net).

there's also hkps://hkps.pool.sks-keyservers.net .
and a more recent/stable keyserver : keys.openpgp.org (https://keys.openpgp.org/about/faq)
Title: Re: [SOLVED] PGP check not working
Post by: Surf3r on 27 June 2021, 12:40:23
I always get "couldn't retrieve keys from server...bad request". Think there is something that i don't really understand. Have to read more about this one
Title: Re: [SOLVED] PGP check not working
Post by: katinka on 27 June 2021, 20:34:35
btw...

Quote
This service is deprecated. This means it is no longer maintained, and new HKPS certificates will not be issued. Service reliability should not be expected.

Update 2021-06-21: Due to even more GDPR takedown requests, the DNS records for the pool will no longer be provided at all.

https://sks-keyservers.net/

Title: Re: [SOLVED] PGP check not working
Post by: gentermnl on 05 August 2021, 23:55:56
So is there a good suggestion for which keyserver to use in gpg.conf?
Title: Re: [SOLVED] PGP check not working
Post by: netpioneer10 on 06 August 2021, 11:14:10
So is there a good suggestion for which keyserver to use in gpg.conf?
https://keys.openpgp.org/
Title: Re: [SOLVED] PGP check not working
Post by: gentermnl on 06 August 2021, 17:09:54
Thanks.  I had tried that without success, but I think it's actually OK, and my particular failure (for an AUR package that is probably out of date) had to do with the specific keys required, not the server itself.