[packman] Probleme mit GPG-Key von Andreas Schneider

Joachim Schrod jschrod at acm.org
Wed Sep 27 21:54:06 CEST 2006


>>>>> "MT" == Manfred Tremmel <manfred at links2linux.de> writes:

Hallo,
>> 
>> But Andreas' packman key is actually listed as
>> gpg-pubkey-f4500075-43fde72f after an rpm --import. So maybe one
>> should update this line and re-release the rpmkeys package?

MT> I've just tried, but it looks ok here:

MT> marvin2:/home/manfred # rpm -e --allmatches gpg-pubkey-f33e3fc6-43fde72f
MT> marvin2:/home/manfred # 
MT> rpm --import /media/usbplatte/packmanbuild/rpmkey/packman-andsch.asc
MT> marvin2:/home/manfred # rpm -qa gpg-pubkey* | grep 43fde72f
MT> gpg-pubkey-f33e3fc6-43fde72f

MT> Looks like the RPMDB_NAME enty is correct.

Komisch, das ist bei mir anders:

    puma:/usr/lib/rpm/gnupg #  rpm -q rpmkey-packman
    rpmkey-packman-0.3.2-0.pm.0

Clean state:

    puma:/usr/lib/rpm/gnupg # rpm -e --allmatches gpg-pubkey-f4500075-43fde72f
    puma:/usr/lib/rpm/gnupg # rpm -e --allmatches gpg-pubkey-f33e3fc6-443ed5fc
    puma:/usr/lib/rpm/gnupg # rpm -e --allmatches gpg-pubkey-f33e3fc6-43fde72f
    error: package gpg-pubkey-f33e3fc6-43fde72f is not installed
    puma:/usr/lib/rpm/gnupg # rpm -qa gpg-pubkey* | egrep 'f33e3fc6|43fde72f'

Import der beiden Keys:

    puma:/usr/lib/rpm/gnupg # rpm --import packman-andsch.asc
    puma:/usr/lib/rpm/gnupg # rpm -qa gpg-pubkey* | egrep 'f33e3fc6|43fde72f'
    gpg-pubkey-f4500075-43fde72f
    puma:/usr/lib/rpm/gnupg # rpm --import packman-andsch_alt.asc 
    puma:/usr/lib/rpm/gnupg # rpm -qa gpg-pubkey* | egrep 'f33e3fc6|43fde72f'
    gpg-pubkey-f4500075-43fde72f
    gpg-pubkey-f33e3fc6-443ed5fc

Wie man sieht, habe ich andere IDs als Du.

Checksums der Public-Key-Files:

    puma:/usr/lib/rpm/gnupg # md5sum packman-andsch*
    1f71288ed1c3eb27bdb552c8e9e00f29  packman-andsch.asc
    841e079d958c358477f3377578ae775b  packman-andsch_alt.asc

MT> I think the problem is the packman-andsch_alt.asc. I've added the same 
MT> RPMDB_NAME entry, but that's wrong, must be 
MT> gpg-pubkey-f33e3fc6-443ed5fc (I would not have included a _alt version, 
MT> when it would be the same).

Der RPMDB_NAME-Eintrag bei _alt ist bei mir aber korrekt:

    puma:/usr/lib/rpm/gnupg # head -1 !$
    head -1 packman-andsch*
    ==> packman-andsch.asc <==
    RPMDB_NAME = gpg-pubkey-f33e3fc6-43fde72f

    ==> packman-andsch_alt.asc <==
    RPMDB_NAME = gpg-pubkey-f33e3fc6-443ed5fc

Zur Sicherheit habe ich noch mal den importierten Key auf meinem
System geprüft:

    rpm -qi gpg-pubkey-f4500075-43fde72f

Name        : gpg-pubkey                   Relocations: (not relocatable)
Version     : f4500075                          Vendor: (none)
Release     : 43fde72f                      Build Date: Wed Sep 27 21:46:06 2006
Install date: Wed Sep 27 21:46:06 2006      Build Host: localhost
Group       : Public Keys                   Source RPM: (none)
Size        : 0                                License: pubkey
Signature   : (none)
Summary     : gpg(Andreas Schneider (Packman) <andreas at links2linux.de>)
Description :
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: rpm-4.1.1 (beecrypt-2.2.0)

mQGiBD9tyh0RBADGzn1xuHeD3gDgls6tW2tMQjoyPBp7mSckdBZGfH7vJWMVnMdjt5G5hphc
jzMzIbO5IZj9Px0C8LjeawJRCGSidhhsFbV5BpX2oCtdAa9JvHCehK97gushI68cRl7e6fvo
QsFlOz5bJ9KICaSEFFc9Tqh1EnsegX6nGZLUqtvQKwCgtUMId4cHKQ1ALwsH7L05iMANbisE
AMQpU++qLrJLZ1qCAxDDNZPjkqnfADcBkC0SxCM27IBZ00l97wss8mduMbUvyOtts7BePZMm
PmQhMvDAAB7GchQG1FWyVF1cg6vnre7I4I9PPnyq/9OYGz6Rxw60KpanNPY8Kgl4EDuIWR5G
NfeV78WRxUV2yKAjFnkajnBN0xBLA/9pnzCFm+dAPO6XIE3xRWjeTMyG2NmhnqnFeGk/PunG

etc.

Das ist eindeutig der Key von Andreas; mit der Version f4500075.
(Wobei der Fingerprint schon f33e3fc6 ist.)


Kann das ein Problem meiner RPM-Version sein?

puma:/usr/lib/rpm/gnupg # rpm -q rpm
rpm-4.1.1-222

auf einem SUSE 10.0-System.


Beste Grüße,

	Joachim

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod				Email: jschrod at acm.org
Roedermark, Germany




More information about the Packman mailing list