Re: How To know if a rpm signature key is arleady import?

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

 



Dario Lesca wrote:
How To know if a rpm signature key is arleady import?

$ gpg --import --dry-run jcameron-key.asc gpg: key 11F63C51: public key "[User id not found]" imported gpg: Total number processed: 1 gpg: imported: 1

$ rpm -q gpg-pubkey | grep -i 11F63C51
gpg-pubkey-11f63c51-3c7dc11d

If I reimport a signature key this does not replace that installed but
is added to list ...

[root@linux WebMin]# rpm --import jcameron-key.asc
[root@linux WebMin]# rpm -qa gpg-*
gpg-pubkey-db42a60e-37ea5438
gpg-pubkey-30c9ecf8-3f9da3f7
gpg-pubkey-11f63c51-3c7dc11d
gpg-pubkey-4f2a6fd2-3f9d9d3b
[root@linux WebMin]# rpm --import jcameron-key.asc
[root@linux WebMin]# rpm -qa gpg-*
gpg-pubkey-db42a60e-37ea5438
gpg-pubkey-30c9ecf8-3f9da3f7
gpg-pubkey-11f63c51-3c7dc11d
gpg-pubkey-4f2a6fd2-3f9d9d3b
gpg-pubkey-11f63c51-3c7dc11d
[root@linux WebMin]#

Some suggest?

Use:

# rpm --allmatches -e gpg-pubkey-11f63c51-3c7dc11d

to get rid of the keys, then import it again.

See also https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=68290

Paul.




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux