cmd/browser: perform KeyServer.Lookup requests as a dummy user

This change amends isRegistered to perform KeyServer.Lookup request as
the user "nobody@upspin.io" instead of the user we're looking for, so
that bind doesn't cache the dialed KeyServer for the actual user with a
nil factotum. Otherwise this will come to bite us later if/when we
eventually try to perform a KeyServer.Put as that user, while the cached
user's Factotum is nil.

Change-Id: Ibabbf3359f90bb48c5fc1b647fdb7b65e9363aab
Reviewed-on: https://upspin-review.googlesource.com/14181
Reviewed-by: David Presotto <presotto@gmail.com>
Reviewed-by: Rob Pike <r@golang.org>
1 file changed
tree: d59b165de2be9639f950c662ab8d58e2589827c9
  1. .travis.yml
  2. AUTHORS
  3. CONDUCT.md
  4. CONTRIBUTING.md
  5. CONTRIBUTORS
  6. LICENSE
  7. PATENTS
  8. README.md
  9. client/
  10. cmd/
  11. codereview.cfg
  12. filesystem/
README.md

Upspin exp repository

This repository contains components that are experimental or under development.

See the master repository for more information.