encrypt data, not file, in one line?

Jean-David Beyer jdbeyer at exit109.com
Sat Jun 11 16:30:07 CEST 2005


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

C. D. Rok wrote:
> slashlars wrote:
> 
>> Problem: I don't want to write temporary plaintext files. 
> 
> 
> Whatever you are doing, you should take into account one simple
> fact: if you write data in one program to later on read it in
> the next one, *you* have (some) control over what and where
> remains on that disk. If you "pipe" data from one program into
> another using the shell, *the system* writes pieces of "pipe"
> on the disk, and you have little or no control over what and
> where will be left on that disk.

I think you may be up to the whim of the system in any case. In UNIX and
probably Linux systems, data in pipes tends to remain in RAM from when it it
placed into the queue and when the consuming process reads it out. There is
a limit (once it was something like 1024 bytes) on how much the producing
process would write until it blocked, and it would unblock only when the
consuming process emptied it out.

- --
  .~.  Jean-David Beyer          Registered Linux User 85642.
  /V\  PGP-Key: 9A2FC99A         Registered Machine   241939.
 /( )\ Shrewsbury, New Jersey    http://counter.li.org
 ^^-^^ 10:20:00 up 13 days, 16:56, 3 users, load average: 4.44, 4.27, 4.20
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCqvVuPtu2XpovyZoRAkQKAKCZPxbJfBnbNBKKNGZbFi5oFRPaQQCdE2Zi
KFTrviW3+t/YKpYgDrjEKUw=
=6NH9
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list