Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: refresh service #1745

Merged
merged 32 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
6aa3f30
feat: basic logic for refresh
skynet2 Jul 31, 2024
500930f
feat: credential issuer
skynet2 Aug 1, 2024
01f2f73
fix: compose tests
skynet2 Aug 1, 2024
4e2d42d
fix: test for prepare credentials
skynet2 Aug 1, 2024
e59df41
feat: basic endpoints
skynet2 Aug 5, 2024
021c29a
feat: compile
skynet2 Aug 5, 2024
ee3eeff
feat: check for update
skynet2 Aug 5, 2024
0abebe0
feat: steps
skynet2 Aug 5, 2024
1568401
feat: more logic
skynet2 Aug 6, 2024
18cf2e2
feat: more changes
skynet2 Aug 6, 2024
51b707b
feat: refactor wallet-cli
skynet2 Aug 7, 2024
e89db1e
feat: split to refresh endpoint
skynet2 Aug 7, 2024
2e554ee
feat: basic split to service
skynet2 Aug 7, 2024
41035e5
feat: migrate
skynet2 Aug 12, 2024
3631b50
feat: more refactor
skynet2 Aug 12, 2024
994cb3c
fix: lint
skynet2 Aug 12, 2024
7983000
feat: base tests
skynet2 Aug 12, 2024
6e02273
fix: more tests
skynet2 Aug 12, 2024
4c29f2e
feat: add basic tests
skynet2 Aug 12, 2024
8972879
fix: compose plugin
skynet2 Aug 12, 2024
181b8eb
fix: apt
skynet2 Aug 12, 2024
75835de
feat: dind
skynet2 Aug 12, 2024
f3d53b3
feat: more tests
skynet2 Aug 12, 2024
8b5ecf5
feat: more tests
skynet2 Aug 12, 2024
b96e4f1
fix: doc loader
skynet2 Aug 12, 2024
0545579
feat: set default refresh service
skynet2 Aug 13, 2024
22106bc
feat: more refresh tests
skynet2 Aug 13, 2024
d273c64
feat: more tests
skynet2 Aug 13, 2024
24f9989
feat: more refresh logic
skynet2 Aug 13, 2024
d00bcf3
feat: more tests
skynet2 Aug 13, 2024
8950d39
fix: mocks
skynet2 Aug 13, 2024
758fb65
feat: update vc
skynet2 Aug 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,15 @@ jobs:
verbose: true

BDDTest:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '${{ env.GO_VERSION }}'
- run: sudo apt-get update && sudo apt install docker-compose -y
- name: Run BDD tests
run: |
echo '127.0.0.1 file-server.trustbloc.local' | sudo tee -a /etc/hosts
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ALPINE_IMAGE ?=alpine
OPENSSL_IMAGE ?=frapsoft/openssl
GOPROXY ?= https://proxy.golang.org

VC_FRAMEWORK_VERSION = 8cb417a4df0f7f7fcc18ab023c800c01c41b653f
VC_FRAMEWORK_VERSION = d214be231fa316ab1722e1bd087fdc45917ec0ca
KMS_FRAMEWORK_VERSION = 59c2830d27fd44f9a3a663242a4aa61544ce622e
DID_GO_VERSION = aa500e57d8bdf51c90c20d3a6c815fdc76f716c3
SIDE_TREE_VERSION = f4260aff710479ba5fa3f0c61b51d451d9041225
Expand Down
398 changes: 204 additions & 194 deletions api/spec/openapi.gen.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions cmd/vc-rest/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ require (
github.com/spf13/cobra v1.7.0
github.com/stretchr/testify v1.8.4
github.com/trustbloc/cmdutil-go v1.0.0
github.com/trustbloc/did-go v1.2.1
github.com/trustbloc/did-go v1.2.2-0.20240812120408-296eef43066c
github.com/trustbloc/logutil-go v1.0.0
github.com/trustbloc/sidetree-go v1.0.1-0.20240219121130-f4260aff7104
github.com/trustbloc/vc-go v1.1.3-0.20240723144917-8cb417a4df0f
github.com/trustbloc/vc-go v1.1.3-0.20240812120453-d214be231fa3
github.com/trustbloc/vcs v0.0.0
github.com/trustbloc/vcs/component/credentialstatus v0.0.0-00010101000000-000000000000
github.com/trustbloc/vcs/component/echo v0.0.0-00010101000000-000000000000
Expand Down
8 changes: 4 additions & 4 deletions cmd/vc-rest/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -588,16 +588,16 @@ github.com/trustbloc/bbs-signature-go v1.0.2 h1:gepEsbLiZHv/vva9FKG5gF38mGtOIyGe
github.com/trustbloc/bbs-signature-go v1.0.2/go.mod h1:xYotcXHAbcE0TO+SteW0J6XI3geQaXq4wdnXR2k+XCU=
github.com/trustbloc/cmdutil-go v1.0.0 h1:QCe7wVEIASWmy9ZDD0l0tsQCEsX6fx+kBFX5UqCVRdk=
github.com/trustbloc/cmdutil-go v1.0.0/go.mod h1:o/v7C1z6d/5UrjaC6GAUc1hk0XVuE3M4tpyvsMMUw5k=
github.com/trustbloc/did-go v1.2.1 h1:SEOmPX+x2JlE6+jjjJp82yCCusoJ4/67zQ2ST6ytfSc=
github.com/trustbloc/did-go v1.2.1/go.mod h1:packTRoBoo8DrwOE7QKsI98xXS3Vf6ovUXYD4FUAcB4=
github.com/trustbloc/did-go v1.2.2-0.20240812120408-296eef43066c h1:tfQAZz0NfqQCIQYphcYvih7X/s3uNnaV8oo5/RCAh9E=
github.com/trustbloc/did-go v1.2.2-0.20240812120408-296eef43066c/go.mod h1:packTRoBoo8DrwOE7QKsI98xXS3Vf6ovUXYD4FUAcB4=
github.com/trustbloc/kms-go v1.1.2 h1:nAlhDoHkSyX1eQFRz/sJsdgmJuNadyX7FJEy/9ROwys=
github.com/trustbloc/kms-go v1.1.2/go.mod h1:OKOtsLbE6W5s4mpjWkvk8XEqcmt9vTgVmDNkHELpWO0=
github.com/trustbloc/logutil-go v1.0.0 h1:KzNs9TRbnmn+M3oYw9UkrtOjNd3ZGO8aLgfYttMypcE=
github.com/trustbloc/logutil-go v1.0.0/go.mod h1:JlxT0oZfNKgIlSNtgc001WEeDMxlnAvOM43gNm8DQVc=
github.com/trustbloc/sidetree-go v1.0.1-0.20240219121130-f4260aff7104 h1:0IW4muaGvhjJ4OkG6/PQG3DGf5POWxlA1wwEYsxWQ+4=
github.com/trustbloc/sidetree-go v1.0.1-0.20240219121130-f4260aff7104/go.mod h1:3yChjB5KOT7B9eZe0W1XaIx3MNUuC1Oe9nR/GCtI1W0=
github.com/trustbloc/vc-go v1.1.3-0.20240723144917-8cb417a4df0f h1:v/Gf89EK2vCk2uj9bK+zmoTAQiJEXH9I2p3fYBiNLrg=
github.com/trustbloc/vc-go v1.1.3-0.20240723144917-8cb417a4df0f/go.mod h1:7GkmcXtK5FNbfxypAZAVg8eM9PVnGJ/lmQo7gQgsjKk=
github.com/trustbloc/vc-go v1.1.3-0.20240812120453-d214be231fa3 h1:8a0SvG1JD0bE/ia52zpCKRgzhlt7awmtJSCcEKlNf/A=
github.com/trustbloc/vc-go v1.1.3-0.20240812120453-d214be231fa3/go.mod h1:8AZhLCWqGKSt5KBaLlG+3yIzISeDBShEQyNqBpVxE14=
github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw=
github.com/ugorji/go v1.2.7/go.mod h1:nF9osbDWLy6bDVv/Rtoh6QgnvNDpmCalQV5urGCCS6M=
github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY=
Expand Down
52 changes: 39 additions & 13 deletions cmd/vc-rest/startcmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ import (
"github.com/trustbloc/vcs/pkg/restapi/v1/mw"
oidc4civ1 "github.com/trustbloc/vcs/pkg/restapi/v1/oidc4ci"
oidc4vpv1 "github.com/trustbloc/vcs/pkg/restapi/v1/oidc4vp"
"github.com/trustbloc/vcs/pkg/restapi/v1/refresh"
verifierv1 "github.com/trustbloc/vcs/pkg/restapi/v1/verifier"
"github.com/trustbloc/vcs/pkg/restapi/v1/version"
"github.com/trustbloc/vcs/pkg/service/clientidscheme"
Expand All @@ -90,6 +91,7 @@ import (
"github.com/trustbloc/vcs/pkg/service/issuecredential"
"github.com/trustbloc/vcs/pkg/service/oidc4ci"
"github.com/trustbloc/vcs/pkg/service/oidc4vp"
refresh2 "github.com/trustbloc/vcs/pkg/service/refresh"
"github.com/trustbloc/vcs/pkg/service/requestobject"
"github.com/trustbloc/vcs/pkg/service/trustregistry"
"github.com/trustbloc/vcs/pkg/service/verifycredential"
Expand Down Expand Up @@ -702,6 +704,11 @@ func buildEchoHandler(
ProfileSvc: issuerProfileSvc,
})

prepareCredentialSvc := issuecredential.NewPrepareCredentialService(&issuecredential.PrepareCredentialServiceConfig{
VcsAPIURL: conf.StartupParameters.hostURLExternal,
Composer: issuecredential.NewCredentialComposer(),
})

oidc4ciService, err = oidc4ci.NewService(&oidc4ci.Config{
TransactionStore: oidc4ciTransactionStore,
ClaimDataStore: oidc4ciClaimDataStore,
Expand All @@ -720,8 +727,8 @@ func buildEchoHandler(
JSONSchemaValidator: jsonSchemaValidator,
TrustRegistry: trustRegistryService,
AckService: ackService,
Composer: oidc4ci.NewCredentialComposer(),
DocumentLoader: documentLoader,
PrepareCredential: prepareCredentialSvc,
})
if err != nil {
return nil, fmt.Errorf("failed to instantiate new oidc4ci service: %w", err)
Expand Down Expand Up @@ -824,6 +831,28 @@ func buildEchoHandler(
)
}

var verifyPresentationSvc verifypresentation.ServiceInterface

verifyPresentationSvc = verifypresentation.New(&verifypresentation.Config{
VcVerifier: verifyCredentialSvc,
DocumentLoader: documentLoader,
VDR: conf.VDR,
})

if conf.IsTraceEnabled {
verifyPresentationSvc = verifypresentationtracing.Wrap(verifyPresentationSvc, conf.Tracer)
}

refreshService := refresh2.NewRefreshService(&refresh2.Config{
VcsAPIURL: conf.StartupParameters.apiGatewayURL,
TxStore: oidc4ciTransactionStore,
ClaimsStore: oidc4ciClaimDataStore,
DataProtector: claimsDataProtector,
PresentationVerifier: verifyPresentationSvc,
CredentialIssuer: prepareCredentialSvc,
IssueCredentialService: issueCredentialSvc,
})

oidc4civ1.RegisterHandlers(e, oidc4civ1.NewController(&oidc4civ1.Config{
OAuth2Provider: oauthProvider,
StateStore: oidc4ciStateStore,
Expand All @@ -845,6 +874,14 @@ func buildEchoHandler(
LDPProofParser: oidc4civ1.NewDefaultLDPProofParser(),
}))

refresh.RegisterHandlers(e, refresh.NewController(&refresh.Config{
RefreshService: refreshService,
ProfileService: issuerProfileSvc,
ProofChecker: proofChecker,
DocumentLoader: documentLoader,
IssuerVCSPublicHost: conf.StartupParameters.hostURLExternal,
}))

oidc4vpv1.RegisterHandlers(e, oidc4vpv1.NewController(&oidc4vpv1.Config{
HTTPClient: getHTTPClient(metricsProvider.ClientOIDC4PV1),
ExternalHostURL: conf.StartupParameters.hostURLExternal, // use host external as this url will be called internally
Expand All @@ -864,6 +901,7 @@ func buildEchoHandler(
Tracer: conf.Tracer,
OpenidIssuerConfigProvider: openidCredentialIssuerConfigProviderSvc,
JSONSchemaValidator: jsonSchemaValidator,
CredentialRefreshService: refreshService,
}))

// Verifier Profile Management API
Expand All @@ -878,18 +916,6 @@ func buildEchoHandler(
return nil, err
}

var verifyPresentationSvc verifypresentation.ServiceInterface

verifyPresentationSvc = verifypresentation.New(&verifypresentation.Config{
VcVerifier: verifyCredentialSvc,
DocumentLoader: documentLoader,
VDR: conf.VDR,
})

if conf.IsTraceEnabled {
verifyPresentationSvc = verifypresentationtracing.Wrap(verifyPresentationSvc, conf.Tracer)
}

oidc4vpTxStore, err := getOIDC4VPTxStore(
conf.StartupParameters.transientDataParams.storeType,
redisClient,
Expand Down
4 changes: 2 additions & 2 deletions component/credentialstatus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ require (
github.com/piprate/json-gold v0.5.1-0.20230111113000-6ddbe6e6f19f
github.com/spf13/cobra v1.7.0
github.com/stretchr/testify v1.8.4
github.com/trustbloc/did-go v1.2.1
github.com/trustbloc/did-go v1.2.2-0.20240812120408-296eef43066c
github.com/trustbloc/kms-go v1.1.2
github.com/trustbloc/logutil-go v1.0.0
github.com/trustbloc/sidetree-go v1.0.1-0.20240219121130-f4260aff7104
github.com/trustbloc/vc-go v1.1.3-0.20240723144917-8cb417a4df0f
github.com/trustbloc/vc-go v1.1.3-0.20240812120453-d214be231fa3
github.com/trustbloc/vcs v0.0.0-00010101000000-000000000000
)

Expand Down
8 changes: 4 additions & 4 deletions component/credentialstatus/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -447,16 +447,16 @@ github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY=
github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28=
github.com/trustbloc/bbs-signature-go v1.0.2 h1:gepEsbLiZHv/vva9FKG5gF38mGtOIyGez7desZxiI1o=
github.com/trustbloc/bbs-signature-go v1.0.2/go.mod h1:xYotcXHAbcE0TO+SteW0J6XI3geQaXq4wdnXR2k+XCU=
github.com/trustbloc/did-go v1.2.1 h1:SEOmPX+x2JlE6+jjjJp82yCCusoJ4/67zQ2ST6ytfSc=
github.com/trustbloc/did-go v1.2.1/go.mod h1:packTRoBoo8DrwOE7QKsI98xXS3Vf6ovUXYD4FUAcB4=
github.com/trustbloc/did-go v1.2.2-0.20240812120408-296eef43066c h1:tfQAZz0NfqQCIQYphcYvih7X/s3uNnaV8oo5/RCAh9E=
github.com/trustbloc/did-go v1.2.2-0.20240812120408-296eef43066c/go.mod h1:packTRoBoo8DrwOE7QKsI98xXS3Vf6ovUXYD4FUAcB4=
github.com/trustbloc/kms-go v1.1.2 h1:nAlhDoHkSyX1eQFRz/sJsdgmJuNadyX7FJEy/9ROwys=
github.com/trustbloc/kms-go v1.1.2/go.mod h1:OKOtsLbE6W5s4mpjWkvk8XEqcmt9vTgVmDNkHELpWO0=
github.com/trustbloc/logutil-go v1.0.0 h1:KzNs9TRbnmn+M3oYw9UkrtOjNd3ZGO8aLgfYttMypcE=
github.com/trustbloc/logutil-go v1.0.0/go.mod h1:JlxT0oZfNKgIlSNtgc001WEeDMxlnAvOM43gNm8DQVc=
github.com/trustbloc/sidetree-go v1.0.1-0.20240219121130-f4260aff7104 h1:0IW4muaGvhjJ4OkG6/PQG3DGf5POWxlA1wwEYsxWQ+4=
github.com/trustbloc/sidetree-go v1.0.1-0.20240219121130-f4260aff7104/go.mod h1:3yChjB5KOT7B9eZe0W1XaIx3MNUuC1Oe9nR/GCtI1W0=
github.com/trustbloc/vc-go v1.1.3-0.20240723144917-8cb417a4df0f h1:v/Gf89EK2vCk2uj9bK+zmoTAQiJEXH9I2p3fYBiNLrg=
github.com/trustbloc/vc-go v1.1.3-0.20240723144917-8cb417a4df0f/go.mod h1:7GkmcXtK5FNbfxypAZAVg8eM9PVnGJ/lmQo7gQgsjKk=
github.com/trustbloc/vc-go v1.1.3-0.20240812120453-d214be231fa3 h1:8a0SvG1JD0bE/ia52zpCKRgzhlt7awmtJSCcEKlNf/A=
github.com/trustbloc/vc-go v1.1.3-0.20240812120453-d214be231fa3/go.mod h1:8AZhLCWqGKSt5KBaLlG+3yIzISeDBShEQyNqBpVxE14=
github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw=
github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc=
github.com/valyala/fasttemplate v1.2.1 h1:TVEnxayobAdVkhQfrfes2IzOB6o+z4roRkPF52WA1u4=
Expand Down
4 changes: 2 additions & 2 deletions component/event/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ require (
github.com/stretchr/testify v1.8.4
github.com/trustbloc/cmdutil-go v1.0.0
github.com/trustbloc/logutil-go v1.0.0
github.com/trustbloc/vc-go v1.1.3-0.20240723144917-8cb417a4df0f
github.com/trustbloc/vc-go v1.1.3-0.20240812120453-d214be231fa3
github.com/trustbloc/vcs v0.0.0-00010101000000-000000000000
go.opentelemetry.io/otel/trace v1.22.0
)
Expand Down Expand Up @@ -110,7 +110,7 @@ require (
github.com/tidwall/pretty v1.2.1 // indirect
github.com/tidwall/sjson v1.2.5 // indirect
github.com/trustbloc/bbs-signature-go v1.0.2 // indirect
github.com/trustbloc/did-go v1.2.1 // indirect
github.com/trustbloc/did-go v1.2.2-0.20240812120408-296eef43066c // indirect
github.com/trustbloc/kms-go v1.1.2 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasttemplate v1.2.1 // indirect
Expand Down
8 changes: 4 additions & 4 deletions component/event/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -433,14 +433,14 @@ github.com/trustbloc/bbs-signature-go v1.0.2 h1:gepEsbLiZHv/vva9FKG5gF38mGtOIyGe
github.com/trustbloc/bbs-signature-go v1.0.2/go.mod h1:xYotcXHAbcE0TO+SteW0J6XI3geQaXq4wdnXR2k+XCU=
github.com/trustbloc/cmdutil-go v1.0.0 h1:QCe7wVEIASWmy9ZDD0l0tsQCEsX6fx+kBFX5UqCVRdk=
github.com/trustbloc/cmdutil-go v1.0.0/go.mod h1:o/v7C1z6d/5UrjaC6GAUc1hk0XVuE3M4tpyvsMMUw5k=
github.com/trustbloc/did-go v1.2.1 h1:SEOmPX+x2JlE6+jjjJp82yCCusoJ4/67zQ2ST6ytfSc=
github.com/trustbloc/did-go v1.2.1/go.mod h1:packTRoBoo8DrwOE7QKsI98xXS3Vf6ovUXYD4FUAcB4=
github.com/trustbloc/did-go v1.2.2-0.20240812120408-296eef43066c h1:tfQAZz0NfqQCIQYphcYvih7X/s3uNnaV8oo5/RCAh9E=
github.com/trustbloc/did-go v1.2.2-0.20240812120408-296eef43066c/go.mod h1:packTRoBoo8DrwOE7QKsI98xXS3Vf6ovUXYD4FUAcB4=
github.com/trustbloc/kms-go v1.1.2 h1:nAlhDoHkSyX1eQFRz/sJsdgmJuNadyX7FJEy/9ROwys=
github.com/trustbloc/kms-go v1.1.2/go.mod h1:OKOtsLbE6W5s4mpjWkvk8XEqcmt9vTgVmDNkHELpWO0=
github.com/trustbloc/logutil-go v1.0.0 h1:KzNs9TRbnmn+M3oYw9UkrtOjNd3ZGO8aLgfYttMypcE=
github.com/trustbloc/logutil-go v1.0.0/go.mod h1:JlxT0oZfNKgIlSNtgc001WEeDMxlnAvOM43gNm8DQVc=
github.com/trustbloc/vc-go v1.1.3-0.20240723144917-8cb417a4df0f h1:v/Gf89EK2vCk2uj9bK+zmoTAQiJEXH9I2p3fYBiNLrg=
github.com/trustbloc/vc-go v1.1.3-0.20240723144917-8cb417a4df0f/go.mod h1:7GkmcXtK5FNbfxypAZAVg8eM9PVnGJ/lmQo7gQgsjKk=
github.com/trustbloc/vc-go v1.1.3-0.20240812120453-d214be231fa3 h1:8a0SvG1JD0bE/ia52zpCKRgzhlt7awmtJSCcEKlNf/A=
github.com/trustbloc/vc-go v1.1.3-0.20240812120453-d214be231fa3/go.mod h1:8AZhLCWqGKSt5KBaLlG+3yIzISeDBShEQyNqBpVxE14=
github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw=
github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc=
github.com/valyala/fasttemplate v1.2.1 h1:TVEnxayobAdVkhQfrfes2IzOB6o+z4roRkPF52WA1u4=
Expand Down
4 changes: 2 additions & 2 deletions component/profile/reader/file/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ require (
github.com/spf13/cobra v1.7.0
github.com/stretchr/testify v1.8.4
github.com/trustbloc/cmdutil-go v1.0.0
github.com/trustbloc/did-go v1.2.1
github.com/trustbloc/did-go v1.2.2-0.20240812120408-296eef43066c
github.com/trustbloc/kms-go v1.1.2
github.com/trustbloc/logutil-go v1.0.0
github.com/trustbloc/sidetree-go v1.0.1-0.20240219121130-f4260aff7104
Expand Down Expand Up @@ -120,7 +120,7 @@ require (
github.com/tidwall/pretty v1.2.1 // indirect
github.com/tidwall/sjson v1.2.5 // indirect
github.com/trustbloc/bbs-signature-go v1.0.2 // indirect
github.com/trustbloc/vc-go v1.1.3-0.20240723144917-8cb417a4df0f // indirect
github.com/trustbloc/vc-go v1.1.3-0.20240812120453-d214be231fa3 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasttemplate v1.2.1 // indirect
github.com/veraison/go-cose v1.1.1-0.20240126165338-2300d5c96dbd // indirect
Expand Down
8 changes: 4 additions & 4 deletions component/profile/reader/file/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -451,16 +451,16 @@ github.com/trustbloc/bbs-signature-go v1.0.2 h1:gepEsbLiZHv/vva9FKG5gF38mGtOIyGe
github.com/trustbloc/bbs-signature-go v1.0.2/go.mod h1:xYotcXHAbcE0TO+SteW0J6XI3geQaXq4wdnXR2k+XCU=
github.com/trustbloc/cmdutil-go v1.0.0 h1:QCe7wVEIASWmy9ZDD0l0tsQCEsX6fx+kBFX5UqCVRdk=
github.com/trustbloc/cmdutil-go v1.0.0/go.mod h1:o/v7C1z6d/5UrjaC6GAUc1hk0XVuE3M4tpyvsMMUw5k=
github.com/trustbloc/did-go v1.2.1 h1:SEOmPX+x2JlE6+jjjJp82yCCusoJ4/67zQ2ST6ytfSc=
github.com/trustbloc/did-go v1.2.1/go.mod h1:packTRoBoo8DrwOE7QKsI98xXS3Vf6ovUXYD4FUAcB4=
github.com/trustbloc/did-go v1.2.2-0.20240812120408-296eef43066c h1:tfQAZz0NfqQCIQYphcYvih7X/s3uNnaV8oo5/RCAh9E=
github.com/trustbloc/did-go v1.2.2-0.20240812120408-296eef43066c/go.mod h1:packTRoBoo8DrwOE7QKsI98xXS3Vf6ovUXYD4FUAcB4=
github.com/trustbloc/kms-go v1.1.2 h1:nAlhDoHkSyX1eQFRz/sJsdgmJuNadyX7FJEy/9ROwys=
github.com/trustbloc/kms-go v1.1.2/go.mod h1:OKOtsLbE6W5s4mpjWkvk8XEqcmt9vTgVmDNkHELpWO0=
github.com/trustbloc/logutil-go v1.0.0 h1:KzNs9TRbnmn+M3oYw9UkrtOjNd3ZGO8aLgfYttMypcE=
github.com/trustbloc/logutil-go v1.0.0/go.mod h1:JlxT0oZfNKgIlSNtgc001WEeDMxlnAvOM43gNm8DQVc=
github.com/trustbloc/sidetree-go v1.0.1-0.20240219121130-f4260aff7104 h1:0IW4muaGvhjJ4OkG6/PQG3DGf5POWxlA1wwEYsxWQ+4=
github.com/trustbloc/sidetree-go v1.0.1-0.20240219121130-f4260aff7104/go.mod h1:3yChjB5KOT7B9eZe0W1XaIx3MNUuC1Oe9nR/GCtI1W0=
github.com/trustbloc/vc-go v1.1.3-0.20240723144917-8cb417a4df0f h1:v/Gf89EK2vCk2uj9bK+zmoTAQiJEXH9I2p3fYBiNLrg=
github.com/trustbloc/vc-go v1.1.3-0.20240723144917-8cb417a4df0f/go.mod h1:7GkmcXtK5FNbfxypAZAVg8eM9PVnGJ/lmQo7gQgsjKk=
github.com/trustbloc/vc-go v1.1.3-0.20240812120453-d214be231fa3 h1:8a0SvG1JD0bE/ia52zpCKRgzhlt7awmtJSCcEKlNf/A=
github.com/trustbloc/vc-go v1.1.3-0.20240812120453-d214be231fa3/go.mod h1:8AZhLCWqGKSt5KBaLlG+3yIzISeDBShEQyNqBpVxE14=
github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw=
github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc=
github.com/valyala/fasttemplate v1.2.1 h1:TVEnxayobAdVkhQfrfes2IzOB6o+z4roRkPF52WA1u4=
Expand Down
78 changes: 0 additions & 78 deletions component/profile/reader/file/reader_test.go

This file was deleted.

Loading
Loading