Re: pipes cgi and gnupg

2008-01-04 Thread David Shaw
On Jan 2, 2008, at 11:10 AM, Brad Tilley wrote: On linux, would it be possible to use the Linux Key retention service to overcome this: http://www.ibm.com/developerworks/linux/library/l-key-retention.html Not well. The Linux key retention service (while very neat) doesn't really solve the

Re: pipes cgi and gnupg

2008-01-02 Thread Brad Tilley
On linux, would it be possible to use the Linux Key retention service to overcome this: http://www.ibm.com/developerworks/linux/library/l-key-retention.html On Jan 2, 2008 3:46 AM, Werner Koch <[EMAIL PROTECTED]> wrote: > Note that all users on the machine will see the passphrase in the output >

Re: pipes cgi and gnupg

2008-01-02 Thread Werner Koch
On Sat, 29 Dec 2007 04:03, [EMAIL PROTECTED] said: > os.system("echo %s | gpg --batch --password-fd 0 -d %s > d.out" os.system("echo %s | gpg --batch --password-fd 0 --output - -d %s > d.out" Note that all users on the machine will see the passphrase in the output of ps(1). You are better ofd

pipes cgi and gnupg

2007-12-31 Thread Brad Tilley
I can do this from a python cgi script from a browser: os.system("gpg --version > gpg.out") However, I cannot do this from a browser: os.system("echo %s | gpg --batch --password-fd 0 -d %s > d.out" %(pass, filename)) The output file is produced, but it's zero byte. I want the decrypted file's c