Skip to content

Commit

Permalink
Copied in tls lib from ct-go and removed project dependency (#2744)
Browse files Browse the repository at this point in the history
This fixes #2733, though I needed to add tls to linter exclusions as it's copied in from a repo with different lint rules.

More changes than I'd like to go.{mod,sum} as a result of `go mod tidy`.
  • Loading branch information
mhutchinson authored May 27, 2022
1 parent 0ba693b commit 1364052
Show file tree
Hide file tree
Showing 6 changed files with 734 additions and 323 deletions.
5 changes: 2 additions & 3 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
run:
# timeout for analysis, e.g. 30s, 5m, default is 1m
deadline: 90s
skip-files:
- types/internal/tls/tls.go

linters-settings:
gocyclo:
Expand All @@ -12,9 +14,6 @@ linters-settings:
packages:
- golang.org/x/net/context
- github.com/gogo/protobuf/proto
- github.com/google/certificate-transparency-go/trillian
- github.com/google/certificate-transparency-go/x509
- github.com/google/certificate-transparency-go/asn1

linters:
disable-all: true
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
* #2568: Allow disabling the writes of ephemeral nodes to storage via the
`--tree_ids_with_no_ephemeral_nodes` flag to the sequencer.

### Dependency updates
* Removed dependency on certificate-transparency-go

## v1.4.1

* `countFromInformationSchema` function to add support for MySQL 8.
Expand Down
16 changes: 15 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,39 @@ require (
cloud.google.com/go/iam v0.1.1 // indirect
cloud.google.com/go/spanner v1.32.0
contrib.go.opencensus.io/exporter/stackdriver v0.13.12
github.com/Masterminds/goutils v1.1.0 // indirect
github.com/Masterminds/semver v1.5.0 // indirect
github.com/Masterminds/sprig v2.22.0+incompatible // indirect
github.com/apache/beam/sdks/v2 v2.0.0-20211012030016-ef4364519c94
github.com/fatih/color v1.9.0 // indirect
github.com/form3tech-oss/jwt-go v3.2.5+incompatible // indirect
github.com/fullstorydev/grpcurl v1.8.6
github.com/go-redis/redis v6.15.9+incompatible
github.com/go-sql-driver/mysql v1.6.0
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
github.com/golang/mock v1.6.0
github.com/google/btree v1.0.1
github.com/google/certificate-transparency-go v1.1.2-0.20210512142713-bed466244fa6
github.com/google/go-cmp v0.5.8
github.com/google/go-licenses v0.0.0-20210329231322-ce1d9163b77d
github.com/google/martian v2.1.1-0.20190517191504-25dcb96d9e51+incompatible // indirect
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0
github.com/huandu/xstrings v1.2.0 // indirect
github.com/imdario/mergo v0.3.9 // indirect
github.com/jonboulle/clockwork v0.3.0 // indirect
github.com/kr/pretty v0.2.1 // indirect
github.com/letsencrypt/pkcs11key/v4 v4.0.0
github.com/mattn/go-runewidth v0.0.13 // indirect
github.com/miekg/pkcs11 v1.0.3 // indirect
github.com/mitchellh/copystructure v1.0.0 // indirect
github.com/mitchellh/reflectwalk v1.0.1 // indirect
github.com/mwitkow/go-proto-validators v0.2.0 // indirect
github.com/onsi/ginkgo v1.10.3 // indirect
github.com/onsi/gomega v1.7.1 // indirect
github.com/prometheus/client_golang v1.12.2
github.com/prometheus/client_model v0.2.0
github.com/prometheus/common v0.34.0 // indirect
github.com/pseudomuto/protoc-gen-doc v1.5.1
github.com/sergi/go-diff v1.2.0 // indirect
github.com/spf13/cobra v1.4.0 // indirect
github.com/stretchr/testify v1.7.1 // indirect
github.com/transparency-dev/merkle v0.0.1
Expand Down
Loading

0 comments on commit 1364052

Please sign in to comment.