chiark / gitweb /
server: Use the new kdata system.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 25 Jan 2012 23:18:20 +0000 (23:18 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 7 May 2012 14:35:11 +0000 (15:35 +0100)
commit35c8b547dde529693875087d67fa60bf88319d2b
tree9096747dffbcd66c352ce669b12270f38d076b6a
parent799e58b96ef4948629d5e1b5401f537d74082ab7
server: Use the new kdata system.

Challenges use the algorithms associated with the master key.  This will
continue to be the case, since there isn't a specific private or public
key to associate with the challenge.

It looks like the keyexch subsystem has been turned upside-down, but
apart from the initialization and key refresh it's all just a matter of
adding the necessary indirections into group and algorithm lookups.

Since algorithms are now (logically, at least) distinct for different
peer associations, allow a `peer' argument to the ALGS command, and pass
the correct information to the ifup script so that it can calculate the
MTU properly.

At this point, we no longer need the compatibility interface in keymgmt,
so remove it, and the molly-guard preventing updates to the master key.
py/tripe.py.in
server/admin.c
server/chal.c
server/keyexch.c
server/keymgmt.c
server/keyset.c
server/tripe-admin.5.in
server/tripe.h
svc/watch.in