cmd/principal: fulfill the spirit of v.io/i/201 by prominently printing expiry

The goal of https://github.com/veyron/release-issues/issues/1855 was to make it
obvious to users when their credentials were expired.  Suharsh's change
(v.io/c/11377) added the mechanism to blessings to expose this, but only used it
for principal dumpblessings (which is not something users typically run --
unless they already suspect that their blessings are expired).

This change adds the [EXPIRED] tag to the principal dump command (both with and
without the -s option). This will ensure that it shows up in the vbash prompt,
and also that people running principal dump by hand see it.

Change-Id: I384ae627817450016ab6a842c6658a718baf8ad3
2 files changed
tree: 374e143d738d0c4df07644d2fb5fe4a128a60923
  1. cmd/
  2. envvar/
  3. examples/
  4. internal/
  5. lib/
  6. runtime/
  7. services/
  8. test/
  9. .gitignore
  10. AUTHORS
  11. CONTRIBUTORS
  12. LICENSE
  13. PATENTS
  14. README.md
  15. 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.