James G. Sack (jim) wrote:

then in your script, write
  gpg --passphrase-fd=0 rest_of_command_specs <secret


I will probably end up doing this, but I am interested if there is any way to securely take data from a bash variable and put it to a file. Is there a write function? I would normally use echo, but that is not secure. Is this a task that is beyond bash?

-- Rick


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

Reply via email to