Click to See Complete Forum and Search --> : Kernel Module GPG key???


Master_Ho
05-25-2003, 03:31 AM
Hi,

I'm trying to build a custom kernel from the redhat 9 kernel sources and I've come across a few lines within the specfile which I'm trying to get a better understanding of. The lines are pasted below and I'm hoping someone knows exactly what they do. There is also a genkey file within the kernel source package containing these lines.

----------------------------------------------------------
cat > genkey <<EOF
%pubring `pwd`/kernel.pub
%secring `pwd`/kernel.sec
Key-Type: DSA
Key-Length: 512
Name-Real: Red Hat, Inc.
Name-Comment: Kernel Module GPG key
%commit
EOF
-----------------------------------------------------------

hard candy
05-25-2003, 02:52 PM
When you run "Up-to-date" in RedHat for the first time, it says"you don't have your GPG key installed. Would you like to install it?" And then it gets installed. I guessing the key verifies the RedHat Network packages when they are downloaded so that no counterfeit packages are downloaded from the RHN site.