├── .gitignore ├── main.go ├── Makefile ├── README.md ├── LICENSE ├── cmd ├── version.go ├── version_vars.go ├── impl.go ├── registration.go ├── registration_test.go └── root.go ├── storage ├── interface.go ├── storage.go ├── mapImpl.go ├── dbImpl.go └── mapImpl_test.go ├── .gitlab-ci.yml ├── go.mod └── go.sum /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | vendor 3 | -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////////////////////////// 2 | // Copyright © 2022 xx foundation // 3 | // // 4 | // Use of this source code is governed by a license that can be found in the // 5 | // LICENSE file. // 6 | //////////////////////////////////////////////////////////////////////////////// 7 | 8 | package main 9 | 10 | import "gitlab.com/elixxir/client-registrar/cmd" 11 | 12 | func main() { 13 | cmd.Execute() 14 | } 15 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: update master release update_master update_release build clean version 2 | 3 | version: 4 | go run main.go generate 5 | mv version_vars.go cmd/version_vars.go 6 | 7 | clean: 8 | rm -rf vendor/ 9 | go mod vendor 10 | 11 | update: 12 | -GOFLAGS="" go get all 13 | 14 | build: 15 | go build ./... 16 | go mod tidy 17 | 18 | update_release: 19 | GOFLAGS="" go get gitlab.com/xx_network/primitives@release 20 | GOFLAGS="" go get gitlab.com/xx_network/crypto@release 21 | GOFLAGS="" go get gitlab.com/elixxir/crypto@release 22 | GOFLAGS="" go get gitlab.com/elixxir/comms@release 23 | 24 | update_master: 25 | GOFLAGS="" go get gitlab.com/xx_network/primitives@master 26 | GOFLAGS="" go get gitlab.com/xx_network/crypto@master 27 | GOFLAGS="" go get gitlab.com/elixxir/crypto@release 28 | GOFLAGS="" go get gitlab.com/elixxir/comms@master 29 | 30 | master: clean update_master build version 31 | 32 | release: clean update_release build version 33 | 34 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Client Registrar 2 | 3 | The client registrar was split from gitlab.com/elixxir/registration to create a standalone service to handle client registration 4 | 5 | ## Example Configuration File 6 | 7 | ```yaml 8 | # ================================== 9 | # Client Registrar Configuration 10 | # ================================== 11 | 12 | # Log message level (0 = info, 1 = debug, >1 = trace) 13 | logLevel: 1 14 | # Path to log file 15 | logPath: "registration.log" 16 | 17 | # Public address, used in NDF it gives to client 18 | publicAddress: "0.0.0.0:11420" 19 | # The listening port of this server 20 | port: 11420 21 | 22 | # === REQUIRED FOR ENABLING TLS === 23 | # Path to the permissioning server private key file 24 | keyPath: "" 25 | # Path to the permissioning server certificate file 26 | certPath: "" 27 | # Path to the signed registration server private key file 28 | signedKeyPath: "" 29 | # Path to the signed registration server certificate file 30 | signedCertPath: "" 31 | 32 | # Maximum number of connections per period 33 | userRegCapacity: 1000 34 | # How often the number of connections is reset 35 | userRegLeakPeriod: "24h" 36 | 37 | # Database connection information 38 | dbUsername: "cmix" 39 | dbPassword: "" 40 | dbName: "cmix_server" 41 | dbAddress: "" 42 | 43 | # List of client codes to be added to the database (for testing) 44 | clientRegCodes: 45 | - "AAAA" 46 | - "BBBB" 47 | - "CCCC" 48 | ``` 49 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | To whom it may concern, 2 | 3 | You can download, modify, compile and deploy this source code for the purpose of participating in the xx network as a 4 | beta node, in accordance with your beta node participation agreement. 5 | 6 | You can also download, modify, compile and deploy the source code for non-commercial testing and verification 7 | (i.e., security and bug review) purposes. You can repost aspects of the source code on both the BetaNet forum 8 | (forum.xx.network) and the official Discord (https://discord.gg/D4NHmv4) consistent with these purposes. 9 | To release a bug or security report outside the BetaNet forum or official Discord, you must notify bugs@xx.network at 10 | least three business days in advance Pacific time. 11 | 12 | The xx network SEZC hereby grants you a non-transferable license under its legal rights limited to the purposes above. 13 | 14 | This Agreement and the license that it grants you expires the earlier of April 1st 2022 or the launch of the xx network 15 | MainNet. 16 | 17 | THE SOURCE CODE IS PROVIDED TO YOU ON AN “AS IS” BASIS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, 18 | INCLUDING ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR USE, OR ANY WARRANTY THAT THE SOURCE CODE 19 | DOES NOT INFRINGE THE RIGHTS OF OTHERS (WHETHER PATENT RIGHTS, COPYRIGHTS OR OTHERWISE). 20 | 21 | THE XX NETWORK SEZC WILL NOT BE LIABLE TO YOU FOR ANY DAMAGES OF ANY KIND, WHETHER DIRECT, SPECIAL, CONSEQUENTIAL, 22 | INCIDENTAL, INDIRECT OR OTHERWISE, EVEN IF THE XX NETWORK SEZC HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, 23 | WHICH ARISE OUT OF THIS AGREEMENT OR THE USE OR PERFORMANCE OF THE SOURCE CODE. 24 | 25 | The xx network SEZC 26 | -------------------------------------------------------------------------------- /cmd/version.go: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////////////////////////// 2 | // Copyright © 2022 xx foundation // 3 | // // 4 | // Use of this source code is governed by a license that can be found in the // 5 | // LICENSE file. // 6 | //////////////////////////////////////////////////////////////////////////////// 7 | 8 | // Handles command-line version functionality 9 | 10 | package cmd 11 | 12 | import ( 13 | "fmt" 14 | 15 | "github.com/spf13/cobra" 16 | "gitlab.com/xx_network/primitives/utils" 17 | ) 18 | 19 | // Change this value to set the version for this build 20 | const currentVersion = "1.1.1" 21 | 22 | func printVersion() { 23 | fmt.Printf("xx network Client Registrar v%s -- %s\n\n", SEMVER, GITVERSION) 24 | fmt.Printf("Dependencies:\n\n%s\n", DEPENDENCIES) 25 | } 26 | 27 | func init() { 28 | rootCmd.AddCommand(versionCmd) 29 | rootCmd.AddCommand(generateCmd) 30 | } 31 | 32 | var versionCmd = &cobra.Command{ 33 | Use: "version", 34 | Short: "Print the version and dependency information for the xx network binary", 35 | Long: `Print the version and dependency information for the xx network binary`, 36 | Run: func(cmd *cobra.Command, args []string) { 37 | printVersion() 38 | }, 39 | } 40 | 41 | var generateCmd = &cobra.Command{ 42 | Use: "generate", 43 | Short: "Generates version and dependency information for the xx network binary", 44 | Long: `Generates version and dependency information for the xx network binary`, 45 | Run: func(cmd *cobra.Command, args []string) { 46 | utils.GenerateVersionFile(currentVersion) 47 | }, 48 | } 49 | -------------------------------------------------------------------------------- /storage/interface.go: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////////////////////////// 2 | // Copyright © 2022 xx foundation // 3 | // // 4 | // Use of this source code is governed by a license that can be found in the // 5 | // LICENSE file. // 6 | //////////////////////////////////////////////////////////////////////////////// 7 | 8 | package storage 9 | 10 | import ( 11 | "sync" 12 | "time" 13 | ) 14 | 15 | var ( 16 | BucketUserRegCapacityKey = "BucketCapacity" 17 | BucketUserRegLeakPeriodKey = "BucketPeriod" 18 | ) 19 | 20 | // database interface defines base methods for storage 21 | type database interface { 22 | InsertClientRegCode(code string, uses int) error 23 | UseCode(code string) error 24 | GetUser(publicKey string) (*User, error) 25 | InsertUser(user *User) error 26 | UpsertState(key, value string) error 27 | GetState(key string) (string, error) 28 | } 29 | 30 | // MapImpl struct is intended to mock the behavior of a real database 31 | type MapImpl struct { 32 | clients map[string]*RegistrationCode 33 | users map[string]*User 34 | state map[string]string 35 | sync.Mutex 36 | } 37 | 38 | // Struct representing a RegistrationCode table in the Database 39 | type RegistrationCode struct { 40 | // Registration code acts as the primary key 41 | Code string `gorm:"primary_key"` 42 | // Remaining uses for the RegistrationCode 43 | RemainingUses int 44 | } 45 | 46 | // Struct representing the User table in the Database 47 | type User struct { 48 | // User TLS public certificate in PEM string format 49 | PublicKey string `gorm:"primary_key"` 50 | // User reception key in PEM string format 51 | ReceptionKey string `gorm:"NOT NULL;UNIQUE"` 52 | // Timestamp in which user registered with permissioning 53 | RegistrationTimestamp time.Time `gorm:"NOT NULL"` 54 | } 55 | 56 | type RegistrarState struct { 57 | Key string `gorm:"primary_key"` 58 | Value string `gorm:"NOT NULL"` 59 | } 60 | -------------------------------------------------------------------------------- /storage/storage.go: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////////////////////////// 2 | // Copyright © 2022 xx foundation // 3 | // // 4 | // Use of this source code is governed by a license that can be found in the // 5 | // LICENSE file. // 6 | //////////////////////////////////////////////////////////////////////////////// 7 | 8 | package storage 9 | 10 | import ( 11 | "github.com/pkg/errors" 12 | "strconv" 13 | "testing" 14 | "time" 15 | ) 16 | 17 | // Storage struct is the API for the storage layer 18 | type Storage struct { 19 | // Stored Database interface 20 | database 21 | } 22 | 23 | // GetMapImpl is a test use only function for exposing MapImpl 24 | func (s *Storage) GetMapImpl(t *testing.T) *MapImpl { 25 | return s.database.(*MapImpl) 26 | } 27 | 28 | // PopulateClientRegistrationCodes adds Client registration codes to the Database 29 | func (s *Storage) PopulateClientRegistrationCodes(codes []string, uses int) error { 30 | for _, code := range codes { 31 | err := s.InsertClientRegCode(code, uses) 32 | if err != nil { 33 | return err 34 | } 35 | } 36 | return nil 37 | } 38 | 39 | func (s *Storage) GetBucketParameters() (uint32, time.Duration, error) { 40 | scapacity, err := s.GetState(BucketUserRegCapacityKey) 41 | if err != nil { 42 | return 0, -1, errors.WithMessage(err, "Failed to get reg bucket capactiy") 43 | } 44 | speriod, err := s.GetState(BucketUserRegLeakPeriodKey) 45 | if err != nil { 46 | return 0, -1, errors.WithMessage(err, "Failed to get reg bucket leak period") 47 | } 48 | capacity, err := strconv.Atoi(scapacity) 49 | if err != nil { 50 | return 0, -1, errors.WithMessage(err, "Failed to parse capacity") 51 | } 52 | period, err := time.ParseDuration(speriod) 53 | if err != nil { 54 | return 0, -1, errors.WithMessage(err, "Failed to parse period") 55 | } 56 | return uint32(capacity), period, nil 57 | } 58 | 59 | func (s *Storage) UpdateBucketParameters(capacity uint32, period time.Duration) error { 60 | err := s.UpsertState(BucketUserRegCapacityKey, strconv.Itoa(int(capacity))) 61 | if err != nil { 62 | return errors.WithMessage(err, "Failed to upsert bucket reg capacity") 63 | } 64 | err = s.UpsertState(BucketUserRegLeakPeriodKey, period.String()) 65 | if err != nil { 66 | return errors.WithMessage(err, "Failed to upsert bucket leak period") 67 | } 68 | return nil 69 | } 70 | -------------------------------------------------------------------------------- /.gitlab-ci.yml: -------------------------------------------------------------------------------- 1 | before_script: 2 | - go version || echo "Go executable not found." 3 | - echo $CI_BUILD_REF 4 | - echo $CI_PROJECT_DIR 5 | - echo $PWD 6 | - echo $USER 7 | - eval $(ssh-agent -s) 8 | - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null 9 | - mkdir -p ~/.ssh 10 | - chmod 700 ~/.ssh 11 | - ssh-keyscan -t rsa $GITLAB_SERVER > ~/.ssh/known_hosts 12 | - git config --global url."git@$GITLAB_SERVER:".insteadOf "https://gitlab.com/" 13 | - git config --global url."git@$GITLAB_SERVER:".insteadOf "https://git.xx.network/" --add 14 | - cat ~/.gitconfig 15 | - export PATH=$HOME/go/bin:$PATH 16 | 17 | stages: 18 | - test 19 | - build 20 | 21 | test: 22 | stage: test 23 | image: $DOCKER_IMAGE 24 | except: 25 | - tags 26 | script: 27 | - git clean -ffdx 28 | - go mod vendor -v 29 | - go build ./... 30 | - go mod tidy 31 | - mkdir -p testdata 32 | 33 | # Test coverage 34 | - go-acc --covermode atomic --output testdata/coverage.out ./... -- -v 35 | # Exclude some specific packages and files 36 | - cat testdata/coverage.out | grep -v cmd | grep -v mockserver | grep -v pb[.]go | grep -v main.go > testdata/coverage-real.out 37 | - go tool cover -func=testdata/coverage-real.out 38 | - go tool cover -html=testdata/coverage-real.out -o testdata/coverage.html 39 | 40 | # Test Coverage Check 41 | - go tool cover -func=testdata/coverage-real.out | grep "total:" | awk '{print $3}' | sed 's/\%//g' > testdata/coverage-percentage.txt 42 | - export CODE_CHECK=$(echo "$(cat testdata/coverage-percentage.txt) >= $MIN_CODE_COVERAGE" | bc -l) 43 | - (if [ "$CODE_CHECK" == "1" ]; then echo "Minimum coverage of $MIN_CODE_COVERAGE succeeded"; else echo "Minimum coverage of $MIN_CODE_COVERAGE failed"; exit 1; fi); 44 | artifacts: 45 | paths: 46 | - vendor/ 47 | - testdata/ 48 | 49 | build: 50 | stage: build 51 | image: $DOCKER_IMAGE 52 | except: 53 | - tags 54 | script: 55 | - mkdir -p release 56 | - GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-w -s' ./... 57 | - GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-w -s' -o release/registration.linux64 main.go 58 | - GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-w -s' -o release/registration.win64 main.go 59 | # - GOOS=windows GOARCH=386 CGO_ENABLED=0 go build -ldflags '-w -s' -o release/registration.win32 main.go 60 | - GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-w -s' -o release/registration.darwin64 main.go 61 | artifacts: 62 | paths: 63 | - release/ 64 | -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module gitlab.com/elixxir/client-registrar 2 | 3 | go 1.19 4 | 5 | require ( 6 | github.com/golang/protobuf v1.5.2 7 | github.com/jinzhu/gorm v1.9.12 8 | github.com/mitchellh/go-homedir v1.1.0 9 | github.com/pkg/errors v0.9.1 10 | github.com/spf13/cobra v1.1.3 11 | github.com/spf13/jwalterweatherman v1.1.0 12 | github.com/spf13/viper v1.7.1 13 | gitlab.com/elixxir/comms v0.0.4-0.20230214180204-3aba2e6795af 14 | gitlab.com/elixxir/crypto v0.0.7-0.20230214180106-72841fd1e426 15 | gitlab.com/elixxir/registration v1.5.1-0.20230214180353-100b1af9f82d 16 | gitlab.com/xx_network/comms v0.0.4-0.20230214180029-5387fb85736d 17 | gitlab.com/xx_network/crypto v0.0.5-0.20230214003943-8a09396e95dd 18 | gitlab.com/xx_network/primitives v0.0.4-0.20230203173415-81c2cb07da44 19 | ) 20 | 21 | require ( 22 | git.xx.network/elixxir/grpc-web-go-client v0.0.0-20230214175953-5b5a8c33d28a // indirect 23 | github.com/cenkalti/backoff/v4 v4.1.3 // indirect 24 | github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect 25 | github.com/fsnotify/fsnotify v1.4.9 // indirect 26 | github.com/gopherjs/gopherjs v0.0.0-20200217142428-fce0ec30dd00 // indirect 27 | github.com/gorilla/websocket v1.5.0 // indirect 28 | github.com/hashicorp/hcl v1.0.0 // indirect 29 | github.com/improbable-eng/grpc-web v0.15.0 // indirect 30 | github.com/inconshreveable/mousetrap v1.0.0 // indirect 31 | github.com/jinzhu/inflection v1.0.0 // indirect 32 | github.com/jinzhu/now v1.1.2 // indirect 33 | github.com/klauspost/compress v1.11.7 // indirect 34 | github.com/lib/pq v1.10.2 // indirect 35 | github.com/magiconair/properties v1.8.1 // indirect 36 | github.com/mitchellh/mapstructure v1.4.1 // indirect 37 | github.com/pelletier/go-toml v1.7.0 // indirect 38 | github.com/rs/cors v1.8.2 // indirect 39 | github.com/soheilhy/cmux v0.1.5 // indirect 40 | github.com/spf13/afero v1.2.2 // indirect 41 | github.com/spf13/cast v1.3.1 // indirect 42 | github.com/spf13/pflag v1.0.5 // indirect 43 | github.com/subosito/gotenv v1.2.0 // indirect 44 | gitlab.com/elixxir/primitives v0.0.3-0.20230214180039-9a25e2d3969c // indirect 45 | go.uber.org/atomic v1.10.0 // indirect 46 | golang.org/x/crypto v0.5.0 // indirect 47 | golang.org/x/net v0.5.0 // indirect 48 | golang.org/x/sys v0.4.0 // indirect 49 | golang.org/x/text v0.6.0 // indirect 50 | google.golang.org/genproto v0.0.0-20220822174746-9e6da59bd2fc // indirect 51 | google.golang.org/grpc v1.49.0 // indirect 52 | google.golang.org/protobuf v1.28.1 // indirect 53 | gopkg.in/ini.v1 v1.51.0 // indirect 54 | gopkg.in/yaml.v2 v2.4.0 // indirect 55 | nhooyr.io/websocket v1.8.7 // indirect 56 | src.agwa.name/tlshacks v0.0.0-20220518131152-d2c6f4e2b780 // indirect 57 | ) 58 | -------------------------------------------------------------------------------- /cmd/version_vars.go: -------------------------------------------------------------------------------- 1 | // Code generated by go generate; DO NOT EDIT. 2 | // This file was generated by robots at 3 | // 2022-12-01 14:36:44.894539 -0600 CST m=+0.024515309 4 | 5 | package cmd 6 | 7 | const GITVERSION = `06ea92c update deps` 8 | const SEMVER = "1.1.1" 9 | const DEPENDENCIES = `module gitlab.com/elixxir/client-registrar 10 | 11 | go 1.19 12 | 13 | require ( 14 | github.com/golang/protobuf v1.5.2 15 | github.com/jinzhu/gorm v1.9.12 16 | github.com/mitchellh/go-homedir v1.1.0 17 | github.com/pkg/errors v0.9.1 18 | github.com/spf13/cobra v1.1.3 19 | github.com/spf13/jwalterweatherman v1.1.0 20 | github.com/spf13/viper v1.7.1 21 | gitlab.com/elixxir/comms v0.0.4-0.20221201115310-02192cebc874 22 | gitlab.com/elixxir/crypto v0.0.7-0.20221130223330-600937502838 23 | gitlab.com/elixxir/registration v1.5.1-0.20221110181614-774452d5de19 24 | gitlab.com/xx_network/comms v0.0.4-0.20221201114958-16e81c0669a8 25 | gitlab.com/xx_network/crypto v0.0.5-0.20221121220724-8eefdbb0eb46 26 | gitlab.com/xx_network/primitives v0.0.4-0.20221110180011-fd6ea3058225 27 | ) 28 | 29 | require ( 30 | git.xx.network/elixxir/grpc-web-go-client v0.0.0-20221102223039-dc1f37d94e70 // indirect 31 | github.com/cenkalti/backoff/v4 v4.1.3 // indirect 32 | github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect 33 | github.com/fsnotify/fsnotify v1.4.9 // indirect 34 | github.com/gopherjs/gopherjs v0.0.0-20200217142428-fce0ec30dd00 // indirect 35 | github.com/gorilla/websocket v1.5.0 // indirect 36 | github.com/hashicorp/hcl v1.0.0 // indirect 37 | github.com/improbable-eng/grpc-web v0.15.0 // indirect 38 | github.com/inconshreveable/mousetrap v1.0.0 // indirect 39 | github.com/jinzhu/inflection v1.0.0 // indirect 40 | github.com/jinzhu/now v1.1.2 // indirect 41 | github.com/klauspost/compress v1.11.7 // indirect 42 | github.com/lib/pq v1.10.2 // indirect 43 | github.com/magiconair/properties v1.8.1 // indirect 44 | github.com/mitchellh/mapstructure v1.4.1 // indirect 45 | github.com/pelletier/go-toml v1.7.0 // indirect 46 | github.com/rogpeppe/go-internal v1.9.0 // indirect 47 | github.com/rs/cors v1.8.2 // indirect 48 | github.com/soheilhy/cmux v0.1.5 // indirect 49 | github.com/spf13/afero v1.2.2 // indirect 50 | github.com/spf13/cast v1.3.1 // indirect 51 | github.com/spf13/pflag v1.0.5 // indirect 52 | github.com/subosito/gotenv v1.2.0 // indirect 53 | gitlab.com/elixxir/primitives v0.0.3-0.20221110181119-e83320a48b13 // indirect 54 | go.uber.org/atomic v1.10.0 // indirect 55 | golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa // indirect 56 | golang.org/x/net v0.0.0-20220822230855-b0a4917ee28c // indirect 57 | golang.org/x/sys v0.0.0-20220731174439-a90be440212d // indirect 58 | golang.org/x/text v0.3.7 // indirect 59 | google.golang.org/genproto v0.0.0-20220822174746-9e6da59bd2fc // indirect 60 | google.golang.org/grpc v1.49.0 // indirect 61 | google.golang.org/protobuf v1.28.1 // indirect 62 | gopkg.in/ini.v1 v1.51.0 // indirect 63 | gopkg.in/yaml.v2 v2.4.0 // indirect 64 | nhooyr.io/websocket v1.8.7 // indirect 65 | ) 66 | ` 67 | -------------------------------------------------------------------------------- /storage/mapImpl.go: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////////////////////////// 2 | // Copyright © 2022 xx foundation // 3 | // // 4 | // Use of this source code is governed by a license that can be found in the // 5 | // LICENSE file. // 6 | //////////////////////////////////////////////////////////////////////////////// 7 | 8 | package storage 9 | 10 | import ( 11 | "github.com/pkg/errors" 12 | jww "github.com/spf13/jwalterweatherman" 13 | ) 14 | 15 | // NewMap initializes the database interface with Map backend 16 | func NewMap() Storage { 17 | defer jww.INFO.Println("Map backend initialized successfully!") 18 | return Storage{ 19 | &MapImpl{ 20 | clients: make(map[string]*RegistrationCode), 21 | users: make(map[string]*User), 22 | state: make(map[string]string), 23 | }} 24 | } 25 | 26 | // InsertClientRegCode inserts Client registration code with given number of uses 27 | func (m *MapImpl) InsertClientRegCode(code string, uses int) error { 28 | m.Lock() 29 | jww.INFO.Printf("Inserting code %s, %d uses remaining", code, uses) 30 | // Enforce unique registration code 31 | if m.clients[code] != nil { 32 | m.Unlock() 33 | return errors.Errorf("client registration code %s already exists", code) 34 | } 35 | m.clients[code] = &RegistrationCode{ 36 | Code: code, 37 | RemainingUses: uses, 38 | } 39 | m.Unlock() 40 | return nil 41 | } 42 | 43 | // UseCode if Client registration code is valid, decrements remaining uses 44 | func (m *MapImpl) UseCode(code string) error { 45 | m.Lock() 46 | // Look up given registration code 47 | jww.INFO.Printf("Attempting to use code %s...", code) 48 | reg := m.clients[code] 49 | if reg == nil { 50 | // Unable to find code, return error 51 | m.Unlock() 52 | return errors.Errorf("invalid registration code") 53 | } 54 | 55 | if reg.RemainingUses < 1 { 56 | // Code has no remaining uses, return error 57 | m.Unlock() 58 | return errors.Errorf("registration code %s has no remaining uses", code) 59 | } 60 | 61 | // Decrement remaining uses by one 62 | reg.RemainingUses -= 1 63 | jww.INFO.Printf("Code %s used, %d uses remaining", code, 64 | reg.RemainingUses) 65 | m.Unlock() 66 | return nil 67 | } 68 | 69 | // GetUser fetches User from the map 70 | func (m *MapImpl) GetUser(publicKey string) (*User, error) { 71 | if usr, ok := m.users[publicKey]; ok { 72 | return &User{ 73 | PublicKey: publicKey, 74 | ReceptionKey: usr.ReceptionKey, 75 | RegistrationTimestamp: usr.RegistrationTimestamp, 76 | }, nil 77 | } 78 | return nil, errors.New("user does not exist") 79 | } 80 | 81 | // InsertUser inserts User into the map 82 | func (m *MapImpl) InsertUser(user *User) error { 83 | m.users[user.PublicKey] = user 84 | return nil 85 | } 86 | 87 | func (m *MapImpl) UpsertState(key, value string) error { 88 | m.state[key] = value 89 | return nil 90 | } 91 | 92 | func (m *MapImpl) GetState(key string) (string, error) { 93 | val, ok := m.state[key] 94 | if !ok { 95 | return "", errors.Errorf("No state with key value %s", key) 96 | } 97 | return val, nil 98 | } 99 | -------------------------------------------------------------------------------- /cmd/impl.go: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////////////////////////// 2 | // Copyright © 2022 xx foundation // 3 | // // 4 | // Use of this source code is governed by a license that can be found in the // 5 | // LICENSE file. // 6 | //////////////////////////////////////////////////////////////////////////////// 7 | 8 | package cmd 9 | 10 | import ( 11 | gotls "crypto/tls" 12 | "crypto/x509" 13 | "github.com/pkg/errors" 14 | jww "github.com/spf13/jwalterweatherman" 15 | "gitlab.com/elixxir/client-registrar/storage" 16 | "gitlab.com/elixxir/comms/clientregistrar" 17 | pb "gitlab.com/elixxir/comms/mixmessages" 18 | "gitlab.com/xx_network/crypto/signature/rsa" 19 | "gitlab.com/xx_network/crypto/tls" 20 | "gitlab.com/xx_network/primitives/id" 21 | "gitlab.com/xx_network/primitives/rateLimiting" 22 | "gitlab.com/xx_network/primitives/utils" 23 | ) 24 | 25 | type Impl struct { 26 | Comms *clientregistrar.Comms 27 | rl *rateLimiting.Bucket 28 | pk *rsa.PrivateKey 29 | cert *x509.Certificate 30 | DB *storage.Storage 31 | certFromFile []byte 32 | Stopped *uint32 33 | } 34 | 35 | func StartRegistrar(params Params, db *storage.Storage) (*Impl, error) { 36 | rsaKeyPem, err := utils.ReadFile(params.KeyPath) 37 | if err != nil { 38 | return nil, errors.Errorf("failed to read key at %+v: %+v", 39 | params.KeyPath, err) 40 | } 41 | 42 | rsaPrivateKey, err := rsa.LoadPrivateKeyFromPem(rsaKeyPem) 43 | if err != nil { 44 | return nil, errors.Errorf("Failed to parse client registrar server key: %+v. "+ 45 | "Registrar key is %+v", err, rsaPrivateKey) 46 | } 47 | 48 | certFromFile, err := utils.ReadFile(params.CertPath) 49 | if err != nil { 50 | return nil, errors.Errorf("failed to read certificate at %+v: %+v", params.CertPath, err) 51 | } 52 | 53 | // Set globals for permissioning server 54 | cert, err := tls.LoadCertificate(string(certFromFile)) 55 | if err != nil { 56 | return nil, errors.Errorf("Failed to parse client registrar server cert: %+v. "+ 57 | "Registrar cert is %s", err, certFromFile) 58 | } 59 | stopped := uint32(0) 60 | 61 | impl := &Impl{ 62 | pk: rsaPrivateKey, 63 | cert: cert, 64 | certFromFile: certFromFile, 65 | DB: db, 66 | Stopped: &stopped, 67 | } 68 | capacity, period, err := impl.DB.GetBucketParameters() 69 | if err != nil { 70 | jww.WARN.Println("Failed to retrieve rate limiting parameters from storage") 71 | impl.rl = rateLimiting.CreateBucket(params.userRegCapacity, params.userRegCapacity, params.userRegLeakPeriod, func(u uint32, i int64) {}) 72 | } else { 73 | impl.rl = rateLimiting.CreateBucket(capacity, capacity, period, func(u uint32, i int64) {}) 74 | } 75 | impl.Comms = clientregistrar.StartClientRegistrarServer(&id.Permissioning, params.Address, NewImplementation(impl), certFromFile, rsaKeyPem) 76 | 77 | if len(params.SignedCertPath) > 0 { 78 | jww.INFO.Printf("Enabling TLS...") 79 | signedCert, err := utils.ReadFile(params.SignedCertPath) 80 | if err != nil { 81 | return nil, errors.Errorf("failed to read certificate at %+v: %+v", 82 | params.SignedCertPath, err) 83 | } 84 | signedKey, err := utils.ReadFile(params.SignedKeyPath) 85 | if err != nil { 86 | return nil, errors.Errorf("failed to read key at %+v: %+v", 87 | params.SignedKeyPath, err) 88 | } 89 | 90 | keyPair, err := gotls.X509KeyPair(signedCert, signedKey) 91 | if err != nil { 92 | return nil, err 93 | } 94 | err = impl.Comms.ServeHttps(keyPair) 95 | if err != nil { 96 | return nil, err 97 | } 98 | } 99 | 100 | return impl, nil 101 | } 102 | 103 | func NewImplementation(instance *Impl) *clientregistrar.Implementation { 104 | impl := clientregistrar.NewImplementation() 105 | impl.Functions.RegisterUser = func(msg *pb.ClientRegistration) (*pb.SignedClientRegistrationConfirmations, error) { 106 | confirmationMessage, err := instance.RegisterUser(msg) 107 | if err != nil { 108 | jww.ERROR.Printf("RegisterUser error: %+v", err) 109 | } 110 | return confirmationMessage, err 111 | } 112 | return impl 113 | } 114 | -------------------------------------------------------------------------------- /cmd/registration.go: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////////////////////////// 2 | // Copyright © 2022 xx foundation // 3 | // // 4 | // Use of this source code is governed by a license that can be found in the // 5 | // LICENSE file. // 6 | //////////////////////////////////////////////////////////////////////////////// 7 | 8 | // Handles creating client registration callbacks for hooking into comms library 9 | 10 | package cmd 11 | 12 | import ( 13 | "crypto/rand" 14 | "github.com/golang/protobuf/proto" 15 | "github.com/pkg/errors" 16 | jww "github.com/spf13/jwalterweatherman" 17 | "gitlab.com/elixxir/client-registrar/storage" 18 | pb "gitlab.com/elixxir/comms/mixmessages" 19 | "gitlab.com/elixxir/crypto/registration" 20 | "gitlab.com/xx_network/comms/messages" 21 | "time" 22 | ) 23 | 24 | var rateLimitErr = errors.New("Too many client registrations. Try again later") 25 | 26 | // Handle registration attempt by a Client 27 | // Returns rsa signature and error 28 | func (m *Impl) RegisterUser(msg *pb.ClientRegistration) (*pb.SignedClientRegistrationConfirmations, error) { 29 | // Obtain the signed key by passing to registration server 30 | transmissionKey := msg.GetClientTransmissionRSAPubKey() 31 | receptionKey := msg.GetClientReceptionRSAPubKey() 32 | regCode := msg.GetRegistrationCode() 33 | 34 | // Check for pre-existing registration for this public key first 35 | if user, err := m.DB.GetUser(transmissionKey); err == nil && user != nil { 36 | jww.WARN.Printf("Previous registration found for %s", transmissionKey) 37 | } else if regCode != "" { 38 | // Fail early for non-valid reg codes 39 | err = m.DB.UseCode(regCode) 40 | if err != nil { 41 | jww.WARN.Printf("RegisterUser error: %+v", err) 42 | return &pb.SignedClientRegistrationConfirmations{}, err 43 | } 44 | } else { 45 | accepted, _ := m.rl.Add(1) 46 | if regCode == "" && !accepted { 47 | // Rate limited, fail early 48 | jww.WARN.Printf("RegisterUser error: %+v", rateLimitErr) 49 | return &pb.SignedClientRegistrationConfirmations{}, rateLimitErr 50 | } 51 | } 52 | 53 | // Sign the user's transmission and reception key with the time the user's registration was received 54 | regTimestamp := time.Now() 55 | transmissionSig, err := registration.SignWithTimestamp(rand.Reader, m.pk, 56 | regTimestamp.UnixNano(), transmissionKey) 57 | if err != nil { 58 | jww.WARN.Printf("RegisterUser error: can't sign pubkey") 59 | return &pb.SignedClientRegistrationConfirmations{}, errors.Errorf( 60 | "Unable to sign client public key: %+v", err) 61 | } 62 | 63 | receptionSig, err := registration.SignWithTimestamp(rand.Reader, m.pk, 64 | regTimestamp.UnixNano(), receptionKey) 65 | if err != nil { 66 | jww.WARN.Printf("RegisterUser error: can't sign receptionKey") 67 | return &pb.SignedClientRegistrationConfirmations{}, errors.Errorf( 68 | "Unable to sign client reception key: %+v", err) 69 | } 70 | 71 | // Record the user public key for duplicate registration support 72 | err = m.DB.InsertUser(&storage.User{ 73 | PublicKey: transmissionKey, 74 | ReceptionKey: receptionKey, 75 | RegistrationTimestamp: regTimestamp, 76 | }) 77 | if err != nil { 78 | jww.WARN.Printf("Unable to store user: %+v", 79 | errors.New(err.Error())) 80 | } 81 | 82 | // Return signed public key to Client 83 | jww.DEBUG.Printf("RegisterUser for code [%s] complete!", regCode) 84 | 85 | transmissionBytes, err := marshalConfirmationMessage(transmissionKey, regTimestamp) 86 | if err != nil { 87 | return nil, errors.WithMessage(err, "Could not marshal transmission message") 88 | } 89 | 90 | receptionBytes, err := marshalConfirmationMessage(receptionKey, regTimestamp) 91 | if err != nil { 92 | return nil, errors.WithMessage(err, "Could not marshal reception message") 93 | } 94 | 95 | return &pb.SignedClientRegistrationConfirmations{ 96 | ClientTransmissionConfirmation: &pb.SignedRegistrationConfirmation{ 97 | RegistrarSignature: &messages.RSASignature{ 98 | Signature: transmissionSig, 99 | }, 100 | ClientRegistrationConfirmation: transmissionBytes, 101 | }, 102 | ClientReceptionConfirmation: &pb.SignedRegistrationConfirmation{ 103 | RegistrarSignature: &messages.RSASignature{ 104 | Signature: receptionSig, 105 | }, 106 | ClientRegistrationConfirmation: receptionBytes, 107 | }, 108 | }, err 109 | } 110 | 111 | func marshalConfirmationMessage(pubKey string, regTimestamp time.Time) ([]byte, error) { 112 | // Construction transmission message 113 | transmissionConfirmationMsg := &pb.ClientRegistrationConfirmation{ 114 | RSAPubKey: pubKey, 115 | Timestamp: regTimestamp.UnixNano(), 116 | } 117 | 118 | // Marshal transmission message 119 | transmissionBytes, err := proto.Marshal(transmissionConfirmationMsg) 120 | if err != nil { 121 | return nil, errors.Errorf("Failed to marshal message: %v", err) 122 | } 123 | 124 | return transmissionBytes, nil 125 | } 126 | -------------------------------------------------------------------------------- /storage/dbImpl.go: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////////////////////////// 2 | // Copyright © 2022 xx foundation // 3 | // // 4 | // Use of this source code is governed by a license that can be found in the // 5 | // LICENSE file. // 6 | //////////////////////////////////////////////////////////////////////////////// 7 | 8 | package storage 9 | 10 | import ( 11 | "fmt" 12 | "github.com/jinzhu/gorm" 13 | _ "github.com/jinzhu/gorm/dialects/postgres" 14 | "github.com/pkg/errors" 15 | jww "github.com/spf13/jwalterweatherman" 16 | "time" 17 | ) 18 | 19 | // DatabaseImpl struct implementing the Database Interface with an underlying DB 20 | type DatabaseImpl struct { 21 | db *gorm.DB // Stored Database connection 22 | } 23 | 24 | // NewDatabase initializes the database interface with Database backend 25 | // Returns a Storage interface, Close function, and error 26 | func NewDatabase(username, password, database, address, 27 | port string) (Storage, func() error, error) { 28 | 29 | var err error 30 | var db *gorm.DB 31 | //connect to the Database if the correct information is provided 32 | if address != "" && port != "" { 33 | // Create the Database connection 34 | connectString := fmt.Sprintf( 35 | "host=%s port=%s user=%s dbname=%s sslmode=disable", 36 | address, port, username, database) 37 | // Handle empty Database password 38 | if len(password) > 0 { 39 | connectString += fmt.Sprintf(" password=%s", password) 40 | } 41 | db, err = gorm.Open("postgres", connectString) 42 | } 43 | 44 | // Return the map-backend interface 45 | // in the event there is a Database error or information is not provided 46 | if (address == "" || port == "") || err != nil { 47 | 48 | if err != nil { 49 | jww.WARN.Printf("Unable to initialize Database backend: %+v", err) 50 | } else { 51 | jww.WARN.Printf("Database backend connection information not provided") 52 | } 53 | 54 | return NewMap(), func() error { return nil }, nil 55 | } 56 | 57 | // Initialize the Database logger 58 | db.SetLogger(jww.TRACE) 59 | db.LogMode(true) 60 | 61 | // SetMaxIdleConns sets the maximum number of connections in the idle connection pool. 62 | db.DB().SetMaxIdleConns(10) 63 | // SetMaxOpenConns sets the maximum number of open connections to the Database. 64 | db.DB().SetMaxOpenConns(100) 65 | // SetConnMaxLifetime sets the maximum amount of time a connection may be reused. 66 | db.DB().SetConnMaxLifetime(24 * time.Hour) 67 | 68 | // Initialize the Database schema 69 | // WARNING: Order is important. Do not change without Database testing 70 | models := []interface{}{ 71 | &RegistrationCode{}, &User{}, 72 | } 73 | for _, model := range models { 74 | err = db.AutoMigrate(model).Error 75 | if err != nil { 76 | return Storage{}, func() error { return nil }, err 77 | } 78 | } 79 | 80 | jww.INFO.Println("Database backend initialized successfully!") 81 | return Storage{&DatabaseImpl{db: db}}, db.Close, nil 82 | 83 | } 84 | 85 | // InsertClientRegCode inserts client registration code with given number of uses 86 | func (d *DatabaseImpl) InsertClientRegCode(code string, uses int) error { 87 | jww.INFO.Printf("Inserting code %s, %d uses remaining", code, uses) 88 | return d.db.Create(&RegistrationCode{ 89 | Code: code, 90 | RemainingUses: uses, 91 | }).Error 92 | } 93 | 94 | // UseCode decrements reg code uses If client registration code is valid 95 | func (d *DatabaseImpl) UseCode(code string) error { 96 | // Look up given registration code 97 | regCode := RegistrationCode{} 98 | jww.INFO.Printf("Attempting to use code %s...", code) 99 | err := d.db.First(®Code, "code = ?", code).Error 100 | if err != nil { 101 | // Unable to find code, return error 102 | return err 103 | } 104 | 105 | if regCode.RemainingUses < 1 { 106 | // Code has no remaining uses, return error 107 | return errors.Errorf("Code %s has no remaining uses", code) 108 | } 109 | 110 | // Decrement remaining uses by one 111 | regCode.RemainingUses -= 1 112 | err = d.db.Save(®Code).Error 113 | if err != nil { 114 | return err 115 | } 116 | 117 | jww.INFO.Printf("Code %s used, %d uses remaining", code, 118 | regCode.RemainingUses) 119 | return nil 120 | } 121 | 122 | // GetUser gets User from the Database 123 | func (d *DatabaseImpl) GetUser(publicKey string) (*User, error) { 124 | user := &User{} 125 | result := d.db.First(&user, "public_key = ?", publicKey) 126 | return user, result.Error 127 | } 128 | 129 | // InsertUser inserts User into the Database 130 | func (d *DatabaseImpl) InsertUser(user *User) error { 131 | return d.db.Create(user).Error 132 | } 133 | 134 | func (d *DatabaseImpl) UpsertState(key, value string) error { 135 | s := RegistrarState{ 136 | Key: key, 137 | Value: value, 138 | } 139 | if err := d.db.Model(&s).Where("key = ?", key).Update("value", value).Error; err != nil { 140 | if gorm.IsRecordNotFoundError(err) { 141 | return d.db.Create(&s).Error 142 | } 143 | return err 144 | } 145 | return nil 146 | } 147 | 148 | func (d *DatabaseImpl) GetState(key string) (string, error) { 149 | s := &RegistrarState{} 150 | return s.Value, d.db.Find(&s, "key = ?", key).Error 151 | } 152 | -------------------------------------------------------------------------------- /cmd/registration_test.go: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////////////////////////// 2 | // Copyright © 2022 xx foundation // 3 | // // 4 | // Use of this source code is governed by a license that can be found in the // 5 | // LICENSE file. // 6 | //////////////////////////////////////////////////////////////////////////////// 7 | 8 | package cmd 9 | 10 | import ( 11 | "fmt" 12 | jww "github.com/spf13/jwalterweatherman" 13 | "gitlab.com/elixxir/client-registrar/storage" 14 | pb "gitlab.com/elixxir/comms/mixmessages" 15 | "gitlab.com/elixxir/registration/testkeys" 16 | "gitlab.com/xx_network/comms/connect" 17 | "gitlab.com/xx_network/primitives/utils" 18 | "os" 19 | "strconv" 20 | "sync" 21 | "testing" 22 | "time" 23 | ) 24 | 25 | var dblck sync.Mutex 26 | var testParams Params 27 | var nodeKey []byte 28 | var permAddr = "0.0.0.0:5900" 29 | 30 | func TestMain(m *testing.M) { 31 | jww.SetStdoutThreshold(jww.LevelDebug) 32 | 33 | var err error 34 | nodeKey, err = utils.ReadFile(testkeys.GetNodeKeyPath()) 35 | if err != nil { 36 | fmt.Printf("Could not get node key: %+v\n", err) 37 | } 38 | 39 | connect.TestingOnlyDisableTLS = true 40 | 41 | testParams = Params{ 42 | Address: permAddr, 43 | CertPath: testkeys.GetCACertPath(), 44 | KeyPath: testkeys.GetCAKeyPath(), 45 | publicAddress: permAddr, 46 | userRegCapacity: 5, 47 | userRegLeakPeriod: time.Hour, 48 | } 49 | 50 | runFunc := func() int { 51 | code := m.Run() 52 | return code 53 | } 54 | 55 | os.Exit(runFunc()) 56 | } 57 | 58 | // Happy Path: Insert a reg code along with a node 59 | func TestRegCodeExists_RegUser(t *testing.T) { 60 | dblck.Lock() 61 | defer dblck.Unlock() 62 | var err error 63 | db, _, err := storage.NewDatabase("test", 64 | "password", "regCodes", "0.0.0.0", "-1") 65 | if err != nil { 66 | t.Errorf("%+v", err) 67 | } 68 | 69 | // Initialize an implementation and the permissioning server 70 | impl, err := StartRegistrar(testParams, &db) 71 | if err != nil { 72 | t.Errorf("Unable to start: %+v", err) 73 | } 74 | 75 | // Insert regcodes into it 76 | err = db.InsertClientRegCode("AAAA", 100) 77 | if err != nil { 78 | t.Errorf("Failed to insert client reg code %+v", err) 79 | } 80 | 81 | // Attempt to register a user 82 | msg := &pb.ClientRegistration{ 83 | RegistrationCode: "AAAA", 84 | ClientTransmissionRSAPubKey: string(nodeKey), 85 | ClientReceptionRSAPubKey: string(nodeKey), 86 | } 87 | response, err := impl.RegisterUser(msg) 88 | 89 | if err != nil { 90 | t.Errorf("Failed to register a node when it should have worked: %+v", err) 91 | } 92 | 93 | if response.ClientTransmissionConfirmation == nil || response.ClientReceptionConfirmation == nil { 94 | t.Errorf("Failed to sign public key, recieved %+v as a signature & %+v as a receptionSignature", 95 | response.ClientTransmissionConfirmation, response.ClientReceptionConfirmation) 96 | } 97 | impl.Comms.Shutdown() 98 | } 99 | 100 | // Happy Path: Inserts users until the max is reached, waits until the timer has 101 | // cleared the number of allowed registrations and inserts another user. 102 | func TestRegCodeExists_RegUser_Timer(t *testing.T) { 103 | dblck.Lock() 104 | defer dblck.Unlock() 105 | 106 | // Initialize the database 107 | db, _, err := storage.NewDatabase("test", 108 | "password", "regCodes", "0.0.0.0", "-1") 109 | if err != nil { 110 | t.Errorf("%+v", err) 111 | } 112 | 113 | testParams2 := Params{ 114 | Address: "0.0.0.0:5905", 115 | CertPath: testkeys.GetCACertPath(), 116 | KeyPath: testkeys.GetCAKeyPath(), 117 | 118 | publicAddress: "0.0.0.0:5905", 119 | userRegCapacity: 4, 120 | userRegLeakPeriod: 3 * time.Second, 121 | } 122 | 123 | // Start registration server 124 | impl, err := StartRegistrar(testParams2, &db) 125 | if err != nil { 126 | t.Fatal(err.Error()) 127 | } 128 | 129 | for i := 0; i < int(testParams2.userRegCapacity); i++ { 130 | // Attempt to register a user 131 | msg := &pb.ClientRegistration{ 132 | RegistrationCode: "", 133 | ClientTransmissionRSAPubKey: strconv.Itoa(i), 134 | ClientReceptionRSAPubKey: strconv.Itoa(i), 135 | } 136 | _, err = impl.RegisterUser(msg) 137 | if err != nil { 138 | t.Errorf("Failed to register a user when it should have worked: %+v", err) 139 | } 140 | 141 | } 142 | 143 | msg := &pb.ClientRegistration{ 144 | RegistrationCode: "", 145 | ClientTransmissionRSAPubKey: strconv.Itoa(int(testParams2.userRegCapacity)), 146 | ClientReceptionRSAPubKey: strconv.Itoa(int(testParams2.userRegCapacity)), 147 | } 148 | 149 | // Attempt to register a user once capacity has been reached 150 | _, err = impl.RegisterUser(msg) 151 | if err == nil { 152 | t.Errorf("Did not fail to register a user when it should not have worked: %+v", err) 153 | } 154 | 155 | // Attempt to register a user after waiting for capacity to be reset 156 | time.Sleep(testParams2.userRegLeakPeriod) 157 | _, err = impl.RegisterUser(msg) 158 | if err != nil { 159 | t.Errorf("Failed to register a user when it should have worked: %+v", err) 160 | } 161 | 162 | impl.Comms.Shutdown() 163 | } 164 | -------------------------------------------------------------------------------- /storage/mapImpl_test.go: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////////////////////////// 2 | // Copyright © 2022 xx foundation // 3 | // // 4 | // Use of this source code is governed by a license that can be found in the // 5 | // LICENSE file. // 6 | //////////////////////////////////////////////////////////////////////////////// 7 | 8 | package storage 9 | 10 | import ( 11 | "testing" 12 | "time" 13 | ) 14 | 15 | //func TestDatabaseImpl(t *testing.T) { 16 | // db, _, err := NewDatabase("postgres", "", "clientregistrar", "0.0.0.0", "5432") 17 | // if err != nil { 18 | // t.Errorf("Failed to create DB: %+v", err) 19 | // t.FailNow() 20 | // } 21 | // err = db.PopulateClientRegistrationCodes([]string{"AAAAA", "BBBBB", "CCCCC"}, 1) 22 | // if err != nil { 23 | // t.Errorf("Failed to populate reg codes: %+v", err) 24 | // } 25 | // 26 | // err = db.UseCode("AAAAA") 27 | // if err != nil { 28 | // t.Errorf("Failed to use code AAAAA: %+v", err) 29 | // } 30 | // 31 | // err = db.UseCode("AAAAA") 32 | // if err == nil { 33 | // t.Errorf("Should not have been able to use code AAAAA again") 34 | // } 35 | // 36 | // err = db.InsertUser(&User{ 37 | // PublicKey: "pub", 38 | // ReceptionKey: "reception", 39 | // RegistrationTimestamp: time.Now(), 40 | // }) 41 | // if err != nil { 42 | // t.Errorf("Failed to insert user: %+v", err) 43 | // } 44 | // u, err := db.GetUser("pub") 45 | // if err != nil { 46 | // t.Errorf("Failed to get user: %+v", err) 47 | // } 48 | // if u.ReceptionKey != "reception" { 49 | // t.Errorf("Wow somehow you got the wrong user back this shouldn't happen") 50 | // } 51 | //} 52 | 53 | // Happy path 54 | func TestMapImpl_InsertClientRegCode(t *testing.T) { 55 | m := &MapImpl{ 56 | clients: make(map[string]*RegistrationCode), 57 | } 58 | 59 | // Attempt to load in a valid code 60 | code := "TEST" 61 | uses := 100 62 | err := m.InsertClientRegCode(code, uses) 63 | 64 | // Verify the insert was successful 65 | if err != nil || m.clients[code] == nil || m.clients[code]. 66 | RemainingUses != uses { 67 | t.Errorf("Expected to successfully insert client registration code") 68 | } 69 | } 70 | 71 | // Error Path: Duplicate client registration code 72 | func TestMapImpl_InsertClientRegCode_Duplicate(t *testing.T) { 73 | m := &MapImpl{ 74 | clients: make(map[string]*RegistrationCode), 75 | } 76 | 77 | // Load in a registration code 78 | code := "TEST" 79 | uses := 100 80 | m.clients[code] = &RegistrationCode{Code: code} 81 | 82 | // Attempt to load in a duplicate code 83 | err := m.InsertClientRegCode(code, uses) 84 | 85 | // Verify the insert failed 86 | if err == nil { 87 | t.Errorf("Expected to fail inserting duplicate client registration" + 88 | " code") 89 | } 90 | } 91 | 92 | // Happy path 93 | func TestMapImpl_UseCode(t *testing.T) { 94 | m := &MapImpl{ 95 | clients: make(map[string]*RegistrationCode), 96 | } 97 | 98 | // Load in a registration code 99 | code := "TEST" 100 | uses := 100 101 | m.clients[code] = &RegistrationCode{Code: code, RemainingUses: uses} 102 | 103 | // Verify the code was used successfully 104 | err := m.UseCode(code) 105 | if err != nil || m.clients[code].RemainingUses != uses-1 { 106 | t.Errorf("Expected using client registration code to succeed") 107 | } 108 | } 109 | 110 | // Error Path: No remaining uses of client registration code 111 | func TestMapImpl_UseCode_NoRemainingUses(t *testing.T) { 112 | m := &MapImpl{ 113 | clients: make(map[string]*RegistrationCode), 114 | } 115 | 116 | // Load in a registration code 117 | code := "TEST" 118 | uses := 0 119 | m.clients[code] = &RegistrationCode{Code: code, RemainingUses: uses} 120 | 121 | // Verify the code was used successfully 122 | err := m.UseCode(code) 123 | if err == nil { 124 | t.Errorf("Expected using client registration code with no remaining" + 125 | " uses to fail") 126 | } 127 | } 128 | 129 | // Error Path: Invalid client registration code 130 | func TestMapImpl_UseCode_Invalid(t *testing.T) { 131 | m := &MapImpl{ 132 | clients: make(map[string]*RegistrationCode), 133 | } 134 | 135 | // Verify the code was used successfully 136 | err := m.UseCode("TEST") 137 | if err == nil { 138 | t.Errorf("Expected using invalid client registration code with no to" + 139 | " fail") 140 | } 141 | } 142 | 143 | // Happy path 144 | func TestMapImpl_InsertUser(t *testing.T) { 145 | m := &MapImpl{ 146 | users: make(map[string]*User), 147 | } 148 | 149 | testKey := "TEST" 150 | _ = m.InsertUser(&User{ 151 | PublicKey: testKey, 152 | ReceptionKey: testKey, 153 | RegistrationTimestamp: time.Now(), 154 | }) 155 | if _, ok := m.users[testKey]; !ok { 156 | t.Errorf("Insert failed to add the user!") 157 | } 158 | } 159 | 160 | // Happy path 161 | func TestMapImpl_GetUser(t *testing.T) { 162 | m := &MapImpl{ 163 | users: make(map[string]*User), 164 | } 165 | 166 | testKey := "TEST" 167 | m.users[testKey] = &User{ 168 | PublicKey: testKey, 169 | } 170 | 171 | user, err := m.GetUser(testKey) 172 | if err != nil || user.PublicKey != testKey { 173 | t.Errorf("Get failed to get user!") 174 | } 175 | } 176 | 177 | // Get user that does not exist 178 | func TestMapImpl_GetUserNotExists(t *testing.T) { 179 | m := &MapImpl{ 180 | users: make(map[string]*User), 181 | } 182 | 183 | testKey := "TEST" 184 | 185 | _, err := m.GetUser(testKey) 186 | if err == nil { 187 | t.Errorf("Get expected to not find user!") 188 | } 189 | } 190 | 191 | func TestMapImpl_GetState(t *testing.T) { 192 | m := &MapImpl{state: make(map[string]string)} 193 | testVal := "i'm a value" 194 | m.state[BucketUserRegLeakPeriodKey] = testVal 195 | val, err := m.GetState(BucketUserRegLeakPeriodKey) 196 | if err != nil { 197 | t.Errorf("Failed to get state value %s: %+v", BucketUserRegLeakPeriodKey, err) 198 | } else if val != testVal { 199 | t.Errorf("Expected key '%s' to return '%s' but got '%s' instead", BucketUserRegLeakPeriodKey, testVal, val) 200 | } 201 | 202 | val, err = m.GetState(BucketUserRegCapacityKey) 203 | if err == nil { 204 | t.Errorf("Expected an error, but did not receive one") 205 | } 206 | } 207 | 208 | func TestMapImpl_UpsertState(t *testing.T) { 209 | m := &MapImpl{state: make(map[string]string)} 210 | testVal := "i'm a value" 211 | err := m.UpsertState(BucketUserRegCapacityKey, testVal) 212 | if err != nil { 213 | t.Errorf("Failed to upsert state: %+v", err) 214 | } 215 | if m.state[BucketUserRegCapacityKey] != testVal { 216 | t.Errorf("Failed to properly upsert state") 217 | } 218 | } 219 | -------------------------------------------------------------------------------- /cmd/root.go: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////////////////////////// 2 | // Copyright © 2022 xx foundation // 3 | // // 4 | // Use of this source code is governed by a license that can be found in the // 5 | // LICENSE file. // 6 | //////////////////////////////////////////////////////////////////////////////// 7 | 8 | // Package cmd initializes the CLI and config parsers as well as the logger 9 | 10 | package cmd 11 | 12 | import ( 13 | "fmt" 14 | "github.com/mitchellh/go-homedir" 15 | "github.com/spf13/cobra" 16 | jww "github.com/spf13/jwalterweatherman" 17 | "github.com/spf13/viper" 18 | "gitlab.com/elixxir/client-registrar/storage" 19 | "gitlab.com/elixxir/comms/mixmessages" 20 | "gitlab.com/xx_network/primitives/utils" 21 | "net" 22 | "os" 23 | "os/signal" 24 | "path" 25 | "sync/atomic" 26 | "syscall" 27 | "time" 28 | ) 29 | 30 | type Params struct { 31 | Address string 32 | CertPath string 33 | KeyPath string 34 | SignedCertPath string 35 | SignedKeyPath string 36 | userRegCapacity uint32 37 | userRegLeakPeriod time.Duration 38 | publicAddress string 39 | } 40 | 41 | var ( 42 | cfgFile string 43 | logLevel uint // 0 = info, 1 = debug, >1 = trace 44 | noTLS bool 45 | ClientRegCodes []string 46 | ) 47 | 48 | // rootCmd represents the base command when called without any subcommands 49 | var rootCmd = &cobra.Command{ 50 | Use: "client_registrar", 51 | Short: "Runs a registration server for cMix", 52 | Long: `This server provides client registration functions on cMix`, 53 | Args: cobra.NoArgs, 54 | Run: func(cmd *cobra.Command, args []string) { 55 | // Parse config file options 56 | certPath := viper.GetString("certPath") 57 | keyPath := viper.GetString("keyPath") 58 | signedCertPath := viper.GetString("signedCertPath") 59 | signedKeyPath := viper.GetString("signedKeyPath") 60 | 61 | localAddress := fmt.Sprintf("0.0.0.0:%d", viper.GetInt("port")) 62 | ipAddr := viper.GetString("publicAddress") 63 | 64 | publicAddress := fmt.Sprintf("%s:%d", ipAddr, viper.GetInt("port")) 65 | 66 | // Set up database connection 67 | rawAddr := viper.GetString("dbAddress") 68 | 69 | var addr, port string 70 | var err error 71 | if rawAddr != "" { 72 | addr, port, err = net.SplitHostPort(rawAddr) 73 | if err != nil { 74 | jww.FATAL.Panicf("Unable to get database port: %+v", err) 75 | } 76 | } 77 | 78 | db, _, err := storage.NewDatabase( 79 | viper.GetString("dbUsername"), 80 | viper.GetString("dbPassword"), 81 | viper.GetString("dbName"), 82 | addr, 83 | port, 84 | ) 85 | if err != nil { 86 | jww.FATAL.Panicf("Unable to initialize storage: %+v", err) 87 | } 88 | 89 | ClientRegCodes = viper.GetStringSlice("clientRegCodes") 90 | err = db.PopulateClientRegistrationCodes(ClientRegCodes, 1000) 91 | if err != nil { 92 | jww.FATAL.Panicf("Failed to insert client registration codes: %+v", err) 93 | } 94 | 95 | userRegLeakPeriodString := viper.GetString("userRegLeakPeriod") 96 | var userRegLeakPeriod time.Duration 97 | if userRegLeakPeriodString != "" { 98 | // specified, so try to parse 99 | userRegLeakPeriod, err = time.ParseDuration(userRegLeakPeriodString) 100 | if err != nil { 101 | jww.FATAL.Panicf("Could not parse duration: %+v", err) 102 | } 103 | } else { 104 | // use default 105 | userRegLeakPeriod = time.Hour * 24 106 | } 107 | userRegCapacity := viper.GetUint32("userRegCapacity") 108 | if userRegCapacity == 0 { 109 | // use default 110 | userRegCapacity = 1000 111 | } 112 | 113 | viper.SetDefault("addressSpace", 5) 114 | 115 | // Populate params 116 | params := Params{ 117 | Address: localAddress, 118 | CertPath: certPath, 119 | KeyPath: keyPath, 120 | SignedCertPath: signedCertPath, 121 | SignedKeyPath: signedKeyPath, 122 | publicAddress: publicAddress, 123 | userRegCapacity: userRegCapacity, 124 | userRegLeakPeriod: userRegLeakPeriod, 125 | } 126 | 127 | jww.INFO.Println("Starting client registration Server...") 128 | 129 | // Start registration server 130 | impl, err := StartRegistrar(params, &db) 131 | if err != nil { 132 | jww.FATAL.Panicf(err.Error()) 133 | } 134 | 135 | // Block forever on Signal Handler for safe program exit 136 | stopCh := ReceiveExitSignal() 137 | 138 | // Block forever to prevent the program ending 139 | // Block until a signal is received, then call the function 140 | // provided 141 | select { 142 | case <-stopCh: 143 | jww.INFO.Printf( 144 | "Received Exit (SIGTERM or SIGINT) signal...\n") 145 | if atomic.LoadUint32(impl.Stopped) != 1 { 146 | os.Exit(-1) 147 | } 148 | } 149 | }, 150 | } 151 | 152 | // Execute adds all child commands to the root command and sets flags 153 | // appropriately. This is called by main.main(). It only needs to 154 | // happen once to the rootCmd. 155 | func Execute() { 156 | if err := rootCmd.Execute(); err != nil { 157 | jww.ERROR.Println(err) 158 | os.Exit(1) 159 | } 160 | } 161 | 162 | // init is the initialization function for Cobra which defines commands 163 | // and flags. 164 | func init() { 165 | // NOTE: The point of init() is to be declarative. 166 | // There is one init in each sub command. Do not put variable declarations 167 | // here, and ensure all the Flags are of the *P variety, unless there's a 168 | // very good reason not to have them as local params to sub command." 169 | cobra.OnInitialize(initConfig, initLog) 170 | 171 | // Here you will define your flags and configuration settings. 172 | // Cobra supports persistent flags, which, if defined here, 173 | // will be global for your application. 174 | rootCmd.Flags().UintVarP(&logLevel, "logLevel", "l", 1, 175 | "Level of debugging to display. 0 = info, 1 = debug, >1 = trace") 176 | 177 | rootCmd.Flags().StringVarP(&cfgFile, "config", "c", 178 | "", "Sets a custom config file path") 179 | 180 | rootCmd.Flags().BoolVar(&noTLS, "noTLS", false, 181 | "Runs without TLS enabled") 182 | 183 | rootCmd.Flags().StringP("close-timeout", "t", "60s", 184 | "Amount of time to wait for rounds to stop running after"+ 185 | " receiving the SIGUSR1 and SIGTERM signals") 186 | 187 | rootCmd.Flags().StringP("kill-timeout", "k", "60s", 188 | "Amount of time to wait for round creation to stop after"+ 189 | " receiving the SIGUSR2 and SIGTERM signals") 190 | 191 | err := viper.BindPFlag("closeTimeout", 192 | rootCmd.Flags().Lookup("close-timeout")) 193 | if err != nil { 194 | jww.FATAL.Panicf("could not bind flag: %+v", err) 195 | } 196 | } 197 | 198 | // initConfig reads in config file and ENV variables if set. 199 | func initConfig() { 200 | // Use default config location if none is passed 201 | if cfgFile == "" { 202 | // Find home directory. 203 | home, err := homedir.Dir() 204 | if err != nil { 205 | jww.ERROR.Println(err) 206 | os.Exit(1) 207 | } 208 | 209 | cfgFile = home + "/.elixxir/registration.yaml" 210 | 211 | } 212 | 213 | validConfig := true 214 | f, err := os.Open(cfgFile) 215 | if err != nil { 216 | jww.ERROR.Printf("Unable to open config file (%s): %+v", cfgFile, err) 217 | validConfig = false 218 | } 219 | _, err = f.Stat() 220 | if err != nil { 221 | jww.ERROR.Printf("Invalid config file (%s): %+v", cfgFile, err) 222 | validConfig = false 223 | } 224 | err = f.Close() 225 | if err != nil { 226 | jww.ERROR.Printf("Unable to close config file (%s): %+v", cfgFile, err) 227 | validConfig = false 228 | } 229 | 230 | // Set the config file if it is valid 231 | if validConfig { 232 | // Set the config path to the directory containing the config file 233 | // This may increase the reliability of the config watching, somewhat 234 | cfgDir, _ := path.Split(cfgFile) 235 | viper.AddConfigPath(cfgDir) 236 | 237 | viper.SetConfigFile(cfgFile) 238 | viper.AutomaticEnv() // read in environment variables that match 239 | 240 | // If a config file is found, read it in. 241 | if err := viper.ReadInConfig(); err != nil { 242 | jww.ERROR.Printf("Unable to parse config file (%s): %+v", cfgFile, err) 243 | validConfig = false 244 | } 245 | viper.WatchConfig() 246 | } 247 | } 248 | 249 | // initLog initializes logging thresholds and the log path. 250 | func initLog() { 251 | if viper.Get("logPath") != nil { 252 | vipLogLevel := viper.GetUint("logLevel") 253 | 254 | // Check the level of logs to display 255 | if vipLogLevel > 1 { 256 | // Set the GRPC log level 257 | err := os.Setenv("GRPC_GO_LOG_SEVERITY_LEVEL", "info") 258 | if err != nil { 259 | jww.ERROR.Printf("Could not set GRPC_GO_LOG_SEVERITY_LEVEL: %+v", err) 260 | } 261 | 262 | err = os.Setenv("GRPC_GO_LOG_VERBOSITY_LEVEL", "99") 263 | if err != nil { 264 | jww.ERROR.Printf("Could not set GRPC_GO_LOG_VERBOSITY_LEVEL: %+v", err) 265 | } 266 | // Turn on trace logs 267 | jww.SetLogThreshold(jww.LevelTrace) 268 | jww.SetStdoutThreshold(jww.LevelTrace) 269 | mixmessages.TraceMode() 270 | } else if vipLogLevel == 1 { 271 | // Turn on debugging logs 272 | jww.SetLogThreshold(jww.LevelDebug) 273 | jww.SetStdoutThreshold(jww.LevelDebug) 274 | mixmessages.DebugMode() 275 | } else { 276 | // Turn on info logs 277 | jww.SetLogThreshold(jww.LevelInfo) 278 | jww.SetStdoutThreshold(jww.LevelInfo) 279 | } 280 | 281 | // Create log file, overwrites if existing 282 | logPath := viper.GetString("logPath") 283 | fullLogPath, _ := utils.ExpandPath(logPath) 284 | logFile, err := os.OpenFile(fullLogPath, 285 | os.O_CREATE|os.O_WRONLY|os.O_APPEND, 286 | 0644) 287 | if err != nil { 288 | jww.WARN.Println("Invalid or missing log path, default path used.") 289 | } else { 290 | jww.SetLogOutput(logFile) 291 | } 292 | } 293 | } 294 | 295 | // ReceiveExitSignal signals a stop chan when it receives 296 | // SIGTERM or SIGINT 297 | func ReceiveExitSignal() chan os.Signal { 298 | // Set up channel on which to send signal notifications. 299 | // We must use a buffered channel or risk missing the signal 300 | // if we're not ready to receive when the signal is sent. 301 | c := make(chan os.Signal, 1) 302 | signal.Notify(c, syscall.SIGINT, syscall.SIGTERM) 303 | return c 304 | } 305 | -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- 1 | cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= 2 | cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= 3 | cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= 4 | cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= 5 | cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= 6 | cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= 7 | cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= 8 | cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= 9 | cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= 10 | cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= 11 | cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= 12 | cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= 13 | dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= 14 | git.xx.network/elixxir/grpc-web-go-client v0.0.0-20230214175953-5b5a8c33d28a h1:EXdZNQOdPvlYiozavgwEk9V5WZhh3AneDqiIGbjFkoo= 15 | git.xx.network/elixxir/grpc-web-go-client v0.0.0-20230214175953-5b5a8c33d28a/go.mod h1:uFKw2wmgtlYMdiIm08dM0Vj4XvX9ZKVCj71c8O7SAPo= 16 | github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= 17 | github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= 18 | github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= 19 | github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= 20 | github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= 21 | github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= 22 | github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= 23 | github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= 24 | github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= 25 | github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= 26 | github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= 27 | github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= 28 | github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= 29 | github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= 30 | github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= 31 | github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= 32 | github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= 33 | github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= 34 | github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= 35 | github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6lCRdSC2Tm3DSWRPvIPr6xNKyeHdqDQSQT+A= 36 | github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= 37 | github.com/aws/aws-sdk-go v1.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= 38 | github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= 39 | github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= 40 | github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= 41 | github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= 42 | github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= 43 | github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= 44 | github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= 45 | github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= 46 | github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= 47 | github.com/cenkalti/backoff/v4 v4.1.3 h1:cFAlzYUlVYDysBEH2T5hyJZMh3+5+WCBvSnK6Q8UtC4= 48 | github.com/cenkalti/backoff/v4 v4.1.3/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= 49 | github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= 50 | github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= 51 | github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= 52 | github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4dUb/I5gc9Hdhagfvm9+RyrPryS/auMzxE= 53 | github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= 54 | github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= 55 | github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= 56 | github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= 57 | github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= 58 | github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= 59 | github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= 60 | github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= 61 | github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= 62 | github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= 63 | github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= 64 | github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= 65 | github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= 66 | github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= 67 | github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= 68 | github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 69 | github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= 70 | github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 71 | github.com/denisenkom/go-mssqldb v0.0.0-20191124224453-732737034ffd/go.mod h1:xbL0rPBG9cCiLr28tMa8zpbdarY27NDyej4t/EjAShU= 72 | github.com/denisenkom/go-mssqldb v0.0.0-20200428022330-06a60b6afbbc h1:VRRKCwnzqk8QCaRC4os14xoKDdbHqqlJtJA0oc1ZAjg= 73 | github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f h1:U5y3Y5UE0w7amNe7Z5G/twsBW0KEalRQXZzf8ufSh9I= 74 | github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f/go.mod h1:xH/i4TFMt8koVQZ6WFms69WAsDWr2XsYL3Hkl7jkoLE= 75 | github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= 76 | github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= 77 | github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= 78 | github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= 79 | github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= 80 | github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= 81 | github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= 82 | github.com/envoyproxy/go-control-plane v0.6.9/go.mod h1:SBwIajubJHhxtWwsL9s8ss4safvEdbitLhGGK48rN6g= 83 | github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= 84 | github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= 85 | github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= 86 | github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= 87 | github.com/erikstmartin/go-testdb v0.0.0-20160219214506-8d10e4a1bae5 h1:Yzb9+7DPaBjB8zlTR87/ElzFsnQfuHnVUVqpZZIcV5Y= 88 | github.com/erikstmartin/go-testdb v0.0.0-20160219214506-8d10e4a1bae5/go.mod h1:a2zkGnVExMxdzMo3M0Hi/3sEU+cWnZpSni0O6/Yb/P0= 89 | github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= 90 | github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4= 91 | github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20= 92 | github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= 93 | github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4= 94 | github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= 95 | github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= 96 | github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= 97 | github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= 98 | github.com/gin-gonic/gin v1.6.3 h1:ahKqKTFpO5KTPHxWZjEdPScmYaGtLo8Y4DMHoEsnp14= 99 | github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= 100 | github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= 101 | github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= 102 | github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= 103 | github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= 104 | github.com/go-kit/kit v0.10.0/go.mod h1:xUsJbQ/Fp4kEt7AFgCuvyX4a71u8h9jB8tj/ORgOZ7o= 105 | github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= 106 | github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= 107 | github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= 108 | github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= 109 | github.com/go-playground/locales v0.13.0 h1:HyWk6mgj5qFqCT5fjGBuRArbVDfE4hi8+e8ceBS/t7Q= 110 | github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= 111 | github.com/go-playground/universal-translator v0.17.0 h1:icxd5fm+REJzpZx7ZfpaD876Lmtgy7VtROAbHHXk8no= 112 | github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA= 113 | github.com/go-playground/validator/v10 v10.2.0 h1:KgJ0snyC2R9VXYN2rneOtQcw5aHQB1Vv0sFl1UcHBOY= 114 | github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI= 115 | github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= 116 | github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= 117 | github.com/go-sql-driver/mysql v1.5.0 h1:ozyZYNQW3x3HtqT1jira07DN2PArx2v7/mN66gGcHOs= 118 | github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= 119 | github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee h1:s+21KNqlpePfkah2I+gwHF8xmJWRjooY+5248k6m4A0= 120 | github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo= 121 | github.com/gobwas/pool v0.2.0 h1:QEmUOlnSjWtnpRGHF3SauEiOsy82Cup83Vf2LcMlnc8= 122 | github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= 123 | github.com/gobwas/ws v1.0.2 h1:CoAavW/wd/kulfZmSIBt6p24n4j7tHgNVCjsfHVNUbo= 124 | github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM= 125 | github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s= 126 | github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= 127 | github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= 128 | github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= 129 | github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe h1:lXe2qZdvpiX5WZkZR4hgp4KJVfY3nMkvmwbVkpv1rVY= 130 | github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= 131 | github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= 132 | github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= 133 | github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= 134 | github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= 135 | github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= 136 | github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= 137 | github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= 138 | github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= 139 | github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= 140 | github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= 141 | github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= 142 | github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= 143 | github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= 144 | github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= 145 | github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= 146 | github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= 147 | github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= 148 | github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= 149 | github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= 150 | github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= 151 | github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= 152 | github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= 153 | github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= 154 | github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= 155 | github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= 156 | github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= 157 | github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= 158 | github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= 159 | github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= 160 | github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 161 | github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 162 | github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 163 | github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= 164 | github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= 165 | github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= 166 | github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= 167 | github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= 168 | github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= 169 | github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= 170 | github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= 171 | github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= 172 | github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= 173 | github.com/gopherjs/gopherjs v0.0.0-20200217142428-fce0ec30dd00 h1:l5lAOZEym3oK3SQ2HBHWsJUfbNBiTXJDeW2QDxw9AQ0= 174 | github.com/gopherjs/gopherjs v0.0.0-20200217142428-fce0ec30dd00/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= 175 | github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= 176 | github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= 177 | github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= 178 | github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= 179 | github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= 180 | github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= 181 | github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= 182 | github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= 183 | github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= 184 | github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= 185 | github.com/grpc-ecosystem/go-grpc-middleware v1.2.2/go.mod h1:EaizFBKfUKtMIF5iaDEhniwNedqGo9FuLFzppDr3uwI= 186 | github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= 187 | github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= 188 | github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= 189 | github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= 190 | github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE= 191 | github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= 192 | github.com/hashicorp/consul/sdk v0.3.0/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= 193 | github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= 194 | github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= 195 | github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= 196 | github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= 197 | github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= 198 | github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= 199 | github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= 200 | github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= 201 | github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= 202 | github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= 203 | github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= 204 | github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= 205 | github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= 206 | github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= 207 | github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= 208 | github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= 209 | github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= 210 | github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= 211 | github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= 212 | github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= 213 | github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= 214 | github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg= 215 | github.com/improbable-eng/grpc-web v0.15.0 h1:BN+7z6uNXZ1tQGcNAuaU1YjsLTApzkjt2tzCixLaUPQ= 216 | github.com/improbable-eng/grpc-web v0.15.0/go.mod h1:1sy9HKV4Jt9aEs9JSnkWlRJPuPtwNr0l57L4f878wP8= 217 | github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= 218 | github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= 219 | github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= 220 | github.com/jinzhu/gorm v1.9.12 h1:Drgk1clyWT9t9ERbzHza6Mj/8FY/CqMyVzOiHviMo6Q= 221 | github.com/jinzhu/gorm v1.9.12/go.mod h1:vhTjlKSJUTWNtcbQtrMBFCxy7eXTzeCAzfL5fBZT/Qs= 222 | github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E= 223 | github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= 224 | github.com/jinzhu/now v1.0.1/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= 225 | github.com/jinzhu/now v1.1.2 h1:eVKgfIdy9b6zbWBMgFpfDPoAMifwSZagU9HmEU6zgiI= 226 | github.com/jinzhu/now v1.1.2/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= 227 | github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= 228 | github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= 229 | github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= 230 | github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= 231 | github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= 232 | github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= 233 | github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= 234 | github.com/json-iterator/go v1.1.10 h1:Kz6Cvnvv2wGdaG/V8yMvfkmNiXq9Ya2KUv4rouJJr68= 235 | github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= 236 | github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= 237 | github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo= 238 | github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= 239 | github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= 240 | github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= 241 | github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= 242 | github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= 243 | github.com/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= 244 | github.com/klauspost/compress v1.11.7 h1:0hzRabrMN4tSTvMfnL3SCv1ZGeAP23ynzodBgaHeMeg= 245 | github.com/klauspost/compress v1.11.7/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= 246 | github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= 247 | github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= 248 | github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= 249 | github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= 250 | github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= 251 | github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= 252 | github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= 253 | github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= 254 | github.com/ktr0731/grpc-test v0.1.12 h1:Yha+zH2hB48huOfbsEMfyG7FeHCrVWq4fYmHfr3iH3U= 255 | github.com/ktr0731/grpc-web-go-client v0.2.8 h1:nUf9p+YWirmFwmH0mwtAWhuXvzovc+/3C/eAY2Fshnk= 256 | github.com/leodido/go-urn v1.2.0 h1:hpXL4XnriNwQ/ABnpepYM/1vCLWNDfUNts8dX3xTG6Y= 257 | github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= 258 | github.com/lib/pq v1.1.1/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= 259 | github.com/lib/pq v1.10.2 h1:AqzbZs4ZoCBp+GtejcpCpcxM3zlSMx29dXbUSeVtJb8= 260 | github.com/lib/pq v1.10.2/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= 261 | github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= 262 | github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= 263 | github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= 264 | github.com/magiconair/properties v1.8.1 h1:ZC2Vc7/ZFkGmsVC9KvOjumD+G5lXy2RtTKyzRKO2BQ4= 265 | github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= 266 | github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= 267 | github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= 268 | github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= 269 | github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= 270 | github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= 271 | github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= 272 | github.com/mattn/go-sqlite3 v2.0.1+incompatible/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= 273 | github.com/mattn/go-sqlite3 v2.0.3+incompatible h1:gXHsfypPkaMZrKbD5209QV9jbUTJKjyR5WD3HYQSd+U= 274 | github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= 275 | github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= 276 | github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= 277 | github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= 278 | github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= 279 | github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= 280 | github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= 281 | github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= 282 | github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= 283 | github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= 284 | github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= 285 | github.com/mitchellh/mapstructure v1.4.1 h1:CpVNEelQCZBooIPDn+AR3NpivK/TIKU8bDxdASFVQag= 286 | github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= 287 | github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= 288 | github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= 289 | github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= 290 | github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= 291 | github.com/modern-go/reflect2 v1.0.1 h1:9f412s+6RmYXLWZSEzVVgPGK7C2PphHj5RJrvfx9AWI= 292 | github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= 293 | github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= 294 | github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f h1:KUppIJq7/+SVif2QVs3tOP0zanoHgBEVAwHxUSIzRqU= 295 | github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= 296 | github.com/mwitkow/grpc-proxy v0.0.0-20181017164139-0f1106ef9c76/go.mod h1:x5OoJHDHqxHS801UIuhqGl6QdSAEJvtausosHSdazIo= 297 | github.com/nats-io/jwt v0.3.0/go.mod h1:fRYCDE99xlTsqUzISS1Bi75UBJ6ljOJQOAAu5VglpSg= 298 | github.com/nats-io/jwt v0.3.2/go.mod h1:/euKqTS1ZD+zzjYrY7pseZrTtWQSjujC7xjPc8wL6eU= 299 | github.com/nats-io/nats-server/v2 v2.1.2/go.mod h1:Afk+wRZqkMQs/p45uXdrVLuab3gwv3Z8C4HTBu8GD/k= 300 | github.com/nats-io/nats.go v1.9.1/go.mod h1:ZjDU1L/7fJ09jvUSRVBR2e7+RnLiiIQyqyzEE/Zbp4w= 301 | github.com/nats-io/nkeys v0.1.0/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= 302 | github.com/nats-io/nkeys v0.1.3/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= 303 | github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= 304 | github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= 305 | github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= 306 | github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= 307 | github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= 308 | github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= 309 | github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= 310 | github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= 311 | github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= 312 | github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492/go.mod h1:Ngi6UdF0k5OKD5t5wlmGhe/EDKPoUM3BXZSSfIuJbis= 313 | github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74= 314 | github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= 315 | github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= 316 | github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5/go.mod h1:/wsWhb9smxSfWAKL3wpBW7V8scJMt8N8gnaMCS9E/cA= 317 | github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw= 318 | github.com/openzipkin/zipkin-go v0.2.1/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= 319 | github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= 320 | github.com/pact-foundation/pact-go v1.0.4/go.mod h1:uExwJY4kCzNPcHRj+hCR/HBbOOIwwtUjcrb0b5/5kLM= 321 | github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= 322 | github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= 323 | github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= 324 | github.com/pelletier/go-toml v1.7.0 h1:7utD74fnzVc/cpcyy8sjrlFr5vYpypUixARcHIMIGuI= 325 | github.com/pelletier/go-toml v1.7.0/go.mod h1:vwGMzjaWMwyfHwgIBhI2YUM4fB6nL6lVAvS1LBMMhTE= 326 | github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= 327 | github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= 328 | github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= 329 | github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= 330 | github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= 331 | github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= 332 | github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= 333 | github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= 334 | github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= 335 | github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= 336 | github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= 337 | github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= 338 | github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs= 339 | github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= 340 | github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= 341 | github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og= 342 | github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= 343 | github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= 344 | github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= 345 | github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= 346 | github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= 347 | github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= 348 | github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= 349 | github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= 350 | github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= 351 | github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= 352 | github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= 353 | github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= 354 | github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= 355 | github.com/prometheus/common v0.15.0/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s= 356 | github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= 357 | github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= 358 | github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= 359 | github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= 360 | github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= 361 | github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= 362 | github.com/prometheus/procfs v0.3.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= 363 | github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= 364 | github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= 365 | github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= 366 | github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= 367 | github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= 368 | github.com/rs/cors v1.8.2 h1:KCooALfAYGs415Cwu5ABvv9n9509fSiG5SQJn/AQo4U= 369 | github.com/rs/cors v1.8.2/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= 370 | github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= 371 | github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= 372 | github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= 373 | github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= 374 | github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= 375 | github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= 376 | github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= 377 | github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= 378 | github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= 379 | github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= 380 | github.com/smartystreets/assertions v1.1.0 h1:MkTeG1DMwsrdH7QtLXy5W+fUxWq+vmb6cLmyJ7aRtF0= 381 | github.com/smartystreets/goconvey v1.6.4 h1:fv0U8FUIMPNf1L9lnHLvLhgicrIVChEkdzIKYqbNC9s= 382 | github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= 383 | github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= 384 | github.com/soheilhy/cmux v0.1.5 h1:jjzc5WVemNEDTLwv9tlmemhC73tI08BNOIGwBOo10Js= 385 | github.com/soheilhy/cmux v0.1.5/go.mod h1:T7TcVDs9LWfQgPlPsdngu6I6QIoyIFZDDC6sNE1GqG0= 386 | github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= 387 | github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= 388 | github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= 389 | github.com/spf13/afero v1.2.2 h1:5jhuqJyZCZf2JRofRvN/nIFgIWNzPa3/Vz8mYylgbWc= 390 | github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= 391 | github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= 392 | github.com/spf13/cast v1.3.1 h1:nFm6S0SMdyzrzcmThSipiEubIDy8WEXKNZ0UOgiRpng= 393 | github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= 394 | github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= 395 | github.com/spf13/cobra v1.1.3 h1:xghbfqPkxzxP3C/f3n5DdpAbdKLj4ZE4BWQI362l53M= 396 | github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo= 397 | github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= 398 | github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= 399 | github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= 400 | github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= 401 | github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= 402 | github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= 403 | github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= 404 | github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= 405 | github.com/spf13/viper v1.7.1 h1:pM5oEahlgWv/WnHXpgbKz7iLIxRf65tye2Ci+XFK5sk= 406 | github.com/spf13/viper v1.7.1/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= 407 | github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= 408 | github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= 409 | github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= 410 | github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= 411 | github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= 412 | github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= 413 | github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= 414 | github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= 415 | github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= 416 | github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= 417 | github.com/subosito/gotenv v1.2.0 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s= 418 | github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= 419 | github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= 420 | github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= 421 | github.com/ugorji/go v1.1.7 h1:/68gy2h+1mWMrwZFeD1kQialdSzAb432dtpeJ42ovdo= 422 | github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= 423 | github.com/ugorji/go/codec v1.1.7 h1:2SvQaVZ1ouYrrKKwoSk2pzd4A9evlKJb9oTL+OaLUSs= 424 | github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY= 425 | github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= 426 | github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= 427 | github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= 428 | gitlab.com/elixxir/comms v0.0.4-0.20230214180204-3aba2e6795af h1:Eye4+gZEUbOfz4j51WplYD9d7Gnr1s3wKYkEnCfhPaw= 429 | gitlab.com/elixxir/comms v0.0.4-0.20230214180204-3aba2e6795af/go.mod h1:ud3s2aHx5zu7lJhBpUMUXxjLwl8PH8z8cl64Om9U7q8= 430 | gitlab.com/elixxir/crypto v0.0.7-0.20230214180106-72841fd1e426 h1:O9Xz/ioc9NAj5k/QUsR0W4LCz2uVHawJF89yPTI7NXk= 431 | gitlab.com/elixxir/crypto v0.0.7-0.20230214180106-72841fd1e426/go.mod h1:kv2nXmOnElsW8V3Yi1VqUUfaSv63mqp9w4ns3sxZO20= 432 | gitlab.com/elixxir/primitives v0.0.3-0.20230214180039-9a25e2d3969c h1:muG8ff95woeVVwQoJHCEclxBFB22lc7EixPylEkYDRU= 433 | gitlab.com/elixxir/primitives v0.0.3-0.20230214180039-9a25e2d3969c/go.mod h1:phun4PLkHJA6wcL4JIhhxZztrmCyJHWPNppBP3DUD2Y= 434 | gitlab.com/elixxir/registration v1.5.1-0.20230214180353-100b1af9f82d h1:0m1Un8hB+PhvjWBmQ/n++IBGcLkEqjPdfDDhlSb9nDM= 435 | gitlab.com/elixxir/registration v1.5.1-0.20230214180353-100b1af9f82d/go.mod h1:RfoWRe7/WWk331OScZJ1h30oIoafOVKZZL+T+ybcnWI= 436 | gitlab.com/xx_network/comms v0.0.4-0.20230214180029-5387fb85736d h1:AZf2h0fxyO1KxhZPP9//jG3Swb2BcuKbxtNXJgooLss= 437 | gitlab.com/xx_network/comms v0.0.4-0.20230214180029-5387fb85736d/go.mod h1:8cwPyH6G8C4qf/U5KDghn1ksOh79MrNqthjKDrfvbXY= 438 | gitlab.com/xx_network/crypto v0.0.5-0.20230214003943-8a09396e95dd h1:IleH6U5D/c2zF6YL/z3cBKqBPnI5ApNMCtU7ia4t228= 439 | gitlab.com/xx_network/crypto v0.0.5-0.20230214003943-8a09396e95dd/go.mod h1:PPPaFoY5Ze1qft9D0a24UHAwlvWEc2GbraihXvKYkf4= 440 | gitlab.com/xx_network/primitives v0.0.4-0.20230203173415-81c2cb07da44 h1:vNm76SCeKZiCaVL0rCIcqDxMzSVL50g3XO6dQYN8r3Q= 441 | gitlab.com/xx_network/primitives v0.0.4-0.20230203173415-81c2cb07da44/go.mod h1:wUxbEBGOBJZ/RkAiVAltlC1uIlIrU0dE113Nq7HiOhw= 442 | go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= 443 | go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= 444 | go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= 445 | go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= 446 | go.opencensus.io v0.20.2/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= 447 | go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= 448 | go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= 449 | go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= 450 | go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= 451 | go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= 452 | go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= 453 | go.uber.org/atomic v1.10.0 h1:9qC72Qh0+3MqyJbAn8YU5xVq1frD8bn3JtD2oXtafVQ= 454 | go.uber.org/atomic v1.10.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= 455 | go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= 456 | go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= 457 | go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= 458 | go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= 459 | go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= 460 | golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= 461 | golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= 462 | golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= 463 | golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= 464 | golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= 465 | golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= 466 | golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= 467 | golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= 468 | golang.org/x/crypto v0.0.0-20191205180655-e7c4368fe9dd/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= 469 | golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= 470 | golang.org/x/crypto v0.5.0 h1:U/0M97KRkSFvyD/3FSmdP5W5swImpNgle/EHFhOsQPE= 471 | golang.org/x/crypto v0.5.0/go.mod h1:NK/OQwhpMQP3MwtdjgLlYHnH9ebylxKWv3e0fK+mkQU= 472 | golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= 473 | golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= 474 | golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= 475 | golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= 476 | golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= 477 | golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5/go.mod h1:4M0jN8W1tt0AVLNr8HDosyJCDCDuyL9N9+3m7wDWgKw= 478 | golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= 479 | golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= 480 | golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= 481 | golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= 482 | golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= 483 | golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= 484 | golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= 485 | golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= 486 | golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= 487 | golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= 488 | golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= 489 | golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= 490 | golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= 491 | golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= 492 | golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= 493 | golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 494 | golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 495 | golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 496 | golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 497 | golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 498 | golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 499 | golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 500 | golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 501 | golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 502 | golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 503 | golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 504 | golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 505 | golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 506 | golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 507 | golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= 508 | golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 509 | golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 510 | golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 511 | golang.org/x/net v0.0.0-20200421231249-e086a090c8fd/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= 512 | golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= 513 | golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= 514 | golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= 515 | golang.org/x/net v0.5.0 h1:GyT4nK/YDHSqa1c4753ouYCDajOYKTja9Xb/OHtgvSw= 516 | golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= 517 | golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= 518 | golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= 519 | golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= 520 | golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 521 | golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 522 | golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 523 | golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 524 | golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 525 | golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 526 | golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 527 | golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 528 | golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 529 | golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 530 | golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 531 | golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 532 | golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 533 | golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 534 | golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 535 | golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 536 | golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 537 | golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 538 | golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 539 | golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 540 | golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 541 | golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 542 | golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 543 | golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 544 | golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 545 | golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 546 | golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 547 | golang.org/x/sys v0.0.0-20191220142924-d4481acd189f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 548 | golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 549 | golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 550 | golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 551 | golang.org/x/sys v0.0.0-20200420163511-1957bb5e6d1f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 552 | golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 553 | golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 554 | golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 555 | golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 556 | golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 557 | golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 558 | golang.org/x/sys v0.4.0 h1:Zr2JFtRQNX3BCZ8YtxRE9hNJYC8J6I1MVbMg6owUp18= 559 | golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 560 | golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= 561 | golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= 562 | golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= 563 | golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= 564 | golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= 565 | golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= 566 | golang.org/x/text v0.6.0 h1:3XmdazWV+ubf7QgHSTWeykHOci5oeekaGJBLkrkaw4k= 567 | golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= 568 | golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= 569 | golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= 570 | golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= 571 | golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= 572 | golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= 573 | golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= 574 | golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= 575 | golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= 576 | golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= 577 | golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= 578 | golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= 579 | golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= 580 | golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= 581 | golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= 582 | golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= 583 | golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= 584 | golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= 585 | golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= 586 | golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= 587 | golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 588 | golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 589 | golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 590 | golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 591 | golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 592 | golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 593 | golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 594 | golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 595 | golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 596 | golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 597 | golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 598 | golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 599 | google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= 600 | google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= 601 | google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= 602 | google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= 603 | google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= 604 | google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= 605 | google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= 606 | google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= 607 | google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= 608 | google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= 609 | google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= 610 | google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= 611 | google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= 612 | google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= 613 | google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= 614 | google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= 615 | google.golang.org/genproto v0.0.0-20190530194941-fb225487d101/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= 616 | google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= 617 | google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= 618 | google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= 619 | google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 620 | google.golang.org/genproto v0.0.0-20200423170343-7949de9c1215/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 621 | google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= 622 | google.golang.org/genproto v0.0.0-20210126160654-44e461bb6506/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= 623 | google.golang.org/genproto v0.0.0-20220822174746-9e6da59bd2fc h1:Nf+EdcTLHR8qDNN/KfkQL0u0ssxt9OhbaWCl5C0ucEI= 624 | google.golang.org/genproto v0.0.0-20220822174746-9e6da59bd2fc/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= 625 | google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= 626 | google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= 627 | google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM= 628 | google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= 629 | google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= 630 | google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= 631 | google.golang.org/grpc v1.22.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= 632 | google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= 633 | google.golang.org/grpc v1.23.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= 634 | google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= 635 | google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= 636 | google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= 637 | google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= 638 | google.golang.org/grpc v1.32.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= 639 | google.golang.org/grpc v1.49.0 h1:WTLtQzmQori5FUH25Pq4WT22oCsv8USpQ+F6rqtsmxw= 640 | google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= 641 | google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= 642 | google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= 643 | google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= 644 | google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= 645 | google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= 646 | google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= 647 | google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= 648 | google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= 649 | google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= 650 | google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= 651 | google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= 652 | google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= 653 | google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w= 654 | google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= 655 | gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= 656 | gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 657 | gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 658 | gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= 659 | gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 660 | gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= 661 | gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= 662 | gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= 663 | gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= 664 | gopkg.in/ini.v1 v1.51.0 h1:AQvPpx3LzTDM0AjnIRlVFwFFGC+npRopjZxLJj6gdno= 665 | gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= 666 | gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= 667 | gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= 668 | gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= 669 | gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= 670 | gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 671 | gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 672 | gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 673 | gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 674 | gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 675 | gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 676 | gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= 677 | gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= 678 | gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= 679 | gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= 680 | gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= 681 | honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 682 | honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 683 | honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 684 | honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 685 | honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 686 | honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= 687 | nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= 688 | nhooyr.io/websocket v1.8.7 h1:usjR2uOr/zjjkVMy0lW+PPohFok7PCow5sDjLgX4P4g= 689 | nhooyr.io/websocket v1.8.7/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= 690 | rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= 691 | sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= 692 | sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= 693 | src.agwa.name/tlshacks v0.0.0-20220518131152-d2c6f4e2b780 h1:iMW3HbLV3/OuK02FDW8qNC13i5o1uK079MGLH404rnQ= 694 | src.agwa.name/tlshacks v0.0.0-20220518131152-d2c6f4e2b780/go.mod h1:NT4HI59yJusF5Il4/DlC8F5+mfylE4CbRVwdoEi6MF8= 695 | --------------------------------------------------------------------------------