Re: Mail-Encryption

From: Date: Fri, 09 Feb 2001 00:19:39 +0000
Subject: Re: Mail-Encryption
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-38858@lists.php.net to get a copy of this message
I don't know... Never used safe mode. I *think* you would have to have all the files under your web-tree, but that might make gpg rather unsuitable. If your private key-ring file is in your web-tree, it's maybe just a little too exposed... Maybe you can create a custome keyring for just the web-usage of public keys only... -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: Rodolfo Gonzalez Gonzalez <rodolfo@equinoxe.g-networks.net> To: Richard Lynch <richard@zend.com> Cc: <php-general@lists.php.net> Sent: Wednesday, February 07, 2001 3:42 PM Subject: Re: [PHP] Mail-Encryption > On Thu, 8 Feb 2001, Richard Lynch wrote: > > > You can find a long-winded post from me a year or two ago about my trials > > and tribulations (and a *lot* of help from others to get me going). > > I found a pgp class and took parts of it to work with gpg, but it doesn't > work in safe-mode. I'm using this pipe to pass the data to encrypt to gpg: > > $comm = "echo '$data' | $this->gpg-commmand"; > $fd = popen("$comm","r"); > > if (!$fd) { > return -2; > } > > $encrypted = ""; > while (!feof($fd)) { > $encrypted .= fgets($fd,4096); > } > > pclose($fd); > > This returns echoes the part after the | in safe-mode. How could this work > in this mode?. > > Thank you. > Rodolfo. > >

« previous php.general (#38858) next »