rpc/discovery: support permission

  Support discovery permission using identity-based encryption.
  For now, a fake identity-based encryption is used.

  Fixed a bug where only the first instance of the same service
  can be discovered.

  Changed to pass Advertisement value instead of pointer
  to avoid any possible interference from local caching of plugins.

  Added marshalling utilities for addresses and ibe keys
  so that we can use in all plugins.

MultiPart: 2/3
Change-Id: I3e260a451e29571956184226b20a83a2870b1fe5
14 files changed
tree: 62b6c7940633062074f2e9316b0218787170319a
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTING
  11. CONTRIBUTORS
  12. envvar.go
  13. envvar_test.go
  14. LICENSE
  15. PATENTS
  16. README.md
  17. 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.