PHP, windows and GNUPGP - output problems
Wed Jan 16 16:29:01 2002
The --passphrase-fd option should help. On Unix/Linux I use --passphrase-fd
0 and then echo "mypassphrase" | gpg [options]
However, I'm thinking that the STDIN, STDLIST, and STDERR may be numbered
differently in DOS/Windows. Just a nagging thought from the days when I
used to write .bat files. You might try a '1' instead of the '0' or check
with somebody knowledgeable about the numbering of standard file I/O in
Windows. Maybe you can play at the command line level to see what happens
before attempting to implement in php.
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.