I am trying to PGP-sign a text file so that I can use the signed file in
an email. I am accessing PGP 6.5.8 through command line with CFEXECUTE:
<cfexecute name="e:\pgp\pgp6.5.8\pgp.exe" -u MyUserID arguments="-sta
e:\pgptest.txt -z PassPhrase99" outputFile="e:\pgpoutput.txt"
timeout="5"></cfexecute>
This does not work - when the PGP software requests the passphrase, it
appears that Coldfusion thinks the process is over and ends the
processing, without passing the passphrase to the command-line.
Therefore I get the following error:
A secret key is required to make a signature. Signature error
For a usage summary, type: pgp -h
For more detailed help, consult the PGP User's Guide.
Is there any way to get CF to deliver the passphrase at the right time,
or should I be going about this a completely different way?
Seth Ward
________________________________________________________________________
This message has been checked for all known viruses, by Star Internet,
delivered through the MessageLabs Virus Control Centre.
For further information visit:
http://www.star.net.uk/stats.asp
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/cf_talk or send a message
to [EMAIL PROTECTED] with 'unsubscribe' in the body.