Script with sensitive info

darren chamberlain dlc@users.sourceforge.net
Thu Jul 24 15:53:01 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

* kynn at panix.com <kynn at panix.com> [2003-07-24 09:46]:
> > You *can* require that a human input that key when the script
> > starts up (maybe once per system boot). This still requires the key
> > stay in memory in the clear (better than disk, but still possible
> > to access).
> 
> I like this idea.  So let me ask a simpler question (I'm a complete
> PGP/Gnupg novice): is there a good way to use Gnupg from within a Perl
> script to encrypt and decrypt a text string based on a user-supplied
> password?

There are several GnuPG interfaces available on CPAN (the Comprehensive
Perl Archive Network, which houses most of the publicly available Perl
modules and extensions); look at
<http://search.cpan.org/search?query=gnupg&mode=module> for a mostly
complete list.

(darren)

- -- 
The three most dangerous things are a programmer with a soldering
iron, a manager who codes, and a user who gets ideas.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: This message is digitally signed and can be verified for authenticity.

iD8DBQE/H+RlzsinjrVhZaoRAkF4AJwJ+S87EdKQgT7jsutHciEBhAI9kACdFy6b
xs28TqDVmshT6RSVdC4mbrQ=
=PxtT
-----END PGP SIGNATURE-----