Perl And GPG

VeoWeb VeoWeb" <bens@veoweb.net
Wed May 16 03:07:02 2001


This is a multi-part message in MIME format.

------=_NextPart_000_0206_01C0DD81.EE83AB20
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

No problem. I fully understand, and am glad for everyone's help :)

Oops! I replied to the user by accident instead of the list :(
I'll get the hang of this one day...!

Everything works 100% fine, just as you said.

However, I do have one last question ;)

- All these commands:
"gpg -e -r $their_user_id $filename"
"gpg -d $filename > $output_file"

They do work fine. However, is there a way to read input straight from =
STDIN
(or the like), instead of the current way.
 Example;
Right now, I need to have a file with the info, read in from it, and =
then
encrypt it. If I then want to decipher it, I'd need to open the file and
then decipher it.
 Is there a way to just read/encrypt the data straight from STDIN?

 Thanks

Benjamin S.


------=_NextPart_000_0206_01C0DD81.EE83AB20
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>No problem. I fully understand, and am glad for everyone's help=20

:)<BR><BR><FONT face=3DArial size=3D2>Oops! I replied to the user by =
accident=20 instead of the list :(</FONT></DIV> <DIV><FONT face=3DArial size=3D2>I'll get the hang of this one = day...!</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV>Everything works 100% fine, just as you said.<BR><BR>However, I do = have one=20 last question ;)<BR><BR>- All these commands:<BR>"gpg -e -r = $their_user_id=20 $filename"<BR>"gpg -d $filename &gt; $output_file"<BR><BR>They do work = fine.=20 However, is there a way to read input straight from STDIN<BR>(or the = like),=20 instead of the current way.<BR>&nbsp;Example;<BR>Right now, I need to = have a=20 file with the info, read in from it, and then<BR>encrypt it. If I then = want to=20 decipher it, I'd need to open the file and<BR>then decipher = it.<BR>&nbsp;Is=20 there a way to just read/encrypt the data straight from=20 STDIN?<BR><BR>&nbsp;Thanks<BR></DIV> <DIV><FONT face=3DArial size=3D2>Benjamin = S.<BR></FONT></DIV></BODY></HTML> ------=_NextPart_000_0206_01C0DD81.EE83AB20--