pipes cgi and gnupg

Werner Koch wk at gnupg.org
Wed Jan 2 09:46:00 CET 2008


On Sat, 29 Dec 2007 04:03, byte8bits at gmail.com 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 not using a passphrase at all or by using
--passphrase-file.


Shalom-Salam,

   Werner


-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.




More information about the Gnupg-users mailing list