Skip to content

Commit e5a5986

Browse files
committed
Add UseSignedTimestamps to checkOptsFromAuthority
Signed-off-by: Cody Soyland <codysoyland@github.com>
1 parent e558dd0 commit e5a5986

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/webhook/validator.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,6 +1386,7 @@ func checkOptsFromAuthority(ctx context.Context, authority webhookcip.Authority,
13861386
// TODO: By default, we disable any tlog verification when using the RFC3161Timestamp validation.
13871387
// There are use cases when the validation is only handled by TSA, and there isn't any TLog involved.
13881388
ret.IgnoreTlog = true
1389+
ret.UseSignedTimestamps = true
13891390

13901391
sigstoreKeys, err := sigstoreKeysFromContext(ctx, authority.RFC3161Timestamp.TrustRootRef)
13911392
if err != nil {

0 commit comments

Comments
 (0)