cli about print-attestation

Signed-off-by: Ramon Petgrave <ramon.petgrave64@gmail.com>
This commit is contained in:
Ramon Petgrave
2024-06-25 15:32:31 +00:00
parent f9a4b35ff6
commit 9b2554e400
2 changed files with 2 additions and 2 deletions

View File

@@ -504,7 +504,7 @@ Usage:
Flags:
--attestations-path string path to a file containing the attestations
-h, --help help for verify-vsa
--print-attestation [optional] print the verified attestations to stdout
--print-attestation [optional] print the contents of attestation to stdout
--public-key-hash-algo string [optional] the hash algorithm used to hash the public key, one of SHA256 [efault], SHA384, or SHA512 (default "SHA256")
--public-key-id string [optional] the ID of the public key, defaults to the SHA256 digest of the base64-encoded public key
--public-key-path string path to a public key file

View File

@@ -160,7 +160,7 @@ func (o *VerifyVSAOptions) AddFlags(cmd *cobra.Command) {
"[optional] the levels of verification to be performed, comma-separated. e.g., 'SLSA_BUILD_LEVEL_2,FEDRAMP_LOW'")
cmd.Flags().BoolVar(&o.PrintAttestation, "print-attestation", false,
"[optional] print the verified attestations to stdout")
"[optional] print the contents of attestation to stdout")
cmd.Flags().StringVar(&o.PublicKeyPath, "public-key-path", "",
"path to a public key file")