You are not logged in.

#1 2021-08-12 21:14:04

HotDogEnemy
Member
Registered: 2020-11-24
Posts: 69

[SOLVED] Unknown public key error while building linux kernel

I'm trying to build the Linux kernel from ABS for debugging purposes, using this wiki page: https://wiki.archlinux.org/title/Kernel … ild_System

While doing makepkg -s, the build fails with unknown public key error:

> makepkg -s
==> Making package: linux 5.13.9.arch1-1 (Fri 13 Aug 2021 02:37:37 AM IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating archlinux-linux git repo...
Fetching origin
  -> Found config
==> Validating source files with sha256sums...
    archlinux-linux ... Skipped
    config ... Passed
==> Verifying source file signatures with gpg...
    archlinux-linux git repo ... FAILED (unknown public key 3B94A80E50A477C7)
==> ERROR: One or more PGP signatures could not be verified!

Trying to verify the public key in the above error gives me this:

> gpg --recv-keys 3B94A80E50A477C7
gpg: key 19802F8B0D70FC30: rejected by import screener
gpg: Total number processed: 1

I tried verify the other public key, ie 19802F8B0D70FC30, which worked:

> gpg --recv-keys 19802F8B0D70FC30
gpg: key 19802F8B0D70FC30: "Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

However, running makepkg -s still gives an error that the public key is missing. What am I doing wrong?

Last edited by HotDogEnemy (2021-08-13 19:28:36)

Offline

#2 2021-08-12 22:59:16

mpan
Member
Registered: 2012-08-01
Posts: 718
Website

Re: [SOLVED] Unknown public key error while building linux kernel

The key is indeed 19802F8B0D70FC30, but for some reason the Ubuntu keyserver is not providing the 3B94A80E50A477C7 subkey. Use <hkps://keys.openpgp.org> instead.

Last edited by mpan (2021-08-12 22:59:45)


Sometimes I seem a bit harsh — don’t get offended too easily! PGP: 7C848198AE93D3BB

Offline

#3 2021-08-13 19:28:21

HotDogEnemy
Member
Registered: 2020-11-24
Posts: 69

Re: [SOLVED] Unknown public key error while building linux kernel

Thanks, using the other keyserver worked! Marked as solved.

Offline

Board footer

Powered by FluxBB