You are not logged in.

#1 2018-08-29 10:02:29

hugsie
Member
Registered: 2018-01-26
Posts: 46

[SOLVED] Custom Kernel - unknown public key

I am trying to compile a custom kernel with this guide https://wiki.archlinux.org/index.php/Ke … ild_System

There is only one configuration that i need changed from the standard kernel.

So i edited the config and did a updpkgsums.
After that building the kernel with makepkg -s gives me:

$ updpkgsums 
==> Retrieving sources...
  -> Found config
  -> Found 60-linux.hook
  -> Found 90-linux.hook
  -> Found linux.preset
==> Generating checksums for source files...

$ makepkg -s
==> Making package: linux-custom 4.18.5.arch1-1 (Wed 29 Aug 2018 01:42:30 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning archlinux-linux git repo...
Cloning into bare repository '/home/hugsie/build/linux/repos/core-x86_64/archlinux-linux'...
remote: Enumerating objects: 104274, done.
remote: Counting objects: 100% (104274/104274), done.
remote: Compressing objects: 100% (27706/27706), done.
remote: Total 6240546 (delta 76715), reused 103647 (delta 76290)
Receiving objects: 100% (6240546/6240546), 2.01 GiB | 10.09 MiB/s, done.
Resolving deltas: 100% (5170898/5170898), done.
  -> Found config
  -> Found 60-linux.hook
  -> Found 90-linux.hook
  -> Found linux.preset
==> Validating source files with sha256sums...
    archlinux-linux ... Skipped
    config ... Passed
    60-linux.hook ... Passed
    90-linux.hook ... Passed
    linux.preset ... Passed
==> Verifying source file signatures with gpg...
    archlinux-linux git repo ... FAILED (unknown public key A5E9288C4FA415FA)
==> ERROR: One or more PGP signatures could not be verified!

What can i do know?

Last edited by hugsie (2018-08-29 13:50:39)

Offline

#2 2018-08-29 10:09:20

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: [SOLVED] Custom Kernel - unknown public key

From the link you posted you appear to have missed note in the compiling section which links to Makepkg#Signature_checking.
Please use code tags for commands and their outputs.

Offline

#3 2018-08-29 10:49:24

hugsie
Member
Registered: 2018-01-26
Posts: 46

Re: [SOLVED] Custom Kernel - unknown public key

I updated my post and put the commands in code tags.

If i understand it correctly i need to import the keys from the PKGBUILD file.

validpgpkeys=(
  'ABAF11C65A2970B130ABE3C479BE3E4300411886'  # Linus Torvalds
  '647F28654894E3BD457199BE38DBBDC86092693E'  # Greg Kroah-Hartman
  '8218F88849AAC522E94CF470A5E9288C4FA415FA'  # Jan Alexander Steffens (heftig)
)

so i did:

gpg --recv-keys ABAF11C65A2970B130ABE3C479BE3E4300411886
gpg: keyserver receive failed: No keyserver available
gpg --recv-keys --keyserver hkp://pgp.mit.edu ABAF11C65A2970B130ABE3C479BE3E4300411886
gpg: keyserver receive failed: No keyserver available

Any ideas? My network and DNS are working fine.


EDIT:

the above approach was not correct i believe. i solved it now by using a different keyserver. also the keys above were not the ones missing.

this did the job and i was able to compile the kernel.

gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys A5E9288C4FA415FA

Last edited by hugsie (2018-08-29 13:50:13)

Offline

#4 2018-08-29 14:23:56

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] Custom Kernel - unknown public key

hugsie wrote:

the above approach was not correct i believe. i solved it now by using a different keyserver. also the keys above were not the ones missing.

this did the job and i was able to compile the kernel.

gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys A5E9288C4FA415FA

The PKGBUILD lists three different keys, any of which would be valid, and that's the third one.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#5 2018-10-14 19:22:46

HQJaTu
Member
Registered: 2018-10-14
Posts: 4

Re: [SOLVED] Custom Kernel - unknown public key

eschwartz wrote:
hugsie wrote:

this did the job and i was able to compile the kernel.

gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys A5E9288C4FA415FA

The PKGBUILD lists three different keys, any of which would be valid, and that's the third one.

The problem persists. Importing the missing key as suggested does solve it.

Offline

#6 2018-10-14 19:37:30

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: [SOLVED] Custom Kernel - unknown public key

HQJaTu wrote:

The problem persists. Importing the missing key as suggested does solve it.

Please reread post #2.  This is not a problem this is expected behavior.

Offline

#7 2020-05-23 17:08:19

regid
Member
Registered: 2016-06-06
Posts: 201

Re: [SOLVED] Custom Kernel - unknown public key

Those reading up to here at, or after, May 2020 might be interested in What happened to heftig gpg key?


powerofforreboot.efi (AUR): Utilities to be used from within a UEFI boot manager or shell.

Offline

#8 2020-05-23 17:24:20

HalosGhost
Forum Moderator
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,089
Website

Re: [SOLVED] Custom Kernel - unknown public key

regid wrote:

Those reading up to here at, or after, May 2020

Closing.

You already know this is a necrobump. It seems you've been warned about behavior here before, please do reread the whole Code of Conduct before your next post.

All the best,

-HG

Offline

Board footer

Powered by FluxBB