You are not logged in.

#1 2015-01-17 13:13:10

mir91
Banned
Registered: 2013-11-17
Posts: 143

[SOLVED] gpg cannot add pkgbuild keys

Trying to build a custom kernel from ABS, because bumblebee requires CONFIG_HZ=1000 to prevent the "GPU has fallen off the bus" bug which happens with the default kernel and renders nvidia optimus graphics practically unusable except if you want to restart the whole system on every third attempt. This has been reported before but it seems the kernel dudes are honeybadgering it. So anyway, starting 2 or 3 weeks ago the source file signature check fails, so I was trying to add the keys but I'm getting this error message:

==> Verifying source file signatures with gpg...
    linux-3.18.tar ... FAILED (unknown public key 79BE3E4300411886)
    patch-3.18.2 ... FAILED (unknown public key 38DBBDC86092693E)
==> ERROR: One or more PGP signatures could not be verified!

$ gpg --recv-key 79BE3E4300411886                                                                                                                                          :(
gpg: keyserver receive failed: Address family not supported by protocol

Anyone know the correct way to add the keys?

Last edited by mir91 (2015-01-17 16:23:31)

Offline

#2 2015-01-17 13:23:13

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: [SOLVED] gpg cannot add pkgbuild keys

This isn't a solution to the error message you're getting, but it's a way to import the PGP keys. I'll run through importing Linus' key for Kernel Packaging. Greg's will be the same process.

1) Go to a keyserver, say http://pgp.mit.edu;
2) Search for the key you're looking for with matching fingerprints, in this case, Linus Torvalds or 00411886 (the last 8 digits of the long fingerprint 79BE3E4300411886 in the error message);
3) Click on the keyID (so 00411886 for Linus)
4) Copy all the text on the page into a text editor and save it as a linus.asc file;
5) Navigate to the folder you saved linus.asc and run:

 gpg --import linus.asc

6) Done (provided there are no error messages).

----

We still got to sort out what is kicking out your error though...

On that part, did you make any changes to ~/.gnupg/gpg.conf ?

Last edited by clfarron4 (2015-01-17 13:24:36)


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#3 2015-01-17 13:50:40

mir91
Banned
Registered: 2013-11-17
Posts: 143

Re: [SOLVED] gpg cannot add pkgbuild keys

Thanks, I will try that manual way if I can't get it to work "the normal way".
No, I haven't changed my gpg.conf. It actually contains only two entries that aren't commented out:

keyserver hkp://subkeys.pgp.net
use-agent

Offline

#4 2015-01-17 15:44:44

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: [SOLVED] gpg cannot add pkgbuild keys

Ok, well there are several different protocols one can use in  ~/.gnupg/gpg.conf for accessing PGP keyservers: hkp://, hkps:// and http:// to name three (there are more).

I use http://pgp.mit.edu as my keyserver, because it damn near works on all internet connections I use, where I found hkp:// servers slow. So that's a suggestion.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#5 2015-01-17 16:22:42

mir91
Banned
Registered: 2013-11-17
Posts: 143

Re: [SOLVED] gpg cannot add pkgbuild keys

Thanks, that worked.

Offline

Board footer

Powered by FluxBB