Skip to content

Commit 300864c

Browse files
committed
Update README with digest subcommand info
Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
1 parent 329d0ff commit 300864c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,15 @@ This will open an OIDC flow to obtain a short lived token for the certificate.
117117
The identity used during signing and the provider must be reused during
118118
verification.
119119

120+
To only compute and output the digest of the model, you can use the `digest`
121+
subcommand, pointing it to the model directory:
122+
123+
```bash
124+
[...]$ model_signing digest bert-base-uncased
125+
```
126+
127+
The digest subcommand follows the same ignore rules used when signing.
128+
120129
## Using Private Sigstore Instances
121130

122131
To use a private Sigstore setup (e.g. custom Rekor/Fulcio), use the `--trust_config` flag:

0 commit comments

Comments
 (0)