Re: GPG extension?

From: Date: Tue, 06 Feb 2001 09:38:12 +0000
Subject: Re: GPG extension?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-45830@lists.php.net to get a copy of this message
Derick Rethans wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Mon, 5 Feb 2001, John Donagher wrote: > > > > > I've been considering starting work on a GPG extension for PHP, similar to the > > Perl GPG interface (http://gpg.sourceforge.net). Anyone working on this > > already? > > I think this would be a very nice extension... > > I was on OSDEM last weekend and heard about some library version of > GPG, or some wrappers around it. I think it would be wise that if you > start on this, you'll check these things out. It would clearly make this > more easy to do. > The library version of gpg, is the gpgme library, I created php bindings around it a while back, but it worked so crappy (many bugs) that I abandoned using it. The gpgme library also does nothing but fork a processor to gpg and collect the results. Currently, Werner (GPG creator) has separated GPG into a library (libgcrypt) and the gpg program itself, however, this library only provides basic encryption functionality, much of the gpg work would have to be simulated. Therefore, what I've done before is just use popen() or backticks to interact with GPG. I think, for now (until libgcrypt comes of age, so to say) the best thing to do would be to just make this a pear class (written with PHP) instead of an extension. If you have any questions on how to do that, you can check out the source of the perl extension, or feel free to ask me :) -Sterling

« previous php.dev (#45830) next »