Can't import GPG key into RPM database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have a GPG key which seems to work without any problems (enigmail works, command line too). I tried to sign rpm packages with that key. That works too.

The problem appears when a user tries to import my key with "rpm --import ..". There is no error message but "rpm -q gpg-pubkey" does not show my key id. So yum complains when I try to install packages which are signed by my key.

I see the problem with Fedora Core 6 (x86_64, i386) and CentOS 4.4 (i386) but I think, the problem is much older. The "problematic" key has the id 0x5dd76932 and can be found on the usual key servers. I can import other GPG keys without problems.

Is this a bug in rpm or is my key faulty?

Felix

PS: Maybe this helps to find the error:
[root@ws2 bacula]# LANG=C; rpm -vvvvvv --import /usr/lib/rpm/gnupg/fschwarz.asc
D: opening  db environment /var/lib/rpm/Packages joinenv
D: opening  db index       /var/lib/rpm/Packages create mode=0x42
D: locked   db index       /var/lib/rpm/Packages
D: opening  db index       /var/lib/rpm/Name create mode=0x42
D: adding "gpg-pubkey" to Name index.
D: opening  db index       /var/lib/rpm/Group create mode=0x42
D: adding "Public Keys" to Group index.
D: opening  db index       /var/lib/rpm/Providename create mode=0x42
D: adding 2 entries to Providename index.
D: opening  db index       /var/lib/rpm/Provideversion create mode=0x42
D: adding 2 entries to Provideversion index.
D: opening  db index       /var/lib/rpm/Installtid create mode=0x42
D: adding 1 entries to Installtid index.
D: opening  db index       /var/lib/rpm/Pubkeys create mode=0x42
D: adding 1 entries to Pubkeys index.
D: closed   db index       /var/lib/rpm/Pubkeys
D: closed   db index       /var/lib/rpm/Installtid
D: closed   db index       /var/lib/rpm/Provideversion
D: closed   db index       /var/lib/rpm/Providename
D: closed   db index       /var/lib/rpm/Group
D: closed   db index       /var/lib/rpm/Name
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm/Packages
D: May free Score board((nil))

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux