tools: Add gpg-wks-client and gpg-wks-server.
authorWerner Koch <wk@gnupg.org>
Wed, 29 Jun 2016 10:00:22 +0000 (12:00 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 29 Jun 2016 10:04:11 +0000 (12:04 +0200)
commit5d6c83deaa11327366b0038928200b9f9f85b426
treeeb9ea558716455ebea601d56abe18077be387be5
parentd8ee0d79a702c92a257884bab86183d32d16ff0e
tools: Add gpg-wks-client and gpg-wks-server.

* configure.ac: Add option --enable-wks-tools
* tools/gpg-wks-client.c: New.
* tools/gpg-wks-server.c: New.
* tools/gpg-wks.h: new.
* tools/wks-receive.c: New.
* tools/call-dirmngr.c, tools/call-dirmngr.h: New.
--

Note that this is just a starting point and not a finished
implementation.  Here is how to test the system using
foo@test.gnupg.org as example.

Prepare:

  mkdir /var/lib/gnupg/wks
  chmod o-rwx /var/lib/gnupg/wks
  mkdir /var/lib/gnupg/wks/test.gnupg.org

Run the protocol:

  ./gpg-wks-client -v  --send FPR USERID >x
  ./gpg-wks-server -v --receive  <x >y
  ./gpg-wks-client --receive <y >z
  ./gpg-wks-server -v --receive  <z

You should also setup a cron job to rsync
/var/lib/gnupg/wks/test.gnupg.org/hu/* to the webserver.

Signed-off-by: Werner Koch <wk@gnupg.org>
configure.ac
tools/Makefile.am
tools/call-dirmngr.c [new file with mode: 0644]
tools/call-dirmngr.h [new file with mode: 0644]
tools/gpg-wks-client.c [new file with mode: 0644]
tools/gpg-wks-server.c [new file with mode: 0644]
tools/gpg-wks.h [new file with mode: 0644]
tools/wks-receive.c [new file with mode: 0644]