"veyron/tools/principal": Fork Command

In order to make it easy to set up a new credentials directory
that is blessed by an existing principal (e.g., setting up an
'alice-phone' directory blessed by 'alice'), this CL adds the
'fork' command to the principal tool.
Usage:
  principal --veyron.credentials=<parent dir> <child-dir> <extension>

  This command populates <child-dir> with a new principal that is
  blessed by the principal in <parent-dir>. <child-dir> must not have
  a principal already specified in it unless an --overwrite flag is
  provided. The blessing for <child-dir> comes form the default blessing
  of the <parent-dir> principal, unless a --with flag is provided.

Change-Id: Icfe53c551ac0a0d9083b5280b0cc4b6a9a9d2ede
3 files changed
tree: ab48122ace7f8382c89ae5e7f1454a6732fb24f7
  1. lib/
  2. profiles/
  3. runtimes/
  4. security/
  5. services/
  6. tools/