Skip to content

Commit 2664579

Browse files
authored
Update to verify logic and update dependencies (#88)
Signed-off-by: Andrew Block <[email protected]> Signed-off-by: Andrew Block <[email protected]>
1 parent 46d656d commit 2664579

File tree

6 files changed

+84
-961
lines changed

6 files changed

+84
-961
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ GOLANGCI_LINT = $(shell pwd)/bin/golangci-lint
6161
golangci-lint:
6262
rm -f $(GOLANGCI_LINT) || :
6363
set -e ;\
64-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell dirname $(GOLANGCI_LINT)) v1.39.0 ;\
64+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell dirname $(GOLANGCI_LINT)) v1.47.3 ;\
6565

6666
lint: golangci-lint ## Runs golangci-lint linter
6767
$(GOLANGCI_LINT) run -n

cmd/verify.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func NewVerifyCmd() *cobra.Command {
9191
if err != nil {
9292
return err
9393
}
94-
eimpl, err := rekortypes.NewEntry(pe)
94+
eimpl, err := rekortypes.CreateVersionedEntry(pe)
9595
if err != nil {
9696
return err
9797
}

go.mod

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ require (
88
github.com/go-openapi/swag v0.22.3
99
github.com/mitchellh/go-homedir v1.1.0
1010
github.com/pkg/errors v0.9.1
11-
github.com/sigstore/rekor v0.11.0
11+
github.com/sigstore/rekor v0.12.2
1212
github.com/spf13/cobra v1.6.0
13-
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d
13+
golang.org/x/crypto v0.0.0-20220919173607-35f4265a4bc0
1414
)
1515

1616
require (
@@ -29,44 +29,45 @@ require (
2929
github.com/go-openapi/validate v0.22.0 // indirect
3030
github.com/go-playground/locales v0.14.0 // indirect
3131
github.com/go-playground/universal-translator v0.18.0 // indirect
32-
github.com/go-playground/validator/v10 v10.11.0 // indirect
32+
github.com/go-playground/validator/v10 v10.11.1 // indirect
3333
github.com/golang/protobuf v1.5.2 // indirect
34-
github.com/google/certificate-transparency-go v1.1.2-0.20210512142713-bed466244fa6 // indirect
35-
github.com/google/go-containerregistry v0.9.0 // indirect
36-
github.com/google/trillian v1.4.1 // indirect
34+
github.com/google/go-containerregistry v0.11.0 // indirect
35+
github.com/google/trillian v1.5.0 // indirect
3736
github.com/hashicorp/hcl v1.0.0 // indirect
3837
github.com/inconshreveable/mousetrap v1.0.1 // indirect
3938
github.com/josharian/intern v1.0.0 // indirect
4039
github.com/leodido/go-urn v1.2.1 // indirect
41-
github.com/letsencrypt/boulder v0.0.0-20220331220046-b23ab962616e // indirect
40+
github.com/letsencrypt/boulder v0.0.0-20220723181115-27de4befb95e // indirect
4241
github.com/magiconair/properties v1.8.6 // indirect
4342
github.com/mailru/easyjson v0.7.7 // indirect
4443
github.com/mitchellh/mapstructure v1.5.0 // indirect
4544
github.com/oklog/ulid v1.3.1 // indirect
45+
github.com/opencontainers/go-digest v1.0.0 // indirect
4646
github.com/opentracing/opentracing-go v1.2.0 // indirect
4747
github.com/pelletier/go-toml v1.9.5 // indirect
48-
github.com/pelletier/go-toml/v2 v2.0.1 // indirect
49-
github.com/sigstore/sigstore v1.2.1-0.20220526001230-8dc4fa90a468 // indirect
48+
github.com/pelletier/go-toml/v2 v2.0.5 // indirect
49+
github.com/sigstore/sigstore v1.4.2 // indirect
5050
github.com/spf13/afero v1.8.2 // indirect
5151
github.com/spf13/cast v1.5.0 // indirect
5252
github.com/spf13/jwalterweatherman v1.1.0 // indirect
5353
github.com/spf13/pflag v1.0.5 // indirect
54-
github.com/spf13/viper v1.12.0 // indirect
55-
github.com/subosito/gotenv v1.3.0 // indirect
56-
github.com/theupdateframework/go-tuf v0.3.1 // indirect
54+
github.com/spf13/viper v1.13.0 // indirect
55+
github.com/subosito/gotenv v1.4.1 // indirect
56+
github.com/theupdateframework/go-tuf v0.5.1-0.20220920170306-f237d7ca5b42 // indirect
5757
github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399 // indirect
5858
go.mongodb.org/mongo-driver v1.10.0 // indirect
5959
go.uber.org/atomic v1.9.0 // indirect
6060
go.uber.org/multierr v1.8.0 // indirect
61-
go.uber.org/zap v1.22.0 // indirect
62-
golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 // indirect
63-
golang.org/x/net v0.0.0-20220520000938-2e3eb7b945c2 // indirect
64-
golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f // indirect
65-
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 // indirect
66-
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
67-
golang.org/x/text v0.3.7 // indirect
68-
google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd // indirect
69-
google.golang.org/grpc v1.48.0 // indirect
61+
go.uber.org/zap v1.23.0 // indirect
62+
golang.org/x/exp v0.0.0-20220823124025-807a23277127 // indirect
63+
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
64+
golang.org/x/net v0.0.0-20220909164309-bea034e7d591 // indirect
65+
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
66+
golang.org/x/sys v0.0.0-20220919091848-fb04ddd9f9c8 // indirect
67+
golang.org/x/term v0.0.0-20220526004731-065cf7ba2467 // indirect
68+
golang.org/x/text v0.3.8-0.20211004125949-5bd84dd9b33b // indirect
69+
google.golang.org/genproto v0.0.0-20220720214146-176da50484ac // indirect
70+
google.golang.org/grpc v1.49.0 // indirect
7071
google.golang.org/protobuf v1.28.1 // indirect
7172
gopkg.in/ini.v1 v1.67.0 // indirect
7273
gopkg.in/square/go-jose.v2 v2.6.0 // indirect

0 commit comments

Comments
 (0)