From a51269fa879f338ca349eae4fcde844dac056388 Mon Sep 17 00:00:00 2001 From: Juan Leni Date: Sun, 1 Sep 2024 14:15:03 +0200 Subject: [PATCH 1/2] minor repo cleanup (#61) --- .github/dependabot.yml | 1 + .github/workflows/checks.golang.yml | 35 ++++++++++++++++ .github/workflows/{test.yml => main.yml} | 14 ++++++- .gitignore | 2 + CHANGELOG.md | 7 ---- LICENSE | 2 +- Makefile | 53 ++++++++++++++++++++++++ README.md | 8 +--- appveyor.yml | 25 ----------- common.go | 2 +- common_test.go | 2 +- user_app.go | 4 +- user_app_test.go | 26 ++++++------ validator_app.go | 2 +- validator_app_test.go | 9 ++-- 15 files changed, 129 insertions(+), 63 deletions(-) create mode 100644 .github/workflows/checks.golang.yml rename .github/workflows/{test.yml => main.yml} (64%) delete mode 100644 CHANGELOG.md create mode 100644 Makefile delete mode 100644 appveyor.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 4905250..80a883a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -14,3 +14,4 @@ updates: open-pull-requests-limit: 10 labels: - T:dependencies + target-branch: dev diff --git a/.github/workflows/checks.golang.yml b/.github/workflows/checks.golang.yml new file mode 100644 index 0000000..473b94d --- /dev/null +++ b/.github/workflows/checks.golang.yml @@ -0,0 +1,35 @@ +# +# Generated by @zondax/cli +# +name: Checks + +on: + push: + branches: [ main, dev ] + pull_request: + branches: [ main, dev ] + +jobs: + checks: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + submodules: true + - uses: actions/setup-go@v3 + with: + go-version: '1.21' + - name: Build + run: | + make build + - name: ModTidy check + run: make check-modtidy + - name: Lint check + run: | + export PATH=$PATH:$(go env GOPATH)/bin + make install_lint + make lint + - name: Run tests + run: | + make test \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/main.yml similarity index 64% rename from .github/workflows/test.yml rename to .github/workflows/main.yml index a3c7bbb..94edddd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/main.yml @@ -1,9 +1,16 @@ name: Test + on: + # Triggers the workflow on push or pull request events but only for the main branch push: branches: - - master + - main pull_request: + branches: + - main + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: jobs: @@ -13,7 +20,10 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: '1.18' + go-version: '1.21' + - name: Build + run: | + go build - name: test & coverage report creation run: | go test common.go -mod=readonly -timeout 5m -short -race -coverprofile=coverage.txt -covermode=atomic diff --git a/.gitignore b/.gitignore index 09c773a..5cebab9 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,5 @@ cmake-build-debug/ \.idea/workspace\.xml \.idea/ vendor/ + +coverage.txt diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 539e6d7..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,7 +0,0 @@ -# CHANGELOG - -## Unreleased - -### API-Breaking Changes - -* [#39](https://github.com/cosmos/ledger-cosmos-go/pull/39) Add support for SIGN_MODE_TEXTUAL by adding a new argument `p2 byte` to `SignSECP256K1`. diff --git a/LICENSE b/LICENSE index 5f0220d..c416a42 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2018 - 2022 ZondaX AG + Copyright Zondax AG Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..63b6a37 --- /dev/null +++ b/Makefile @@ -0,0 +1,53 @@ +# +# Generated by @zondax/cli +# +-include Makefile.settings.mk + +# Get all directories under cmd +CMDS=$(shell find cmd -type d) + +# Strip cmd/ from directory names and generate output binary names +BINS=$(subst cmd/,output/,$(CMDS)) + +default: build + +build: + @go build + +mod-tidy: + @go mod tidy + +mod-clean: + go clean -modcache + +mod-update: mod-clean + @go get -u ./... + @go mod tidy + +generate: mod-tidy + go generate ./internal/... + +version: build + ./output/$(APP_NAME) version + +clean: + go clean + +gitclean: + git clean -xfd + git submodule foreach --recursive git clean -xfd + +install_lint: + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin latest + +check-modtidy: + @go mod tidy + git diff --exit-code -- go.mod go.sum + +lint: + golangci-lint --version + golangci-lint run + +test: + @go test common.go -mod=readonly -timeout 5m -short -race -coverprofile=coverage.txt -covermode=atomic + @go test common.go -mod=readonly -timeout 5m diff --git a/README.md b/README.md index 45bd224..b580ad4 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,6 @@ # ledger-cosmos-go -[![Test](https://github.com/cosmos/ledger-cosmos-go/actions/workflows/test.yml/badge.svg)](https://github.com/cosmos/ledger-cosmos-go/actions/workflows/test.yml) +[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) +[![GithubActions](https://github.com/zondax/ledger-go/actions/workflows/main.yml/badge.svg)](https://github.com/Zondax/ledger-go/blob/main/.github/workflows/main.yml) [![Build status](https://ci.appveyor.com/api/projects/status/ovpfx35t289n3403?svg=true)](https://ci.appveyor.com/project/cosmos/ledger-cosmos-go) -This project is work in progress. Some aspects are subject to change. - -# Get source -Apart from cloning, be sure you install dep dependency management tool -https://github.com/golang/dep diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 1cc50fb..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,25 +0,0 @@ -version: 1.0.0.{build} - -platform: x64 - -branches: - only: - - master - -clone_folder: c:\ledger-cosmos-go - -environment: - GOPATH: c:\gopath - -install: - - choco install -y mingw - - echo %PATH% - - echo %GOPATH% - - set PATH=%GOPATH%\bin;c:\go\bin;C:\tools\mingw64\bin;%PATH% - - go version - - go env - -build_script: - - go build -x ./common.go ./user_app.go ./validator_app.go - - go test ./common - diff --git a/common.go b/common.go index debd8f7..8d8c17f 100644 --- a/common.go +++ b/common.go @@ -1,5 +1,5 @@ /******************************************************************************* -* (c) 2018 - 2022 ZondaX AG +* (c) Zondax AG * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/common_test.go b/common_test.go index 9ab487d..42d46ca 100644 --- a/common_test.go +++ b/common_test.go @@ -1,5 +1,5 @@ /******************************************************************************* -* (c) 2018 - 2022 Zondax AG +* (c) Zondax AG * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/user_app.go b/user_app.go index e2beec9..41c121c 100644 --- a/user_app.go +++ b/user_app.go @@ -1,5 +1,5 @@ /******************************************************************************* -* (c) 2018 - 2022 ZondaX AG +* (c) Zondax AG * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -330,7 +330,7 @@ func (ledger *LedgerCosmos) getAddressPubKeySECP256K1(bip32Path []uint32, hrp st } pubkey = response[0:33] - addr = string(response[33:len(response)]) + addr = string(response[33:]) return pubkey, addr, err } diff --git a/user_app_test.go b/user_app_test.go index 0597c27..79d04bc 100644 --- a/user_app_test.go +++ b/user_app_test.go @@ -1,5 +1,5 @@ /******************************************************************************* -* (c) 2018 - 2022 ZondaX AG +* (c) Zondax AG * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -34,7 +34,7 @@ import ( func Test_UserFindLedger(t *testing.T) { userApp, err := FindLedgerCosmosUserApp() if err != nil { - t.Fatalf(err.Error()) + t.Fatalf("%v", err) } assert.NotNil(t, userApp) @@ -44,7 +44,7 @@ func Test_UserFindLedger(t *testing.T) { func Test_UserGetVersion(t *testing.T) { userApp, err := FindLedgerCosmosUserApp() if err != nil { - t.Fatalf(err.Error()) + t.Fatalf("%v", err) } defer userApp.Close() @@ -61,7 +61,7 @@ func Test_UserGetVersion(t *testing.T) { func Test_UserGetPublicKey(t *testing.T) { userApp, err := FindLedgerCosmosUserApp() if err != nil { - t.Fatalf(err.Error()) + t.Fatalf("%v", err) } defer userApp.Close() @@ -85,7 +85,7 @@ func Test_UserGetPublicKey(t *testing.T) { func Test_GetAddressPubKeySECP256K1_Zero(t *testing.T) { userApp, err := FindLedgerCosmosUserApp() if err != nil { - t.Fatalf(err.Error()) + t.Fatalf("%v", err) } defer userApp.Close() @@ -109,7 +109,7 @@ func Test_GetAddressPubKeySECP256K1_Zero(t *testing.T) { func Test_GetAddressPubKeySECP256K1(t *testing.T) { userApp, err := FindLedgerCosmosUserApp() if err != nil { - t.Fatalf(err.Error()) + t.Fatalf("%v", err) } defer userApp.Close() @@ -133,7 +133,7 @@ func Test_GetAddressPubKeySECP256K1(t *testing.T) { func Test_UserPK_HDPaths(t *testing.T) { userApp, err := FindLedgerCosmosUserApp() if err != nil { - t.Fatalf(err.Error()) + t.Fatalf("%v", err) } defer userApp.Close() @@ -200,7 +200,7 @@ func getDummyTx() []byte { func Test_UserSign(t *testing.T) { userApp, err := FindLedgerCosmosUserApp() if err != nil { - t.Fatalf(err.Error()) + t.Fatalf("%v", err) } defer userApp.Close() @@ -219,26 +219,26 @@ func Test_UserSign(t *testing.T) { } if err != nil { - t.Fatalf("[GetPK] Error: " + err.Error()) + t.Fatalf("[GetPK] Error: %s", err.Error()) return } pub2, err := btcec.ParsePubKey(pubKey[:]) if err != nil { - t.Fatalf("[ParsePK] Error: " + err.Error()) + t.Fatalf("[ParsePK] Error: %s", err.Error()) return } sig2, err := ecdsa.ParseDERSignature(signature[:]) if err != nil { - t.Fatalf("[ParseSig] Error: " + err.Error()) + t.Fatalf("[ParseSig] Error: %s", err.Error()) return } hash := sha256.Sum256(message) verified := sig2.Verify(hash[:], pub2) if !verified { - t.Fatalf("[VerifySig] Error verifying signature: " + err.Error()) + t.Fatalf("[VerifySig] Error verifying signature: %s", err.Error()) return } } @@ -246,7 +246,7 @@ func Test_UserSign(t *testing.T) { func Test_UserSign_Fails(t *testing.T) { userApp, err := FindLedgerCosmosUserApp() if err != nil { - t.Fatalf(err.Error()) + t.Fatalf("%v", err) } defer userApp.Close() diff --git a/validator_app.go b/validator_app.go index 617c536..97db459 100644 --- a/validator_app.go +++ b/validator_app.go @@ -1,5 +1,5 @@ /******************************************************************************* -* (c) 2018 - 2022 ZondaX AG +* (c) Zondax AG * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/validator_app_test.go b/validator_app_test.go index c61a26c..9f70b2f 100644 --- a/validator_app_test.go +++ b/validator_app_test.go @@ -1,5 +1,5 @@ /******************************************************************************* -* (c) 2018 - 2022 ZondaX AG +* (c) Zondax AG * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,15 +17,16 @@ package ledger_cosmos_go import ( + "testing" + "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "testing" ) func Test_ValGetVersion(t *testing.T) { validatorApp, err := FindLedgerTendermintValidatorApp() if err != nil { - t.Fatalf(err.Error()) + t.Fatalf("%s", err.Error()) } defer validatorApp.Close() @@ -40,7 +41,7 @@ func Test_ValGetVersion(t *testing.T) { func Test_ValGetPublicKey(t *testing.T) { validatorApp, err := FindLedgerTendermintValidatorApp() if err != nil { - t.Fatalf(err.Error()) + t.Fatalf("%s", err.Error()) } defer validatorApp.Close() From 02fe2b0b842c5a0f55003ca64c4c0806129609aa Mon Sep 17 00:00:00 2001 From: Juan Leni Date: Sun, 1 Sep 2024 14:35:17 +0200 Subject: [PATCH 2/2] upgrade deps (#64) --- .github/workflows/checks.golang.yml | 12 ++++++---- .github/workflows/main.yml | 4 ++-- go.mod | 16 ++++++------- go.sum | 37 +++++++++++++---------------- 4 files changed, 35 insertions(+), 34 deletions(-) diff --git a/.github/workflows/checks.golang.yml b/.github/workflows/checks.golang.yml index 473b94d..a2ad645 100644 --- a/.github/workflows/checks.golang.yml +++ b/.github/workflows/checks.golang.yml @@ -5,19 +5,23 @@ name: Checks on: push: - branches: [ main, dev ] + branches: + - main + - dev pull_request: - branches: [ main, dev ] + branches: + - main + - dev jobs: checks: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: true - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: '1.21' - name: Build diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 94edddd..00c2fff 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,8 +17,8 @@ jobs: Test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: '1.21' - name: Build diff --git a/go.mod b/go.mod index 1593c87..a3668cd 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/cosmos/ledger-cosmos-go -go 1.18 +go 1.21 require ( github.com/btcsuite/btcd/btcec/v2 v2.3.2 @@ -11,15 +11,15 @@ require ( require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect - github.com/golang/protobuf v1.5.3 // indirect + github.com/golang/protobuf v1.5.4 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/zondax/hid v0.9.2 // indirect - golang.org/x/net v0.17.0 // indirect - golang.org/x/sys v0.13.0 // indirect - golang.org/x/text v0.13.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20231009173412-8bfb1ae86b6c // indirect - google.golang.org/grpc v1.58.3 // indirect - google.golang.org/protobuf v1.31.0 // indirect + golang.org/x/net v0.28.0 // indirect + golang.org/x/sys v0.24.0 // indirect + golang.org/x/text v0.17.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240827150818-7e3bb234dfed // indirect + google.golang.org/grpc v1.66.0 // indirect + google.golang.org/protobuf v1.34.2 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index bb9c1eb..bcb25c0 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,7 @@ github.com/btcsuite/btcd/btcec/v2 v2.3.2 h1:5n0X6hX0Zk+6omWcihdYvdAlGf2DfasC0GMf7DClJ3U= github.com/btcsuite/btcd/btcec/v2 v2.3.2/go.mod h1:zYzJ8etWJQIv1Ogk7OzpWjowwOdXY1W/17j2MW85J04= github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 h1:q0rUy8C/TYNBQS1+CGKw68tLOFYSNEs0TFnxxnS9+4U= +github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1/go.mod h1:7SFka0XMvUgj3hfZtydOrQY2mwhPclbT2snogU7SQQc= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -8,11 +9,10 @@ github.com/decred/dcrd/crypto/blake256 v1.0.0 h1:/8DMNYp9SGi5f0w7uCm6d6M4OU2rGFK github.com/decred/dcrd/crypto/blake256 v1.0.0/go.mod h1:sQl2p6Y26YV+ZOcSTP6thNdn47hh8kt6rqSlvmrXFAc= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 h1:YLtO71vCjJRCBcrPMtQ9nqBsqpA1m5sE92cU+pd5Mcc= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1/go.mod h1:hyedUtir6IdtD/7lIxGeCxkaw7y45JueMRL4DIyJDKs= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= -github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= +github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= +github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= @@ -28,21 +28,18 @@ github.com/zondax/hid v0.9.2 h1:WCJFnEDMiqGF64nlZz28E9qLVZ0KSJ7xpc5DLEyma2U= github.com/zondax/hid v0.9.2/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= github.com/zondax/ledger-go v0.14.3 h1:wEpJt2CEcBJ428md/5MgSLsXLBos98sBOyxNmCjfUCw= github.com/zondax/ledger-go v0.14.3/go.mod h1:IKKaoxupuB43g4NxeQmbLXv7T9AlQyie1UpHb342ycI= -golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= -golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= -golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= -golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= -golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/genproto/googleapis/rpc v0.0.0-20231009173412-8bfb1ae86b6c h1:jHkCUWkseRf+W+edG5hMzr/Uh1xkDREY4caybAq4dpY= -google.golang.org/genproto/googleapis/rpc v0.0.0-20231009173412-8bfb1ae86b6c/go.mod h1:4cYg8o5yUbm77w8ZX00LhMVNl/YVBFJRYWDc0uYWMs0= -google.golang.org/grpc v1.58.3 h1:BjnpXut1btbtgN/6sp+brB2Kbm2LjNXnidYujAVbSoQ= -google.golang.org/grpc v1.58.3/go.mod h1:tgX3ZQDlNJGU96V6yHh1T/JeoBQ2TXdr43YbYSsCJk0= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= -google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE= +golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg= +golang.org/x/sys v0.24.0 h1:Twjiwq9dn6R1fQcyiK+wQyHWfaz/BJB+YIpzU/Cv3Xg= +golang.org/x/sys v0.24.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/text v0.17.0 h1:XtiM5bkSOt+ewxlOE/aE/AKEHibwj/6gvWMl9Rsh0Qc= +golang.org/x/text v0.17.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240827150818-7e3bb234dfed h1:J6izYgfBXAI3xTKLgxzTmUltdYaLsuBxFCgDHWJ/eXg= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240827150818-7e3bb234dfed/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU= +google.golang.org/grpc v1.66.0 h1:DibZuoBznOxbDQxRINckZcUvnCEvrW9pcWIE2yF9r1c= +google.golang.org/grpc v1.66.0/go.mod h1:s3/l6xSSCURdVfAnL+TqCNMyTDAGN6+lZeVxnZR128Y= +google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= +google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=