I am trying to make a bash backup script that will encrypt the output using symmetric encryption through GPG. How do I pass in the passphrase securely? Right now, I have the passphrase hard coded as a variable in the script. GPG can read the passphrase from a specified file descriptor. How do I hook up the two in a secure way? If i just use the environment variable as an argument to a program (like echo), my passphrase could show up in process lists.

-- Rick


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to