Skip to content

Commit 0a2bb72

Browse files
refactor(notation): reduced MaxSignatureAttempts from 50 to 3
Signed-off-by: Jason <[email protected]>
1 parent 5eed49b commit 0a2bb72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/oci/notation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ func (v *NotaryVerifier) Verify(ctx context.Context, ref name.Reference) (bool,
205205

206206
verififyOptions := notation.VerifyOptions{
207207
ArtifactReference: repoUrl,
208-
MaxSignatureAttempts: 50,
208+
MaxSignatureAttempts: 3,
209209
}
210210

211211
_, signatures, err := notation.Verify(ctx, *v.verifier, repo, verififyOptions)

0 commit comments

Comments
 (0)