encrypting stdin

Anthony E . Greene agreene@pobox.com
Tue Jun 5 06:03:02 2001


On Mon, 04 Jun 2001 22:38:29 Matthew Nuzum wrote:

>I am trying to encrypt stdin. For example,
>Gpg =96a =96r myid =96e
>I=92m told to =93Go ahead and type your message =85=94
>
>I type my message and then I don=92t know what to do. ^C cancels the
>program,
>^z suspends
^d is end-of-text, but this is not really what you need.
>My goal is to be able to encode data from a program without writing a file
>to disk. I understand that there is a batch mode, but there doesn=92t app=
ear
>to be instructions on how to use it.
someprog | gpg -e -a --always-trust -r 0xNNNNNNNN --=20 Anthony E. Greene <agreene@pobox.com> <http://www.pobox.com/~agreene/> PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D Chat: AOL/Yahoo: TonyG05 MSN: te_greene Linux. The choice of a GNU Generation. <http://www.linux.org/>