File tree 4 files changed +462
-1
lines changed 4 files changed +462
-1
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,9 @@ require (
38
38
github.com/go-openapi/loads v0.22.0 // indirect
39
39
github.com/go-openapi/spec v0.21.0 // indirect
40
40
github.com/go-openapi/validate v0.24.0 // indirect
41
+ github.com/golang/protobuf v1.5.4 // indirect
41
42
github.com/google/go-containerregistry v0.19.0 // indirect
43
+ github.com/google/trillian v1.6.0 // indirect
42
44
github.com/google/uuid v1.6.0 // indirect
43
45
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
44
46
github.com/hashicorp/go-retryablehttp v0.7.5 // indirect
@@ -83,6 +85,8 @@ require (
83
85
golang.org/x/term v0.20.0 // indirect
84
86
golang.org/x/text v0.15.0 // indirect
85
87
google.golang.org/genproto/googleapis/api v0.0.0-20240311173647-c811ad7063a7 // indirect
88
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 // indirect
89
+ google.golang.org/grpc v1.62.1 // indirect
86
90
gopkg.in/go-jose/go-jose.v2 v2.6.3 // indirect
87
91
gopkg.in/ini.v1 v1.67.0 // indirect
88
92
gopkg.in/yaml.v3 v3.0.1 // indirect
Original file line number Diff line number Diff line change @@ -126,6 +126,8 @@ github.com/golang-jwt/jwt/v5 v5.2.1 h1:OuVbFODueb089Lh128TAcimifWaLhJwVflnrgM17w
126
126
github.com/golang-jwt/jwt/v5 v5.2.1 /go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk =
127
127
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE =
128
128
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da /go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc =
129
+ github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc =
130
+ github.com/golang/mock v1.6.0 /go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs =
129
131
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek =
130
132
github.com/golang/protobuf v1.5.4 /go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps =
131
133
github.com/google/certificate-transparency-go v1.1.8 h1:LGYKkgZF7satzgTak9R4yzfJXEeYVAjV6/EAEJOf1to =
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ import (
29
29
// leaf certificate, will extract SCTs from the leaf certificate and verify the
30
30
// timestamps using the TrustedMaterial's FulcioCertificateAuthorities() and
31
31
// CTLogs()
32
- // TODO(issue#46): Add unit tests
33
32
func VerifySignedCertificateTimestamp (leafCert * x509.Certificate , threshold int , trustedMaterial root.TrustedMaterial ) error { // nolint: revive
34
33
ctlogs := trustedMaterial .CTLogs ()
35
34
fulcioCerts := trustedMaterial .FulcioCertificateAuthorities ()
You can’t perform that action at this time.
0 commit comments