Наши партнеры








Книги по Linux (с отзывами читателей)

Библиотека сайта rus-linux.net

Configuring PGP for rpm -K

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:

    1. Set the PGPPATH environment variable to point to the directory containing the public keyring file.

    2. Set the pgp_path rpmrc file entry to point to the directory containing the public keyring file. [1]

Now we're ready.

Notes

[1]

For more information on rpmrc files, rpmrc file entries, and how to use them, please see Appendix B.