On Mon, Oct 17, 2005 at 09:55:57PM -0700, Steve Leibel wrote:
> I have an application where I have data in memory that needs to be 
> encrypted without ever being written to disc, even temporarily.
> 
> Using PGP I can run "pgp -feat" and then pipe the data to the pgp 
> process. That works very well.
> 
> I have to do the same thing for GPG, but I can't figure out how to 
> send data to GPG directly from memory.
> 
> Any suggestions greatly appreciated.

Pipe the data to "gpg -r recipient -e -o outfile.gpg"

The recipient may be specified as either a key ID or an e-mail address
(if it is unique in the public keyring).

G'luck,
Peter

-- 
Peter Pentchev  [EMAIL PROTECTED]    [EMAIL PROTECTED]    [EMAIL PROTECTED]
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
If there were no counterfactuals, this sentence would not have been paradoxical.

Attachment: pgphyzdIp3doZ.pgp
Description: PGP signature

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

Reply via email to