PHKP 0.1

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

  Add it to your Download Basket!

 Add it to your Watch List!


Rate it!
send us
an update
GPL (GNU General Public License) 
3.0/5 1
Remko Tronšon
ROOT \ Internet \ HTTP (WWW)
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

#HTTP Keyserver Protocol #OpenPGP implementation #PGP keyserver #PHKP #OpenPGP #HTTP #Keyserver

Add your review!