Re: Email encryption options for FreeBSD?
On Wed, Jan 28, 2004 at 09:35:35PM -0600, W. D. wrote: [...] > >Did you update your ports tree with cvsup? > > No, I didn't. It's FreeBSD 4.4, so I know that it will take > a long time. cvsup doesn't take that long, even for that old a version. What does take a long time is the "portsdb -Uu" that you have to do afterwards. > Is there a way to "cvsup" just gnupg? You could possible just get the updated ports/Mk and ports/security/gnupg, but very likely something may break Cheers. -- Jonathan Chen <[EMAIL PROTECTED]> -- When all else fails, RTFM ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Email encryption options for FreeBSD?
At 20:53 1/28/2004, Jonathan Chen, wrote: >On Wed, Jan 28, 2004 at 05:23:54PM -0600, W. D. wrote: >> 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? > >Did you update your ports tree with cvsup? No, I didn't. It's FreeBSD 4.4, so I know that it will take a long time. Is there a way to "cvsup" just gnupg? Start Here to Find It Fast! -> http://www.US-Webmasters.com/best-start-page/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Email encryption options for FreeBSD?
On Wed, Jan 28, 2004 at 05:23:54PM -0600, W. D. wrote: > 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? Did you update your ports tree with cvsup? -- Jonathan Chen <[EMAIL PROTECTED]> -- "If everything's under control, you're going too slow" - Mario Andretti ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Email encryption options for FreeBSD?
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 encryption options fo.ems <0880.0002>> > >At 2004-01-21T07:30:08Z, "W. D." <[EMAIL PROTECTED]> 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 = "echo $body | /usr/bin/gpg --homedir /home/username/.gnupg -a -r 'Full >Username' -e -"; >if ($debug==1) { > 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! >-- >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! -> http://www.US-Webmasters.com/best-start-page/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Email encryption options for FreeBSD?
At 2004-01-21T07:30:08Z, "W. D." <[EMAIL PROTECTED]> 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 = "echo $body | /usr/bin/gpg --homedir /home/username/.gnupg -a -r 'Full Username' -e -"; if ($debug==1) { 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! -- Kirk Strauser "94 outdated ports on the box, 94 outdated ports. Portupgrade one, an hour 'til done, 82 outdated ports on the box." pgp0.pgp Description: PGP signature
Re: Email encryption options for FreeBSD?
Thanks Kirk, for your reply! At 21:55 1/20/2004, Kirk Strauser, wrote: >At 2004-01-21T01:37:15Z, "W. D." <[EMAIL PROTECTED]> writes: > >> I'd like to use the PHP mail() function to send back some sensitive >> information. The command pkg_info doesn't show any encryption packages >> installed. >> >> Does anyone have some experience with sending out encrypted emails? > >Why not: > >1) Install the security/gnupg port. Would this consist of: 1. First doing a portupgrade? (OS is FreeBSD 4.4, ports are pretty much that old.) # portupgrade gnupg -arR (The -R will check the build dependencies and the -r will check the applications that depend upon the port being upgraded. This will prevent your system from having outdated dependencies and software incompatibilities.) (Would I need to be logged in as root, or would a super user be fine?) 2. Go to: # cd /usr/ports/security/gnupg 3. # make 4. # make install 5. # make clean 6. Would I need to reboot to have full functionality? (This is a production server, so this process would need to be done during off hours.) >2) Generate a keypair for the email recipient. Like this? # gpg --gen-key >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 >5) Profit! Could you be *VERY* specific on how to do this? ;^) Thanks! >-- >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! -> http://www.US-Webmasters.com/best-start-page/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Email encryption options for FreeBSD?
At 2004-01-21T01:37:15Z, "W. D." <[EMAIL PROTECTED]> writes: > I'd like to use the PHP mail() function to send back some sensitive > information. The command pkg_info doesn't show any encryption packages > installed. > > Does anyone have some experience with sending out encrypted emails? Why not: 1) Install the security/gnupg port. 2) Generate a keypair for the email recipient. 3) Craft your script to use the "gpg" program to encrypt the outbound email with the public key generated in step #2. 4) mail() 5) Profit! -- Kirk Strauser "94 outdated ports on the box, 94 outdated ports. Portupgrade one, an hour 'til done, 82 outdated ports on the box." pgp0.pgp Description: PGP signature
Email encryption options for FreeBSD?
Hi folks, I'd like to use the PHP mail() function to send back some sensitive information. The command pkg_info doesn't show any encryption packages installed. Does anyone have some experience with sending out encrypted emails? Thanks a bunch for any illumination you can provide! Start Here to Find It Fast! -> http://www.US-Webmasters.com/best-start-page/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"