Date: Sat, 4 Nov 2000 21:55:11 +0100 From: Chive <lex@blacktrap.net> To: Chris Sheppard <cpfs@laminar.co.uk> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: PGP encryption of www cgi forms Message-ID: <20001104215511.A1399@blacktrap.net> In-Reply-To: <3A035DC3.5889.1ABEB69@localhost>; from cpfs@laminar.co.uk on Sat, Nov 04, 2000 at 12:52:19AM -0000 References: <3A035DC3.5889.1ABEB69@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 04, 2000 at 12:52:19AM -0000, Chris Sheppard wrote: > I'm trying to use a perl cgi script to encrypt the results of a feedback form > and then email it. I've installed PGP 2.6.3i and everyting works fine as long > as you run the script from the command line. However, if I run it from a www > cgi form the PGP program tries to communicate with the perl script as if it is > an interactive user and asks for random key presses! > You need to have pgp run in batch mode so that it does not ask the user anything. This was improved in the more recent versions (pgp5 and gnupg) but is also possible in pgp2, you might want to look how they did it in `mutt' (or any program that uses pgp as an external program for that matter) if it is not specified in pgp2 doc. -- Chive. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001104215511.A1399>