Major rework of monkeysphere-host to handle multiple host keys.
authorJameson Rollins <jrollins@finestructure.net>
Sat, 16 Jan 2010 00:19:15 +0000 (19:19 -0500)
committerJameson Rollins <jrollins@finestructure.net>
Sat, 16 Jan 2010 00:19:15 +0000 (19:19 -0500)
commitce45ef5702e072e869fa9d1b703f99dc740eb000
treec0aca35789dd24b73b8220fac2d83f73c18fb818
parent1e207b9914d4b19450c94a3de4dbf41305638035
Major rework of monkeysphere-host to handle multiple host keys.

This rework removes any assumption that monkeysphere-host is just
managing a single host key, or that the keys are used specifically for
ssh.  The UI is exactly backwards compatible except that hostnames
('example.com') must be replaced by full service names
('ssh://example.com').  This incarnation passes the old tests with
those changes only.

There are a couple of things that still need to be done:

- need to see if a transition script is needed (some local file names
  have changed)

- need to fill in check_service_name function to verify that a
  specified service name fits the expected format.

- update diagnostics appropriately
src/monkeysphere-host
src/share/mh/add_hostname [deleted file]
src/share/mh/add_name [new file with mode: 0644]
src/share/mh/add_revoker
src/share/mh/import_key
src/share/mh/publish_key
src/share/mh/revoke_key
src/share/mh/revoke_name [moved from src/share/mh/revoke_hostname with 52% similarity]
src/share/mh/set_expire