Rpm listgpgkeys

From Asenjo
Revision as of 21:22, 19 March 2012 by Natxo (Talk | contribs)

Jump to: navigation, search

[Category::RPM]

List installed gpg keys in rpm database

# rpm -q gpg-pubkey --qf "%{summary}\n"
gpg(CentOS-6 Key (CentOS 6 Official Signing Key) <centos-6-key@centos.org>)
gpg(Dag Wieers (Dag Apt Repository v1.0) <dag@wieers.com>)

So we can check if a key is (or not) installed (by cfengine) and eventually import the key automatically.