PHKP 0.1 review

Download
by rbytes.net on

PHKP is an implementation of the OpenPGP HTTP Keyserver Protocol (HKP) in PHP

License: GPL (GNU General Public License)
File size: 9K
Developer: Remko Troncon
0 stars award from rbytes.net

PHKP is an implementation of the OpenPGP HTTP Keyserver Protocol (HKP) in PHP. It allows people to serve a PGP keyserver on most webservers, provided that the webserver has GnuPG and PHP with exec() enabled. Searching, requesting and submitting (optional) of keys are all supported.

The development version of PHKP is available in my Darcs repository:
darcs get http://el-tramo.be/darcs/phkp

Alternatively, you can download the latest release. Instructions on how to use PHKP can be found in the README of the source tarball.

WARNING: This is software is not production-ready. It probably contains bugs and security leaks. Use at your own risk !!!

Installation:

Copy the phkp.php script to your webserver directory. If you can put it in the root directory of your web dir, you can rename it to 'index.php'. If you don't do this, you will need to redirect every request to /pks to this script. For example, using Apache rewrite rules:

RewriteRule ^/pks/(.*) /phkp.php?/pks/$1

Modify the values in index.php to reflect your settings and create the necessary directories

Usage;

Simply point your gpg to the right keyserver and port. For example:

gpg --keyserver hkp://example.com:80 --search-keys Remko
gpg --keyserver hkp://example.com:80 --send-keys 8E041080
gpg --keyserver hkp://example.com:80 --recv-keys 8E041080

Known Issues:

Expiration and revocation is only detected with the english version of GnuPG. Other languages will omit this information.

PHKP 0.1 search tags