LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-10-2013, 05:29 PM   #1
Miranden
Member
 
Registered: May 2012
Distribution: Slackware 64 14.1
Posts: 211

Rep: Reputation: 20
Bad signature on every kernel I download. Am I checking wrong?


Hi,

I am trying to compile a kernel, but every one I download fails the gpg check on the sign file. I have never done this before. Did I do something wrong? Thanks.

Code:
bash-4.2# cd Linux\ Kernels/
bash-4.2# ls
keys.txt  linux-3.8.6.tar.sign	linux-3.8.6.tar.xz
bash-4.2# gpg linux-3.8.6.tar.sign 
Detached signature.
Please enter name of data file: linux-3.8.6.tar.xz
gpg: Signature made Fri 05 Apr 2013 12:49:42 PM EDT using RSA key ID 6092693E
gpg: Can't check signature: public key not found
bash-4.2# ^C
bash-4.2# gpg --keyserver pgpkeys.mit.edu --recv-key 6092693E
gpg: requesting key 6092693E from hkp server pgpkeys.mit.edu
gpg: key 6092693E: public key "Greg Kroah-Hartman (Linux kernel stable release signing key) <greg@kroah.com>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
bash-4.2# gpg linux-3.8.6.tar.xz
gpg: [don't know]: invalid packet (ctb=6b)
bash-4.2# gpg linux-3.8.6.tar.sign 
Detached signature.
Please enter name of data file: linux-3.8.6.tar.xz
gpg: Signature made Fri 05 Apr 2013 12:49:42 PM EDT using RSA key ID 6092693E
gpg: BAD signature from "Greg Kroah-Hartman (Linux kernel stable release signing key) <greg@kroah.com>"
bash-4.2# wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.8.6.tar.xz
--2013-04-10 17:15:42--  https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.8.6.tar.xz
Resolving www.kernel.org (www.kernel.org)... 198.145.20.140, 149.20.20.133
Connecting to www.kernel.org (www.kernel.org)|198.145.20.140|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 70996924 (68M) [application/x-xz]
Saving to: 'linux-3.8.6.tar.xz.1'

100%[==========================================================>] 70,996,924  1.29MB/s   in 58s    

2013-04-10 17:16:41 (1.17 MB/s) - 'linux-3.8.6.tar.xz.1' saved [70996924/70996924]

bash-4.2# ls
keys.txt  linux-3.8.6.tar.sign	linux-3.8.6.tar.xz  linux-3.8.6.tar.xz.1
bash-4.2# gpg linux-3.8.6.tar.sign 
Detached signature.
Please enter name of data file: linux-3.8.6.tar.xz.1 
gpg: Signature made Fri 05 Apr 2013 12:49:42 PM EDT using RSA key ID 6092693E
gpg: BAD signature from "Greg Kroah-Hartman (Linux kernel stable release signing key) <greg@kroah.com>"
bash-4.2# cd try2/
bash-4.2# wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.4.39.tar.xz
--2013-04-10 17:20:10--  https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.4.39.tar.xz
Resolving www.kernel.org (www.kernel.org)... 149.20.20.133, 198.145.20.140
Connecting to www.kernel.org (www.kernel.org)|149.20.20.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 67124864 (64M) [application/x-xz]
Saving to: 'linux-3.4.39.tar.xz'

100%[==========================================================>] 67,124,864   410KB/s   in 1m 57s 

2013-04-10 17:22:08 (560 KB/s) - 'linux-3.4.39.tar.xz' saved [67124864/67124864]

bash-4.2# wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.4.39.tar.sign
--2013-04-10 17:22:52--  https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.4.39.tar.sign
Resolving www.kernel.org (www.kernel.org)... 198.145.20.140, 149.20.20.133
Connecting to www.kernel.org (www.kernel.org)|198.145.20.140|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 836 [application/pgp-signature]
Saving to: 'linux-3.4.39.tar.sign'

100%[==========================================================>] 836         --.-K/s   in 0s      

2013-04-10 17:22:53 (44.1 MB/s) - 'linux-3.4.39.tar.sign' saved [836/836]

bash-4.2# ls
linux-3.4.39.tar.sign  linux-3.4.39.tar.xz
bash-4.2# gpg linux-3.4.39.tar.sign 
Detached signature.
Please enter name of data file: linux-3.4.39.tar.xz 
gpg: Signature made Fri 05 Apr 2013 01:09:35 PM EDT using RSA key ID 6092693E
gpg: BAD signature from "Greg Kroah-Hartman (Linux kernel stable release signing key) <greg@kroah.com>"
bash-4.2#
 
Old 04-10-2013, 06:53 PM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Quote:
cd Linux\ Kernels/
Sorry but I've never seen a crazy thing like this associated with Linux kernel. I wouldn't be surprised if this is the root of your issue.
 
Old 04-10-2013, 07:31 PM   #3
Miranden
Member
 
Registered: May 2012
Distribution: Slackware 64 14.1
Posts: 211

Original Poster
Rep: Reputation: 20
Quote:
Originally Posted by Emerson View Post
Sorry but I've never seen a crazy thing like this associated with Linux kernel. I wouldn't be surprised if this is the root of your issue.
Ah, sorry, you're probably not used to seeing that because it's a bit of a Windows artifact. I downloaded the kernel onto a flash drive under a Windows machine, into a folder named "Linux Kernels." It had a space in it, you see, so I had to use the slash like that as an escape character to get into the directory under Linux.

Anyway, I just found the problem. I evidently needed to unxz it first. This worked:

Code:
bash-4.2# unxz linux-3.8.6.tar.xz
bash-4.2# gpg --verify linux-3.8.6.tar.sign 
gpg: Signature made Fri 05 Apr 2013 12:49:42 PM EDT using RSA key ID 6092693E
gpg: Good signature from "Greg Kroah-Hartman (Linux kernel stable release signing key) <greg@kroah.com>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 647F 2865 4894 E3BD 4571  99BE 38DB BDC8 6092 693E
bash-4.2#
Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bad mount of .mdf - "wrong fs type, bad option, bad superblock, on /dev/loop0" Maybe-not Linux - General 2 02-29-2008 02:30 PM
kernel: Wrong signature: a1b2c3d4 m2azer Linux - General 0 12-07-2007 09:59 AM
how serious is a "bad signature" download? randell6564 Mandriva 2 01-17-2006 06:07 PM
Bad signature problems upgrading Mandrake 9.1 kernel Clived Mandriva 5 03-04-2004 04:55 PM
Rpmdrake 9.2 refuses to install kernel source rpm due to bad signature zegracia Mandriva 14 01-11-2004 07:38 PM


All times are GMT -5. The time now is 03:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration