Product SiteDocumentation Site

6.9.2. Usage examples

Key listing
# yum keys
Loaded plugins: aliases, changelog, dellsysidplugin2, fastestmirror, filter-data, keys, list-data, presto, refresh-packagekit, verify
Loading mirror speeds from cached hostfile
Key owner                                                        Key email                                           Repo                              Key ID
Adobe Systems Incorporated (Linux RPM Signing Key)               secure@adobe.com                                    installed              f6777c67-45e5b1b9
Fedora (10 testing)                                              fedora@fedoraproject.org                            installed              0b86274e-48b5dd6f
Fedora (10)                                                      fedora@fedoraproject.org                            installed              4ebfc273-48b5dbf3
Fedora (11)                                                      fedora@fedoraproject.org                            installed              d22e77f2-49ee1409
Fedora (12)                                                      fedora@fedoraproject.org                            installed              57bbccba-4a6f97af
Fedora (8 and 9)                                                 fedora@fedoraproject.org                            installed              6df2196f-48b5d596
Fedora Project                                                   fedora@redhat.com                                   installed              4f2a6fd2-3f9d9d3b
Google, Inc. Linux Package Signing Key                           linux-packages-keymaster@google.com                 installed              7fac5991-4615767f
Livna.org rpms                                                   rpm-key@livna.org                                   installed              a109b1ec-3f6e28d5
Michael Fleming (RPM key) (RPM Signing Key)                      mfleming+rpm@enlartenment.com                       installed              536ceb2a-419e7fcd
PPTP Software Signing Key                                        pptp@city-fan.org                                   installed              862acc42-42243bfc
RPM Fusion free repository for Fedora (11)                       rpmfusion-buildsys@lists.rpmfusion.org              installed              8fcff4da-49c51006
RPM Fusion free repository for Fedora (12)                       rpmfusion-buildsys@lists.rpmfusion.org              installed              16ca1a56-4a100959
RPM Fusion nonfree repository for Fedora (11)                    rpmfusion-buildsys@lists.rpmfusion.org              installed              8dc43844-49c510d6
RPM Fusion nonfree repository for Fedora (12)                    rpmfusion-buildsys@lists.rpmfusion.org              installed              a3a882c1-4a1009ef
RPM Fusion repository (Fedora - free)                            rpmfusion-buildsys@lists.rpmfusion.org              installed              49c8885a-4878ddfb
RPM Fusion repository (Fedora - nonfree)                         rpmfusion-buildsys@lists.rpmfusion.org              installed              b1981b68-4878de85
keys done
Specific information of a key
# yum keys-data 4ebfc273-48b5dbf3 
Loaded plugins:aliases, changelog, dellsysidplugin2, fastestmirror, filter-data, keys, list-data, presto, refresh-packagekit, verify
Loading mirror speeds from cached hostfile
Type     : GPG
Key owner: Fedora (10) 
Key email: fedora@fedoraproject.org
Key ID   : 4ebfc273
Repo     : installed
Created  : Wed Aug 27 18:27:55 2008
Raw Data :
  -----BEGIN PGP PUBLIC KEY BLOCK-----
  Version: rpm-4.6.0-rc1 (NSS-3)
  
  mQGiBEi12/MRBADL6fpbRejYViiVzY/Y0T6pmgChOykrsq1oc9mX9+ss1lZZit1z
  DRrgvOYG67wnRQaskXnKulw3XoNEAT/OjCNzDwrS3gMbHaz+T9wQN5WeO52ihozp
  ZLo/aNnIW9a7W5KxMyrmDobo5919wjiHXFXbVyH5kgm1B36ZG09/HlwtpwCgyW/Z
  qczIsg9OhIrwYZRUJ8BHNdED/R6SFCF2p4AqMkpo6bO9+N5BLvTRPythuWyfTpOa
  XGLPDzkDisIW72DDmCrVI4RQnLW5u0xko7L1o8zwOmmFg6C8HLeeHpfg40MVLDDJ
  OtX1UTPmKms6eqKYWn15266y8Bga5QnVNGMRRPXK0YJhog8K4h7MV5i/B7F2Byhu
  rcT2A/42Ikj3qoA7mxIEgU3DDrxboKWZghAIWaMn8xqIl0/fIMmx/x3k6lDakQRq
  +E6kdTvrWxsKbu5ESTzCDIjhHyVIECLGJ+EbB+etIa3N1+ek3gKEBcDHBtvbdc57
  NcYCWvDvL3O/SNpkKetm4kzrvAqL0Q6mvmGjSY4odoIPczhSlbQmRmVkb3JhICgx
  MCkgPGZlZG9yYUBmZWRvcmFwcm9qZWN0Lm9yZz6IYAQTEQIAIAUCSLXb8wIbAwYL
  CQgHAwIEFQIIAwQWAgMBAh4BAheAAAoJEL8ib8xOv8JzaaEAnjrJTa3QCZr9C91r
  MYJ2uNQvMQ5rAKCfqGK2Q2AVxK3pK1QHtc972g5gTrkEDQRItdvzEBAAz4E9yA4G
  epLon5F70Ak4/OgpJqHvXFN2xMGaz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tJ4m0+cAR8IX9X
  6DTklAU9zoZzdvg063GnjgPCi3Ohwl2jvM1NUcn4vdI5UUTd7DAPaysueJPqfFCg
  CSgrOcCyfQL4vL0iRp82NNQtUS9ZdyUw8t6w/GuFnsymBSTqt2t1n+mhS7RAejaV
  1QV/KmwijbaVh2LjTP0YzPWZcBy8XHzOsnuWufFmRTgFOUmWT9o82RSde6ubvnDN
  WfWWGzriIpJd3JCBpkVb2aiEkU4958Ai36I/splnxOrAJZV/4ZIHHnGMwn23/DNh
  gX4TCgPMjjjT0hmTfDpliEkEGBECAAkFAki12/MCGwwACgkQvyJvzE6/wnM+4wCe
  KkKsIfsmCT0MpuYxHh4vRS/ix58AoLfjES8VpN+3ku9hC3QT97Fa/bK4
  =s6iX
  -----END PGP PUBLIC KEY BLOCK-----

keys-data done
Key removal
# yum keys-remove a7a1d4b6-43281558
Loaded plugins: aliases, filter-data, keys, local, merge-conf, presto,
              : refresh-packagekit, tmprepo
Resolving Dependencies
--> Running transaction check
---> Package gpg-pubkey.noarch 0:a7a1d4b6-43281558 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================
 Package         Arch        Version                   Repository      Size
============================================================================
Removing:
 gpg-pubkey      noarch      a7a1d4b6-43281558         installed      0.0  

Transaction Summary
============================================================================
Remove        1 Package(s)

Installed size: 0  
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing        : gpg-pubkey-a7a1d4b6-43281558.noarch                  1/1 

Removed:
  gpg-pubkey.noarch 0:a7a1d4b6-43281558                                     

Complete!