mirror of
https://github.com/slsa-framework/slsa-verifier.git
synced 2026-05-16 13:36:33 +00:00
cli about print-attestation
Signed-off-by: Ramon Petgrave <ramon.petgrave64@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user