This commit allows for using persons in the CLI. In doing so, it updates the
expected flow where add-rule no longer also adds the principals passed in.
Instead, keys / persons must be added explicitly first, and add-rule will fail
if the principal is not found.
Signed-off-by: Aditya Sirish A Yelgundhalli <ayelgundhall@bloomberg.net>
Signed-off-by: Aditya Sirish A Yelgundhalli <ayelgundhall@bloomberg.net>
Co-authored-by: Pat Zielinski <70954403+patzielinski@users.noreply.github.com>
fixes#360
* changes key type ecdsa to rsa (the former resulted in an unsupported
format on macos)
* add -N option to not prompt for an encryption password and to store key
in plain text (encrypted keys are currently not supported)
Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
This commit mentions gittuf policy apply as a requirement now that
policy-staging. In addition, it emphasizes that gittuf currently lacks
support for encrypted on-disk keys.
Signed-off-by: Aditya Sirish <aditya@saky.in>
Co-authored-by: Neal McBurnett <nealmcb@gmail.com>