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]"