howto check if a gpg-key is installed

Schlueri schlueri-lists at schlicker.org
Thu Feb 12 11:04:28 UTC 2004


Am Do, den 12.02.2004 schrieb Dario Lesca um 12:48:
> 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 -qa gpg-pubkey*

print out the list, and 

#  rpm -qi gpg-pubkey-xxxxx-xxxxx

gives you more details about specific key. 'man rpm' describes more
details about rpm query commands.

Dirk






More information about the fedora-list mailing list