commit | 0972947d1e07ee90f6933eccf55385c90c99a04e | [log] [tgz] |
---|---|---|
author | Ankur <ataly@google.com> | Fri May 22 18:53:48 2015 -0700 |
committer | Ankur <ataly@google.com> | Fri May 22 18:53:50 2015 -0700 |
tree | d5be8a63ed5c1b136849bc25e3e52f848470e51a | |
parent | 2efbb9428083dae628b4165c234a54d5edfe3849 [diff] |
"physical-lock": Interfaces, server and client implementations This CL adds the interface for a lock server, an implementation of a server object that exposes those interfaces, and a command-line client for communicating with the server. The server does not rely on any external service. It acts as an identity provider and mounts itself in a local mounttable server that advertises its location using MDNS. Clients discover servers through the neighborhood. Clients are authorized by a server only if they present a specific blessing rooted in the server's identity provider. This blessing is handed out by the server at the time of initialization. A server can be initialized exactly once on a first-come-first-served basis. MultiPart: 1/2 Change-Id: I2cb4716b97fdd2036d4aef0a4b26b4e48d97b4be
This is an example application built on the Vanadium stack.
Features to add to the Lock server:
Features to add to the Lock client:
makekey makekey creates a key for the specified lock and principal. is the name of the lock object for which ‘key’ should be created, and is the public key of the principal to which the minted key must be bound to.