/*! \page signatures Signature header
The 2.1 release of RPM had a few improvements in the area of
digital package signatures. The usage of PGP has been cleaned
up and extended, the signature section in the RPM file format
has been made easily extensible with new signature types, and
packages can have multiple signatures.
\section signatures_pgp PGP
Legacy usage of PGP in rpm-2.0 was cumbersome, and only supported
1024 bit keys. Both of these problems have been corrected in rpm-2.1.
Whereas previously you needed many rpmrc entries to clue in
RPM about keyring locations and such, RPM now behaves as PGP
users would expect. The PGPPATH environment variable can be
used to specify keyring locations. You can also use a
"%_pgpbin" line in your macros file to specify a different value
for RPM to use for PGPPATH. If neither of these are used PGP
uses its default ($HOME/.pgp).
If you just want to verify packages, you need to supply values
for the macros
\verbatim
%_pgpbin the path to the pgp executable
%_signature the type of signature to use
\endverbatim
In order to be able to sign packages, you may also have to
supply values for
\verbatim
%_pgp_name the pgp signature to use for signing
%_pgp_path the path to the key ring
\endverbatim
\section signatures_signing Signing Packages
Signature creation is the same as previous releases: just add
a --sign to your build command line. You can sign a package
after the package is built with:
\verbatim
rpm --resign