Closed
Description
Description
Currently, cosign initialize
is the only way to update BYO TUF metadata. If the TUF metadata is out of date on verification/signing, then cosign will fetch the updated TUF metadata from the hosted GCS bucket.
One option would be to move mirror
and root
to global flags, so that these could be used with any cosign
command. The TUF client would need to be refactored to look for these flags when updating TUF metadata.
#1288 improves UX for this issue, so that the flag values don't have to be passed with each invocation.
cc @asraa