Date: Wed, 28 Jan 2004 17:23:54 -0600 From: "W. D." <WD@US-Webmasters.com> To: freebsd-questions@freebsd.org Subject: Re: Email encryption options for FreeBSD? Message-ID: <5.1.0.14.2.20040128172204.0741c1d0@209.152.117.178> In-Reply-To: <871xptmhkj.fsf@strauser.com> References: <5.1.0.14.2.20040121002805.05e63ec0@209.152.117.178> <5.1.0.14.2.20040120193001.05cca510@209.152.117.178> <5.1.0.14.2.20040120193001.05cca510@209.152.117.178> <5.1.0.14.2.20040121002805.05e63ec0@209.152.117.178>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi folks, I ran portupgrade and then make, install, & clean for gnupg. However, it seems that the version that is now installed is: gnupg-1.0.6_1 How to I get to the latest version? At 09:45 1/21/2004, Kirk Strauser wrote: > Re Email encryption options fo.ems<file://D:\Programs\Eudora\attach\Re= Email encryption options fo.ems <0880.0002>>=20 > >At 2004-01-21T07:30:08Z, "W. D." <WD@US-Webmasters.com> writes: > >> Thanks Kirk, for your reply! > >You bet. > >> Would this consist of: >> >> 1. First doing a portupgrade? (OS is FreeBSD 4.4, ports are pretty much >> that old.) > >I'd recommend it, if only to get the most recent security patches for your >system. > >> # portupgrade gnupg -arR > >The '-a' will upgrade everything on your system. Is that what you want? >Another option may be: > > # portupgrade -N security/gnupg > >which will upgrade all dependencies, then install gnupg. > >> (Would I need to be logged in as root, or would a super user be fine?) > >I'm pretty sure you'll need to be root (or using sudo to execute the >commands as root). > >> 6. Would I need to reboot to have full functionality? > >Not likely at all. I'd be very surprised if any of this required a reboot. > >>>2) Generate a keypair for the email recipient. > >> Like this? >> >> # gpg --gen-key > >Yep. > > >>>3) Craft your script to use the "gpg" program to encrypt the outbound= email >>> with the public key generated in step #2. >>>4) mail() > >> Something like these? >> http://www.pantz.org/scripting/php/gpgemail.shtml >> http://www.awtrey.com//files/php/gpgsend.txt > >Sure. The second one has this block: > >$commandline =3D "echo $body | /usr/bin/gpg --homedir /home/username/.gnupg= -a -r 'Full Username' -e -"; > if ($debug=3D=3D1) { > system($commandline); > } else { > exec($commandline,$encrypted); > } > >If you've already written the mailer, you could probably stick the above >(modified to suit) somewhere before the mail() function and leave the rest >of your script intact. > >>>5) Profit! > >> Could you be *VERY* specific on how to do this? ;^) > >Sure! Just send $29.95 (plus $11.23 s/h) for my three-step program. ;-) > >> Thanks! > >No problem. Good luck! >--=20 >Kirk Strauser > >"94 outdated ports on the box, > 94 outdated ports. > Portupgrade one, an hour 'til done, > 82 outdated ports on the box." Start Here to Find It Fast!=99 -> http://www.US-Webmasters.com/best-start-pa= ge/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.2.20040128172204.0741c1d0>