summaryrefslogtreecommitdiffstats
path: root/README (plain)
blob: 9a4db96a0cc2729550a4194f1e56ad4d5ee46994
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
PHKP: A PHP implementation for a HKP keyserver.
http://el-tramo.be/software/phkp
(c) 2006 Remko Troncon
--------------------------------------------------------------------------------

WARNING: THIS SOFTWARE IS NOT PRODUCTION-READY. IT PROBABLY CONTAINS
BUGS AND SECURITY LEAKS. USE AT YOUR OWN RISK !!!

INSTALL:
- 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

USING:
- 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.

TODO: 
- Provide more information for uids in searches
- Return human readable output if 'mr' option is not set
- Make more robust, fool proof and secure
- Better logging
- More graceful calls to GnuPG
- Fine-tune GnuPG options (try to avoid creation of trustdb etc. if possible)
- Look at expiration date computation. Currently has a workaround to avoid
  being one day off.