-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joe Smith wrote:
> What about:
> "
> echo SOME DATA HERE|gpg ...
> "
> This is not valid using just the standard execution methods under
> windows IIRC, but if you are using the cmd.exe shell it should work.
> 'echo' is a shell builtin.

I know next to nothing about Windows.


In Linux (and probably any other UNIX system),

ECHO(1)                     FSF                                     ECHO(1)

NAME
     echo - display a line of text

SYNOPSIS
     echo [OPTION]... [STRING]...

DESCRIPTION
     NOTE:  your shell may have its own version of echo which will supercede
     the version described here. Please refer to your shell's  documentation
     for details about the options it supports.
...

In the Linux case, I can run:

$ echo SOME DATA HERE | gpg -e -r jdbeyer >gpg.out

and produce an output file that can be decrypted to produce the original.
Surely that would have fit a pipe, so nothing need be written out to disk.

- --
  .~.  Jean-David Beyer          Registered Linux User 85642.
  /V\  PGP-Key: 9A2FC99A         Registered Machine   241939.
 /( )\ Shrewsbury, New Jersey    http://counter.li.org
 ^^-^^ 15:05:00 up 13 days, 21:41, 3 users, load average: 5.09, 5.07, 5.04
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCqzlFPtu2XpovyZoRAnplAKCM/5BMoPm7rq0RctQlqHk35oEA/wCgvUzg
/47OJitadZWmuMA0HtMDlns=
=qcBD
-----END PGP SIGNATURE-----

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to