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; -----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.
This module requires:
Currently only supports signing of scripts and not modules.
Patrick Mulvany, <email@example.com<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)