Skip to content

Commit

Permalink
Fix conformance test
Browse files Browse the repository at this point in the history
Signed-off-by: Hayden Blauzvern <[email protected]>
  • Loading branch information
haydentherapper committed Dec 19, 2023
1 parent 1a0fa2b commit c3178f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/conformance/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ func main() {

// Check bundle and trusted root for Tlog information
if len(tr.TlogAuthorities()) > 0 && b.HasInclusionPromise() {
verifierConfig = append(verifierConfig, verify.WithTransparencyLog(1))
verifierConfig = append(verifierConfig, verify.WithTransparencyLog(1), verify.WithObserverTimestamps(1))
}

sev, err := verify.NewSignedEntityVerifier(tr, verifierConfig...)
Expand Down
1 change: 1 addition & 0 deletions cmd/sigstore-go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ func run() error {

verifierConfig = append(verifierConfig, verify.WithSignedCertificateTimestamps(1))

// TODO: Add flag for requiring any timestamp
if *requireTSA {
verifierConfig = append(verifierConfig, verify.WithSignedTimestamps(1))
}
Expand Down
1 change: 1 addition & 0 deletions examples/oci-image-verification/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ func run() error {

verifierConfig = append(verifierConfig, verify.WithSignedCertificateTimestamps(1))

// TODO: Add flag for requiring any timestamp
if *requireTSA {
verifierConfig = append(verifierConfig, verify.WithSignedTimestamps(1))
}
Expand Down

0 comments on commit c3178f8

Please sign in to comment.