Thanks so much, it worked like a charm. I just had to change "cat" to
"type".
I don't mind supplying the passphrase in the script or in a file if
there is a way to automate this process. I am not sure where a
"--passphrase-fd" could be used, if it is even possible.
Thanks Brian
David Shaw wrote:
On Fri, Aug 11, 2006 at 10:39:57AM -0500,
cat thefile.gpg | gpg | gpg -r recipient_1 -r recipient_2 -r recipient_3 --encrypt
> output.gpg
The catch is that the first gpg instance is doing to need to prompt
you for a passphrase, and the second gpg instance may need to prompt
you whether the recipients are trusted (if you don't have a trust path
to them). An easy way to fix this, is to add a "--trust-model always"
to the second instance (assuming you really do trust those recipient
keys).
David
_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users
_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users