12.07.2015 Views

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

128CHAPTER 5Working with RPM SoftwareTo verify that the key was imported properly, execute the rpm -qa gpg-pubkey*command. If you imported the RPM-GPG-KEY-redhat-release key, the output will besimilar to the following:gpg-pubkey-37017186-45761324To view the details of the key, execute the rpm -qi gpg-pubkey-37017186-45761324command (output is in Listing 5.1).LISTING 5.1Details of RPM GPG KeyName : gpg-pubkey Relocations: (not relocatable)Version : 37017186 Vendor: (none)Release : 45761324 Build Date: Wed 28 Feb 2007 12:36:35 AM ESTInstall Date: Wed 28 Feb 2007 12:36:35 AM EST Build Host: localhostGroup : Public Keys Source RPM: (none)Size : 0 License: pubkeySignature : (none)Summary : gpg(<strong>Red</strong> <strong>Hat</strong>, Inc. (release key) )Description :-----BEGIN PGP PUBLIC KEY BLOCK-----Version: rpm-4.4.2 (beecrypt-4.1.2)mQGiBEV2EyQRBAD4/SR69qoLzK4HIa6g9iS+baiX0o3NjkLftFHg/xy+IMOMg//i4c5bUpLKDTMH3+yT0G8qpul/RALUFOESKFkZm3/SlkJKuroXcB8U6s2dh5XX9DDBISqRwL7M5qB8rfDPKHN+k/XwJ9CNpHMdNxnnc2WhnnmHNp6NrD/bUEH4vwCglMa0rFRXPaN7407DARGHvW/jugsEANFaeZsFwos/sajL1XQRfHZUTnvDjJgz31IFY+OLDlOVAOtV/NaECMwIJsMIhoisW4Luwp4m75Qh3ogq3bwqSWNLsfJ9WFnNqXOgamyDh/F4q492z6FpyIb1JZLABBSH7LEQjHlR/s/Ct5JEWc5MyfzdjBi6J9qCh3y/IYL0EbfRA/4yoJ/fH9uthDLZsZRWmnGJvb+VpRvcVs8IQ4aIAcOMbWu2Sp3U9pm6cxZFN7tShmAwiiGj9UXVtlhpj3lnqulLMD9VqXGF0YgDOaQ7CP/99OEEhUjBj/8o8udFgxc1i2WJjc7/sr8IMbDv/SNToi0bnZUxXa/BUjj92uaQ6/LupbQxUmVkIEhhdCwgSW5jLiAocmVsZWFzZSBrZXkpIDxzZWN1cml0eUByZWRoYXQuY29tPohfBBMRAgAfBQJFdhMkAhsDBgsJCAcDAgQVAggDAxYCAQIeAQIXgAAKCRBTJoEBNwFxhogXAKCDTuYeyQrkYXjg9JmOdTZvsIVfZgCcCWKJXtfbC5dbv0piTHI/cdwVzJo==mhzo-----END PGP PUBLIC KEY BLOCK-----After importing the key, the signature on the package can be verified with the rpm -K command. If the package has not been corrupted since it was signed, theoutput will include the phrase md5 gpg OK.If the package is not signed, the output will include output such as:NOT OKIf you haven’t imported the corresponding public key, the following message is given:MISSING KEYS

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!