Difference between revisions of "Rpm listgpgkeys"

From Asenjo
Jump to: navigation, search
(Created page with "[[Category::RPM]] == List installed gpg keys in rpm database == <code> <pre> # rpm -q gpg-pubkey --qf "%{summary}\n" gpg(CentOS-6 Key (CentOS 6 Official Signing Key) <centos...")
 
Line 1: Line 1:
[[Category::RPM]]
+
[Category::RPM]
  
 
== List installed gpg keys in rpm database ==
 
== List installed gpg keys in rpm database ==

Revision as of 21:22, 19 March 2012

[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.