Maximum RPM: Taking the Red Hat Package Manager to the Limit | ||
---|---|---|
Prev | Chapter 7. Using RPM to Verify Package Files | Next |
Once PGP is properly built and installed, the actual configuration for RPM is trivial. Here's what needs to be done:
PGP must be in your path. If PGP's usage message doesn't come up when you enter pgp at your shell prompt, you'll need to add PGP's directory to your path.
PGP must be able to find the public keyring file that you want to use when checking package file signatures. You can use two methods to direct PGP to the public keyring:
Set the PGPPATH environment variable to point to the directory containing the public keyring file.
Set the pgp_path rpmrc file entry to point to the directory containing the public keyring file. [1]
Now we're ready.
[1] | For more information on rpmrc files, rpmrc file entries, and how to use them, please see Appendix B. |