[Security-Discuss] rpm gpg key fails

"Ritesh Khadgaray" <[email protected]> Sat, 20 May 2006 04:55:26 +0530
Newsgroups gmane.linux.mandrake.security.general
Message-ID <[email protected]>
Hello,

* I have recently install mandriva cooker. When i try to checksignature for
any rpm, it fails.

#rpm --checksig /var/cache/urpmi/rpms/nautilus-actions-1.2-1mdk.i586.rpm
/var/cache/urpmi/rpms/nautilus-actions-1.2-1mdk.i586.rpm: (SHA1) DSA sha1
md5 (GPG) NOT OK (MISSING KEYS: GPG#26752624)


* I have tried importing RPG gpg key, It does not import GPG#26752624.

#rpm --import /usr/share/doc/rpm-4.4.5/RPM-GPG-KEY
# rpm -q gpg-pubkey-\*
gpg-pubkey-cba29bf9-31295e35
gpg-pubkey-db42a60e-37ea5438


*  I have downloaded the rpm key from
http://www.mandriva.com/security/rpm_gpg_keys, and upon try to import it.

# rpm  --import RPM-GPG-KEYS
error: RPM-GPG-KEYS: import read failed(0).

* For the heck of it, tried importing with gpg

 gpg --import RPM-GPG-KEYS
gpg: directory `/root/.gnupg' created
gpg: new configuration file `/root/.gnupg/gpg.conf' created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during
this run
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: CRC error; 709E7C - AC2A78
gpg: [don't know]: invalid packet (ctb=34)
gpg: read_block: read error: invalid packet
gpg: import from `RPM-GPG-KEYS' failed: invalid keyring


* am i missing something. gpg key attached.

-- 
Ritesh Khadgaray
LinuX N Stuff
Ph: +919822394463
Eat Right, Exercise, Die Anyway.
RPM-GPG-KEYS (application/octet-stream, 4.4 KB) - not displayed