Debian Codegraph @

docs/metadata/description

raw
1 PGP::Sign is a Perl module that can generate and verify OpenPGP signatures
2 on some data. Currently, only textual data (data that can be processed
3 using GnuPG's `--textmode` option) is supported. It uses GnuPG under the
4 hood to do the work.
5
6 The original purpose of this module was to factor out common code in a
7 News::Article class written by Andrew Gierth that handled PGPMoose and
8 control message signatures. It is used to verify control message
9 signatures for the ftp.isc.org Netnews metadata archive, and to generate
10 signed control messages for the Big Eight Usenet hierarchies.
11
12 Data to be signed or verified can be passed into PGP::Sign in a wide
13 variety of formats: scalars, arrays, open files, even code references that
14 act as generators. Keys with passphrases are supported and the passphrase
15 is passed to GnuPG securely (although getting the passphrase to the
16 PGP::Sign module is a problem for the calling application).
17
18 This module supports both GnuPG v2 and GnuPG v1 and, when used with GnuPG
19 v1, supports using OpenPGP keys and generating and verifying signatures
20 that are backward-compatible with PGP 2.6.2.
21
22 PGP::Sign provides both a (recommended) object-oriented API and a (legacy)
23 function-based API that uses global variables for configuration and is
24 backward-compatible with earlier versions of PGP::Sign.