services/device: Refactor Claim code

This change refactors the claim code such that it can re-used outside of
deviced, and adds a new server that implements Claimable and nothing
else.

The new "claimable" server uses --v23.permissions.* to control who has
access to claim it (instead of a claim token). This approach is more
practical since we don't have to find the claim token. We need to pass
the blessing-root with the --blessing-root flag for this to work.

Change-Id: I124511f872cc5c08fcfab34aafc6bf44612d74ff
7 files changed
tree: cb8488a410ed491b70a31271e48e147d7b257344
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTORS
  11. envvar.go
  12. envvar_test.go
  13. LICENSE
  14. PATENTS
  15. README.md
  16. VERSION
README.md

Vanadium

This repository contains a reference implementation of the Vanadium APIs.

Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.