PHKP 0.1

PHKP is an implementation of the OpenPGP HTTP Keyserver Protocol (HKP) in PHP.
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

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 !!!


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


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

gpg --keyserver hkp:// --search-keys Remko
gpg --keyserver hkp:// --send-keys 8E041080
gpg --keyserver hkp:// --recv-keys 8E041080

Known Issues:

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

last updated on:
April 5th, 2006, 15:19 GMT
developed by:
Remko Tronšon
license type:
GPL (GNU General Public License) 
ROOT \ Internet \ HTTP (WWW)
Download Button

In a hurry? Add it to your Download Basket!

user rating 1



Rate it!

Add your review!