Passphrase in Perl script?

Marcus lists@wordit.com
Mon, 04 Dec 2000 03:55:52 +0100


How do you send the passphrase (for symmetric encryption) in a Perl
script on Windows (or in DOS batch file)?
On Windows, pipes are not a (real) option, AFAIK, and I'm not sure you
can pass DOS *.* results to gpg?

I want to prompt the user for the passphrase once and then encrypt all
files given a certain pattern. I did this in Perl, and currently, the
user is prompted twice for every file.
What I'm missing is how to send the passphrase in a variable to gpg.

Thanks,

Marcus Friedlaender


-- 
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of  "unsubscribe"  to gnupg-users-request@gnupg.org