Softwares |
Main /
RPMVerificationMain.RPMVerification HistoryShow minor edits - Show changes to output Added lines 1-51:
(:Google1:) (:Googlemm:) ---- !!RPM verification. ---- To display a list of all keys installed for RPM verification run '''rpm -qa''' The output will look similar to the following: (:table border=1 width=70% bgcolor=#cccc99 cellspacing=0 :) (:cellnr:) [@ [centos@centos ~]$ sudo rpm -qa gpg-pubkey* gpg-pubkey-c105b9de-4e0fd3a3 gpg-pubkey-6b8d79e6-3f49313d [centos@centos ~]$ @] (:tableend:) '''To check the details run rpm -qi gpg-pubkey''' (:table border=1 width=70% bgcolor=#cccc99 cellspacing=0 :) (:cellnr:) [@ [centos@centos ~]$ rpm -qi gpg-pubkey-c105b9de-4e0fd3a3 Name : gpg-pubkey Relocations: (not relocatable) Version : c105b9de Vendor: (none) Release : 4e0fd3a3 Build Date: Fri 04 Nov 2011 09:37:15 PM IST Install Date: Fri 04 Nov 2011 09:37:15 PM IST Build Host: localhost Group : Public Keys Source RPM: (none) Size : 0 License: pubkey Signature : (none) Summary : gpg(CentOS-6 Key (CentOS 6 Official Signing Key) <[email protected]>) Description : @] (:tableend:) If the GPG key verifies successfully, the command returns '''gpg OK'''. (:table border=1 width=70% bgcolor=#cccc99 cellspacing=0 :) (:cellnr:) [@ [centos@centos ~]$ rpm -K ./Downloads/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm ./Downloads/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm: (sha1) dsa sha1 md5 gpg OK [centos@centos ~]$ @] (:tableend:) ---- (:Google1:) (:Googlemm:) |