2019-03-26 21:04:58 +00:00
|
|
|
module github.com/hashicorp/consul
|
|
|
|
|
2020-03-10 19:46:09 +00:00
|
|
|
go 1.13
|
2019-03-26 21:04:58 +00:00
|
|
|
|
|
|
|
replace github.com/hashicorp/consul/api => ./api
|
|
|
|
|
2019-03-27 12:54:56 +00:00
|
|
|
replace github.com/hashicorp/consul/sdk => ./sdk
|
2019-03-26 21:04:58 +00:00
|
|
|
|
2019-12-12 16:15:05 +00:00
|
|
|
replace launchpad.net/gocheck => github.com/go-check/check v0.0.0-20140225173054-eb6ee6f84d0a
|
2019-12-04 16:59:16 +00:00
|
|
|
|
2019-03-26 21:04:58 +00:00
|
|
|
require (
|
|
|
|
github.com/Microsoft/go-winio v0.4.3 // indirect
|
|
|
|
github.com/NYTimes/gziphandler v1.0.1
|
2019-04-29 16:27:57 +00:00
|
|
|
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 // indirect
|
2019-03-26 21:04:58 +00:00
|
|
|
github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e
|
2020-08-11 16:17:43 +00:00
|
|
|
github.com/armon/go-metrics v0.3.4
|
2019-08-26 19:22:28 +00:00
|
|
|
github.com/armon/go-radix v1.0.0
|
2019-12-04 16:59:16 +00:00
|
|
|
github.com/aws/aws-sdk-go v1.25.41
|
2019-03-26 21:04:58 +00:00
|
|
|
github.com/coredns/coredns v1.1.2
|
2020-05-12 01:59:29 +00:00
|
|
|
github.com/coreos/go-oidc v2.1.0+incompatible
|
2019-03-26 21:04:58 +00:00
|
|
|
github.com/digitalocean/godo v1.10.0 // indirect
|
|
|
|
github.com/docker/go-connections v0.3.0
|
|
|
|
github.com/elazarl/go-bindata-assetfs v0.0.0-20160803192304-e1a2a7ec64b0
|
2020-07-07 21:22:30 +00:00
|
|
|
github.com/envoyproxy/go-control-plane v0.9.5
|
2020-09-15 19:45:29 +00:00
|
|
|
github.com/frankban/quicktest v1.11.1 // indirect
|
2019-04-29 16:27:57 +00:00
|
|
|
github.com/go-ole/go-ole v1.2.1 // indirect
|
2020-05-04 14:59:48 +00:00
|
|
|
github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d
|
2020-07-07 21:22:30 +00:00
|
|
|
github.com/golang/protobuf v1.3.2
|
2020-04-15 22:05:11 +00:00
|
|
|
github.com/google/go-querystring v1.0.0 // indirect
|
2020-05-04 14:59:48 +00:00
|
|
|
github.com/google/gofuzz v1.0.0
|
2021-06-07 19:51:57 +00:00
|
|
|
github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22
|
2020-03-09 20:59:02 +00:00
|
|
|
github.com/google/tcpproxy v0.0.0-20180808230851-dfa16c61dad2
|
2020-09-11 00:47:22 +00:00
|
|
|
github.com/hashicorp/consul/api v1.7.0
|
2020-08-07 21:26:05 +00:00
|
|
|
github.com/hashicorp/consul/sdk v0.6.0
|
2020-03-30 20:05:27 +00:00
|
|
|
github.com/hashicorp/errwrap v1.0.0
|
2019-07-23 18:45:20 +00:00
|
|
|
github.com/hashicorp/go-bexpr v0.1.2
|
2019-03-26 21:04:58 +00:00
|
|
|
github.com/hashicorp/go-checkpoint v0.0.0-20171009173528-1545e56e46de
|
|
|
|
github.com/hashicorp/go-cleanhttp v0.5.1
|
2020-02-10 21:13:53 +00:00
|
|
|
github.com/hashicorp/go-connlimit v0.2.0
|
2020-05-04 14:59:48 +00:00
|
|
|
github.com/hashicorp/go-discover v0.0.0-20200501174627-ad1e96bde088
|
2020-01-28 23:50:41 +00:00
|
|
|
github.com/hashicorp/go-hclog v0.12.0
|
2020-07-23 20:08:49 +00:00
|
|
|
github.com/hashicorp/go-immutable-radix v1.2.0 // indirect
|
2019-10-16 16:10:12 +00:00
|
|
|
github.com/hashicorp/go-memdb v1.0.3
|
2019-06-19 12:50:48 +00:00
|
|
|
github.com/hashicorp/go-msgpack v0.5.5
|
2020-05-04 16:39:08 +00:00
|
|
|
github.com/hashicorp/go-multierror v1.1.0
|
2019-07-31 13:08:10 +00:00
|
|
|
github.com/hashicorp/go-raftchunking v0.6.1
|
2020-09-15 19:45:29 +00:00
|
|
|
github.com/hashicorp/go-retryablehttp v0.6.7 // indirect
|
2019-09-23 17:04:40 +00:00
|
|
|
github.com/hashicorp/go-sockaddr v1.0.2
|
2019-03-26 21:04:58 +00:00
|
|
|
github.com/hashicorp/go-syslog v1.0.0
|
2020-05-12 01:59:29 +00:00
|
|
|
github.com/hashicorp/go-uuid v1.0.2
|
2020-04-15 22:05:11 +00:00
|
|
|
github.com/hashicorp/go-version v1.2.0
|
2020-07-23 20:08:49 +00:00
|
|
|
github.com/hashicorp/golang-lru v0.5.4
|
2019-09-23 17:04:40 +00:00
|
|
|
github.com/hashicorp/hcl v1.0.0
|
2019-03-26 21:04:58 +00:00
|
|
|
github.com/hashicorp/hil v0.0.0-20160711231837-1e86c6b523c5
|
2020-05-04 16:39:08 +00:00
|
|
|
github.com/hashicorp/memberlist v0.2.2
|
2019-03-26 21:04:58 +00:00
|
|
|
github.com/hashicorp/net-rpc-msgpackrpc v0.0.0-20151116020338-a14192a58a69
|
2020-01-20 12:58:02 +00:00
|
|
|
github.com/hashicorp/raft v1.1.2
|
2019-07-24 21:06:39 +00:00
|
|
|
github.com/hashicorp/raft-boltdb v0.0.0-20171010151810-6e5ba93211ea
|
add primary keys to list keyring (#8522)
During gossip encryption key rotation it would be nice to be able to see if all nodes are using the same key. This PR adds another field to the json response from `GET v1/operator/keyring` which lists the primary keys in use per dc. That way an operator can tell when a key was successfully setup as primary key.
Based on https://github.com/hashicorp/serf/pull/611 to add primary key to list keyring output:
```json
[
{
"WAN": true,
"Datacenter": "dc2",
"Segment": "",
"Keys": {
"0OuM4oC3Os18OblWiBbZUaHA7Hk+tNs/6nhNYtaNduM=": 6,
"SINm887hKTzmMWeBNKTJReaTLX3mBEJKriDyt88Ad+g=": 6
},
"PrimaryKeys": {
"SINm887hKTzmMWeBNKTJReaTLX3mBEJKriDyt88Ad+g=": 6
},
"NumNodes": 6
},
{
"WAN": false,
"Datacenter": "dc2",
"Segment": "",
"Keys": {
"0OuM4oC3Os18OblWiBbZUaHA7Hk+tNs/6nhNYtaNduM=": 8,
"SINm887hKTzmMWeBNKTJReaTLX3mBEJKriDyt88Ad+g=": 8
},
"PrimaryKeys": {
"SINm887hKTzmMWeBNKTJReaTLX3mBEJKriDyt88Ad+g=": 8
},
"NumNodes": 8
},
{
"WAN": false,
"Datacenter": "dc1",
"Segment": "",
"Keys": {
"0OuM4oC3Os18OblWiBbZUaHA7Hk+tNs/6nhNYtaNduM=": 3,
"SINm887hKTzmMWeBNKTJReaTLX3mBEJKriDyt88Ad+g=": 8
},
"PrimaryKeys": {
"SINm887hKTzmMWeBNKTJReaTLX3mBEJKriDyt88Ad+g=": 8
},
"NumNodes": 8
}
]
```
I intentionally did not change the CLI output because I didn't find a good way of displaying this information. There are a couple of options that we could implement later:
* add a flag to show the primary keys
* add a flag to show json output
Fixes #3393.
2020-08-18 07:50:24 +00:00
|
|
|
github.com/hashicorp/serf v0.9.4
|
2020-09-15 19:45:29 +00:00
|
|
|
github.com/hashicorp/vault/api v1.0.5-0.20200717191844-f687267c8086
|
2019-05-02 19:11:39 +00:00
|
|
|
github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d
|
2019-05-01 23:39:31 +00:00
|
|
|
github.com/imdario/mergo v0.3.6
|
2020-04-15 22:05:11 +00:00
|
|
|
github.com/joyent/triton-go v1.7.1-0.20200416154420-6801d15b779f // indirect
|
|
|
|
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
|
2019-03-26 21:04:58 +00:00
|
|
|
github.com/kr/text v0.1.0
|
2020-02-10 20:14:27 +00:00
|
|
|
github.com/miekg/dns v1.1.26
|
2020-03-26 19:27:34 +00:00
|
|
|
github.com/mitchellh/cli v1.1.0
|
2019-07-24 21:06:39 +00:00
|
|
|
github.com/mitchellh/copystructure v1.0.0
|
2020-04-24 22:18:56 +00:00
|
|
|
github.com/mitchellh/go-testing-interface v1.14.0
|
2019-03-26 21:04:58 +00:00
|
|
|
github.com/mitchellh/hashstructure v0.0.0-20170609045927-2bca23e0e452
|
2020-07-22 19:13:21 +00:00
|
|
|
github.com/mitchellh/mapstructure v1.3.3
|
2020-05-12 01:59:29 +00:00
|
|
|
github.com/mitchellh/pointerstructure v1.0.0
|
2019-05-02 18:43:54 +00:00
|
|
|
github.com/mitchellh/reflectwalk v1.0.1
|
2019-06-19 12:50:48 +00:00
|
|
|
github.com/pascaldekloe/goe v0.1.0
|
2020-05-12 01:59:29 +00:00
|
|
|
github.com/patrickmn/go-cache v2.1.0+incompatible
|
2020-09-15 19:45:29 +00:00
|
|
|
github.com/pierrec/lz4 v2.5.2+incompatible // indirect
|
2019-03-26 21:04:58 +00:00
|
|
|
github.com/pkg/errors v0.8.1
|
2020-05-12 01:59:29 +00:00
|
|
|
github.com/pquerna/cachecontrol v0.0.0-20180517163645-1555304b9b35 // indirect
|
2020-07-23 20:08:49 +00:00
|
|
|
github.com/prometheus/client_golang v1.4.0
|
2020-04-24 22:34:47 +00:00
|
|
|
github.com/rboyer/safeio v0.2.1
|
2019-09-23 17:04:40 +00:00
|
|
|
github.com/ryanuber/columnize v2.1.0+incompatible
|
2020-10-07 18:52:50 +00:00
|
|
|
github.com/shirou/gopsutil v2.20.9+incompatible
|
2020-06-18 18:10:12 +00:00
|
|
|
github.com/stretchr/testify v1.5.1
|
2020-04-15 22:05:11 +00:00
|
|
|
go.opencensus.io v0.22.0 // indirect
|
2020-06-25 13:22:19 +00:00
|
|
|
go.uber.org/goleak v1.0.0
|
2021-06-15 20:41:13 +00:00
|
|
|
golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a
|
|
|
|
golang.org/x/net v0.0.0-20200904194848-62affa334b73
|
2020-05-12 01:59:29 +00:00
|
|
|
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
|
2020-10-07 18:52:50 +00:00
|
|
|
golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
|
2021-06-15 20:41:13 +00:00
|
|
|
golang.org/x/sys v0.0.0-20201007082116-8445cc04cbdf
|
|
|
|
golang.org/x/text v0.3.3 // indirect
|
2020-10-07 18:52:50 +00:00
|
|
|
golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e
|
|
|
|
golang.org/x/tools v0.0.0-20200513154647-78b527d18275 // indirect
|
|
|
|
google.golang.org/api v0.9.0 // indirect
|
2020-04-15 22:05:11 +00:00
|
|
|
google.golang.org/appengine v1.6.0 // indirect
|
2020-07-07 21:22:30 +00:00
|
|
|
google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55
|
|
|
|
google.golang.org/grpc v1.25.1
|
2020-09-15 19:45:29 +00:00
|
|
|
gopkg.in/square/go-jose.v2 v2.5.1
|
2020-05-04 14:59:48 +00:00
|
|
|
k8s.io/api v0.16.9
|
|
|
|
k8s.io/apimachinery v0.16.9
|
|
|
|
k8s.io/client-go v0.16.9
|
2019-03-26 21:04:58 +00:00
|
|
|
)
|
2020-01-31 18:57:54 +00:00
|
|
|
|
|
|
|
replace istio.io/gogo-genproto v0.0.0-20190124151557-6d926a6e6feb => github.com/istio/gogo-genproto v0.0.0-20190124151557-6d926a6e6feb
|