Acme::PGPSign - Perl extension for signed scripts
use Acme::PGPSign (KeyID => 'abcdef'); print "Hello World\n";
The first time you run a program under use Acme::PGPSign, the module converts your program to a PGP signed code segment. The code continues to work exactly as it did before, but now it looks like this:
use Acme::PGPSign
use Acme::PGPSign; -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
print "Hello World\n"; -----BEGIN PGP SIGNATURE----- Version: Crypt::OpenPGP 1.03
iQBGBAERAgAGBQI/HCQpAAoJEKWJ3MaRjamws9UAoKSTyel1JNOj9erCMjmMlI9s wc5oAJ9UuzLk2J1WBnzZR4+AwgBiIvi6xw== =PdE4 -----END PGP SIGNATURE-----
In order for use Acme::PGPSign to work you need to be able to sign the code with your keyring.
None
This module requires:
Crypt::OpenPGP
Currently only supports signing of scripts and not modules.
Patrick Mulvany, <paddy@firedrake.org<gt>
Copyright (C) 2003 Patrick Mulvany All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the terms of the Perl Artistic License (see http://www.perl.com/perl/misc/Artistic.html)
To install Acme::PGPSign, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Acme::PGPSign
CPAN shell
perl -MCPAN -e shell install Acme::PGPSign
For more information on module installation, please visit the detailed CPAN module installation guide.