howto check if a gpg-key is installed

Michael Schwendt ms-nospam-0306 at arcor.de
Thu Feb 12 11:11:13 UTC 2004


On Thu, 12 Feb 2004 12:48:53 +0100, Dario Lesca wrote:

> whit this command:
> # rpm --import  http://some.repository.yu/XXX-GPG-KEY
> is possible to import a pgp key.
> 
> How to I can test if this comand is already done and the gpg-key is
> arleady installed?

rpm -q gpg-pubkey

Then look for the key id. Or query the individual keys with rpm -qi
and pipe them to gpg if need be.

-- 





More information about the fedora-list mailing list