Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2d16ef4

Browse files
committed
chore: Bump versions of aries-framework-go-ext and golang-ci
Signed-off-by: Bob Stasyszyn <[email protected]>
1 parent 1e0e7e6 commit 2d16ef4

51 files changed

Lines changed: 184 additions & 187 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118

119119
checks:
120120
name: Checks
121-
timeout-minutes: 10
121+
timeout-minutes: 30
122122
runs-on: ubuntu-latest
123123
steps:
124124
- name: Setup Go 1.21
@@ -129,7 +129,7 @@ jobs:
129129
- uses: actions/checkout@v2
130130

131131
- name: Run checks
132-
timeout-minutes: 10
132+
timeout-minutes: 30
133133
run: make checks
134134

135135
publish:

.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ linters:
136136
- nosnakecase
137137
- interfacer
138138
- golint
139+
- depguard
139140

140141
issues:
141142
# Excluding configuration per-path, per-linter, per-text and per-source

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ build-orb-cli-binaries:
132132
@docker run -i --rm \
133133
-v $(abspath .):/opt/workspace/orb \
134134
--entrypoint "/opt/workspace/orb/scripts/build-cli.sh" \
135-
ghcr.io/gythialy/golang-cross:go-1.18
135+
ghcr.io/gythialy/golang-cross:1.21.1
136136

137137
.PHONY: extract-orb-cli-binaries
138138
extract-orb-cli-binaries:

cmd/orb-cli/common/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ func GetPublicKeyFromKMS(cmd *cobra.Command, keyIDFlagName, keyIDEnvKey string,
207207
kms.ECDSAP521IEEEP1363: elliptic.P521(),
208208
}
209209
crv := curves[kt]
210-
x, y := elliptic.Unmarshal(crv, keyBytes)
210+
x, y := elliptic.Unmarshal(crv, keyBytes) //nolint:staticcheck
211211

212212
return &ecdsa.PublicKey{
213213
Curve: crv,

cmd/orb-cli/createdidcmd/createdid.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const (
7272
" Alternatively, this can be set with the following environment variable: " + recoveryKeyEnvKey
7373

7474
recoveryKeyFileFlagName = "recoverykey-file"
75-
recoveryKeyFileEnvKey = "ORB_CLI_RECOVERYKEY_FILE"
75+
recoveryKeyFileEnvKey = "ORB_CLI_RECOVERYKEY_FILE" //nolint:gosec
7676
recoveryKeyFileFlagUsage = "The file that contains the public key PEM used for recovery of the document." +
7777
" Alternatively, this can be set with the following environment variable: " + recoveryKeyFileEnvKey
7878

cmd/orb-cli/go.mod

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ require (
1212
github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce
1313
github.com/google/uuid v1.3.0
1414
github.com/hyperledger/aries-framework-go v0.3.3-0.20230901120639-e17eddd3ad3e
15-
github.com/hyperledger/aries-framework-go-ext/component/vdr/orb v1.0.0-rc5.0.20230612123444-d285f3c85595
16-
github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v1.0.0-rc4.0.20230612123444-d285f3c85595
15+
github.com/hyperledger/aries-framework-go-ext/component/vdr/orb v1.0.0-rc5.0.20231002134513-a3b96bcbb37c
16+
github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v1.0.0-rc4.0.20231002134513-a3b96bcbb37c
1717
github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20230901120639-e17eddd3ad3e
1818
github.com/ipfs/go-ipfs-api v0.2.0
1919
github.com/ipfs/go-ipfs-files v0.0.8
@@ -22,7 +22,7 @@ require (
2222
github.com/spf13/cobra v1.5.0
2323
github.com/stretchr/testify v1.8.2
2424
github.com/trustbloc/logutil-go v1.0.0-rc1
25-
github.com/trustbloc/orb v1.0.0-rc7
25+
github.com/trustbloc/orb v1.0.1-0.20230929144409-1e0e7e685841
2626
github.com/trustbloc/sidetree-go v0.0.0-20230928172705-30e78b6b6ddd
2727
github.com/trustbloc/vct v1.0.0
2828
)
@@ -51,7 +51,7 @@ require (
5151
github.com/google/tink/go v1.7.0 // indirect
5252
github.com/google/trillian v1.3.14-0.20210520152752-ceda464a95a3 // indirect
5353
github.com/gorilla/mux v1.8.0 // indirect
54-
github.com/hyperledger/aries-framework-go-ext/component/storage/mongodb v0.0.0-20220615170242-cda5092b4faf // indirect
54+
github.com/hyperledger/aries-framework-go-ext/component/storage/mongodb v0.0.0-20231002134513-a3b96bcbb37c // indirect
5555
github.com/hyperledger/aries-framework-go/component/kmscrypto v0.0.0-20230901120639-e17eddd3ad3e // indirect
5656
github.com/hyperledger/aries-framework-go/component/log v0.0.0-20230901120639-e17eddd3ad3e // indirect
5757
github.com/hyperledger/aries-framework-go/component/models v0.0.0-20230901120639-e17eddd3ad3e // indirect
@@ -99,7 +99,6 @@ require (
9999
github.com/tidwall/match v1.1.1 // indirect
100100
github.com/tidwall/pretty v1.2.0 // indirect
101101
github.com/tidwall/sjson v1.1.4 // indirect
102-
github.com/trustbloc/sidetree-core-go v1.0.0-rc5.0.20230609191801-793cbea60692 // indirect
103102
github.com/trustbloc/sidetree-svc-go v0.0.0-20230928215925-11c8459cb32d // indirect
104103
github.com/whyrusleeping/tar-utils v0.0.0-20180509141711-8c6c8ba81d5c // indirect
105104
github.com/x448/float16 v0.8.4 // indirect

cmd/orb-cli/go.sum

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -461,12 +461,12 @@ github.com/huandu/xstrings v1.2.0/go.mod h1:DvyZB1rfVYsBIigL8HwpZgxHwXozlTgGqn63
461461
github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg=
462462
github.com/hyperledger/aries-framework-go v0.3.3-0.20230901120639-e17eddd3ad3e h1:2QRDh/BG6aQaIwHPSLfEZHBvnyP7wAD3lzn/CCa7cp4=
463463
github.com/hyperledger/aries-framework-go v0.3.3-0.20230901120639-e17eddd3ad3e/go.mod h1:uH0Od/EyS1bQkW1BWo8qqz8szU3VEpNK1YXR1SJgqK4=
464-
github.com/hyperledger/aries-framework-go-ext/component/storage/mongodb v0.0.0-20220615170242-cda5092b4faf h1:F12zbOSRsye3IWK3Zb6prgrqQQFYnz5zjGSCh9pfYzk=
465-
github.com/hyperledger/aries-framework-go-ext/component/storage/mongodb v0.0.0-20220615170242-cda5092b4faf/go.mod h1:GDANCnJONcCqBvv6QgKuk5Y2FWHyD/Hu26kyc7NTyfY=
466-
github.com/hyperledger/aries-framework-go-ext/component/vdr/orb v1.0.0-rc5.0.20230612123444-d285f3c85595 h1:0T03C+omruM3eSi+kJJyG7Wjms6PtiSz4C8PymrfCwg=
467-
github.com/hyperledger/aries-framework-go-ext/component/vdr/orb v1.0.0-rc5.0.20230612123444-d285f3c85595/go.mod h1:TwEnYh669P6PdnjHHSCXI5Dy00vo5vjdCHttmwpXLXI=
468-
github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v1.0.0-rc4.0.20230612123444-d285f3c85595 h1:V3pSkJiQ+Gb+E66F6qeE7VszyNs48AEmvimg98hWGNQ=
469-
github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v1.0.0-rc4.0.20230612123444-d285f3c85595/go.mod h1:HnHKv7F2AWSrzbBLQ/Q0T3b4Xq841T7joJizZXPMAXE=
464+
github.com/hyperledger/aries-framework-go-ext/component/storage/mongodb v0.0.0-20231002134513-a3b96bcbb37c h1:4y0CFPFyoA3Jd7EzY2NqC31bILuMe2xXAqWm0s1RJuU=
465+
github.com/hyperledger/aries-framework-go-ext/component/storage/mongodb v0.0.0-20231002134513-a3b96bcbb37c/go.mod h1:GDANCnJONcCqBvv6QgKuk5Y2FWHyD/Hu26kyc7NTyfY=
466+
github.com/hyperledger/aries-framework-go-ext/component/vdr/orb v1.0.0-rc5.0.20231002134513-a3b96bcbb37c h1:hNwp043Ba/3TwDLpQAS9tqN0zQCFdnBYTy1NWXFtQNM=
467+
github.com/hyperledger/aries-framework-go-ext/component/vdr/orb v1.0.0-rc5.0.20231002134513-a3b96bcbb37c/go.mod h1:pURPg3cSdbs1yhGXCbOzeXHr7M4OHbN3HEuXOg7kEd0=
468+
github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v1.0.0-rc4.0.20231002134513-a3b96bcbb37c h1:HqDYWlytUw+xMS4THsHcovcS/hdnFko06Dpi5JrjsiE=
469+
github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v1.0.0-rc4.0.20231002134513-a3b96bcbb37c/go.mod h1:vQBl9EQq2V6MHAwUbr+rnExJEGp2EXnaxDcaEKCEKd4=
470470
github.com/hyperledger/aries-framework-go/component/kmscrypto v0.0.0-20230901120639-e17eddd3ad3e h1:rWchzRr9jP8a9ggR/y8vdIGLvGrij1auh58v10eIgik=
471471
github.com/hyperledger/aries-framework-go/component/kmscrypto v0.0.0-20230901120639-e17eddd3ad3e/go.mod h1:nmT2WqhIs9Eyncdr9feYrUIy7ggf00bWnTzCN6/t8PY=
472472
github.com/hyperledger/aries-framework-go/component/log v0.0.0-20230901120639-e17eddd3ad3e h1:q6/fpTbRpVJq4vDcapAGybUeg9ud1F4Arlpz8Ru+YZU=
@@ -864,8 +864,6 @@ github.com/tmc/grpc-websocket-proxy v0.0.0-20200427203606-3cfed13b9966/go.mod h1
864864
github.com/tomasen/realip v0.0.0-20180522021738-f0c99a92ddce/go.mod h1:o8v6yHRoik09Xen7gje4m9ERNah1d1PPsVq1VEx9vE4=
865865
github.com/trustbloc/logutil-go v1.0.0-rc1 h1:rRJbvgQfrlUfyej+mY0nuQJymGqjRW4oZEwKi544F4c=
866866
github.com/trustbloc/logutil-go v1.0.0-rc1/go.mod h1:JlxT0oZfNKgIlSNtgc001WEeDMxlnAvOM43gNm8DQVc=
867-
github.com/trustbloc/sidetree-core-go v1.0.0-rc5.0.20230609191801-793cbea60692 h1:8J/lEaFqWfGugvt5u/d5l9OvJoZZpE2XU3bR/U6iKjM=
868-
github.com/trustbloc/sidetree-core-go v1.0.0-rc5.0.20230609191801-793cbea60692/go.mod h1:jdxAFuorlIwFOGVW6O455/lZqxg2mZkRHNTEolcZdDI=
869867
github.com/trustbloc/sidetree-go v0.0.0-20230928172705-30e78b6b6ddd h1:hWWZ7lQSRK5FOcVhG5cUtwaNwWLYaz9wASiR5GyPtQE=
870868
github.com/trustbloc/sidetree-go v0.0.0-20230928172705-30e78b6b6ddd/go.mod h1:3oQhk0vOdhaUpPEQBFBzwqH8t0d8bcP2XLU2orBY13U=
871869
github.com/trustbloc/sidetree-svc-go v0.0.0-20230928215925-11c8459cb32d h1:gYr+RqqYV3vzNqSLj6ZPl2APBELfm9s9wKXHlAyNoDo=

cmd/orb-cli/recoverdidcmd/recoverdid.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ const (
114114
" Alternatively, this can be set with the following environment variable: " + nextUpdateKeyFileEnvKey
115115

116116
nextUpdateKeyIDFlagName = "nextupdatekey-id"
117-
nextUpdateKeyIDEnvKey = "ORB_CLI_NEXTUPDATEKEY_ID"
117+
nextUpdateKeyIDEnvKey = "ORB_CLI_NEXTUPDATEKEY_ID" //nolint:gosec
118118
nextUpdateKeyIDFlagUsage = "The key id in kms" +
119119
" used for validating the signature of the next update of the document. " +
120120
" Alternatively, this can be set with the following environment variable: " + nextUpdateKeyIDEnvKey

cmd/orb-cli/updatedidcmd/updatedid.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const (
7676
" Alternatively, this can be set with the following environment variable: " + addPublicKeyFileEnvKey
7777

7878
addServiceFileFlagName = "add-service-file"
79-
addServiceFileEnvKey = "ORB_CLI_ADD_SERVICE_FILE"
79+
addServiceFileEnvKey = "ORB_CLI_ADD_SERVICE_FILE" //nolint:gosec
8080
addServiceFlagUsage = "publickey file include services to be added for Orb DID " +
8181
" Alternatively, this can be set with the following environment variable: " + addServiceFileEnvKey
8282

@@ -114,7 +114,7 @@ const (
114114
" Alternatively, this can be set with the following environment variable: " + nextUpdateKeyFileEnvKey
115115

116116
nextUpdateKeyIDFlagName = "nextupdatekey-id"
117-
nextUpdateKeyIDEnvKey = "ORB_CLI_NEXTUPDATEKEY_ID"
117+
nextUpdateKeyIDEnvKey = "ORB_CLI_NEXTUPDATEKEY_ID" //nolint:gosec
118118
nextUpdateKeyIDFlagUsage = "The key id in kms" +
119119
" used for validating the signature of the next update of the document. " +
120120
" Alternatively, this can be set with the following environment variable: " + nextUpdateKeyIDEnvKey

cmd/orb-driver/go.mod

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ go 1.21
99
toolchain go1.21.0
1010

1111
require (
12-
github.com/hyperledger/aries-framework-go-ext/component/vdr/orb v1.0.0-rc5.0.20230612123444-d285f3c85595
12+
github.com/hyperledger/aries-framework-go-ext/component/vdr/orb v1.0.0-rc5.0.20231002134513-a3b96bcbb37c
1313
github.com/spf13/cobra v1.5.0
1414
github.com/stretchr/testify v1.8.2
1515
github.com/trustbloc/logutil-go v1.0.0-rc1
16-
github.com/trustbloc/orb v1.0.0-rc7
16+
github.com/trustbloc/orb v1.0.1-0.20230929144409-1e0e7e685841
1717
)
1818

1919
require (
@@ -44,8 +44,8 @@ require (
4444
github.com/google/uuid v1.3.0 // indirect
4545
github.com/gorilla/mux v1.8.0 // indirect
4646
github.com/hyperledger/aries-framework-go v0.3.3-0.20230901120639-e17eddd3ad3e // indirect
47-
github.com/hyperledger/aries-framework-go-ext/component/storage/mongodb v0.0.0-20220615170242-cda5092b4faf // indirect
48-
github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v1.0.0-rc4.0.20230612123444-d285f3c85595 // indirect
47+
github.com/hyperledger/aries-framework-go-ext/component/storage/mongodb v0.0.0-20231002134513-a3b96bcbb37c // indirect
48+
github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v1.0.0-rc4.0.20231002134513-a3b96bcbb37c // indirect
4949
github.com/hyperledger/aries-framework-go/component/kmscrypto v0.0.0-20230901120639-e17eddd3ad3e // indirect
5050
github.com/hyperledger/aries-framework-go/component/log v0.0.0-20230901120639-e17eddd3ad3e // indirect
5151
github.com/hyperledger/aries-framework-go/component/models v0.0.0-20230901120639-e17eddd3ad3e // indirect
@@ -89,7 +89,6 @@ require (
8989
github.com/tidwall/match v1.1.1 // indirect
9090
github.com/tidwall/pretty v1.2.0 // indirect
9191
github.com/tidwall/sjson v1.1.4 // indirect
92-
github.com/trustbloc/sidetree-core-go v1.0.0-rc5.0.20230609191801-793cbea60692 // indirect
9392
github.com/trustbloc/sidetree-go v0.0.0-20230928172705-30e78b6b6ddd // indirect
9493
github.com/trustbloc/sidetree-svc-go v0.0.0-20230928215925-11c8459cb32d // indirect
9594
github.com/trustbloc/vct v1.0.0 // indirect

0 commit comments

Comments
 (0)