diff --git a/Makefile b/Makefile index ec506649..4a46597d 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ GOBIN_PATH = $(abspath .)/build/bin ARIES_AGENT_REST_PATH=cmd/agent-rest ARIES_AGENT_MOBILE_PATH=cmd/agent-mobile -ARIES_FRAMEWORK_COMMIT=8094fee88506631ebf1f8a4dff64d99150bcb01d +ARIES_FRAMEWORK_COMMIT=v0.1.6 PROJECT_ROOT = github.com/trustbloc/agent-sdk OPENAPI_SPEC_PATH=build/rest/openapi/spec OPENAPI_DOCKER_IMG=quay.io/goswagger/swagger diff --git a/ci/version_var.sh b/ci/version_var.sh index 6c0430c3..9c4ccbd2 100644 --- a/ci/version_var.sh +++ b/ci/version_var.sh @@ -6,7 +6,7 @@ # Release Parameters BASE_VERSION=0.1.6 -IS_RELEASE=false +IS_RELEASE=true SOURCE_REPO=agent-sdk RELEASE_REPO=trustbloc/${SOURCE_REPO} diff --git a/cmd/agent-js-worker/go.mod b/cmd/agent-js-worker/go.mod index 1dee30ae..a3081fcb 100644 --- a/cmd/agent-js-worker/go.mod +++ b/cmd/agent-js-worker/go.mod @@ -4,23 +4,23 @@ module github.com/trustbloc/agent-sdk/cmd/agent-js-worker -replace github.com/trustbloc/agent-sdk => ../.. - go 1.15 require ( github.com/btcsuite/btcd v0.21.0-beta github.com/google/tink/go v1.5.0 github.com/google/uuid v1.2.0 - github.com/hyperledger/aries-framework-go v0.1.6-0.20210306141947-8094fee88506 - github.com/hyperledger/aries-framework-go-ext/component/vdr/trustbloc v0.0.0-20210305233053-d3d22c802c12 - github.com/hyperledger/aries-framework-go/component/storage/edv v0.0.0-20210306141947-8094fee88506 - github.com/hyperledger/aries-framework-go/component/storage/indexeddb v0.0.0-20210306141947-8094fee88506 - github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210306141947-8094fee88506 - github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306141947-8094fee88506 + github.com/hyperledger/aries-framework-go v0.1.6 + github.com/hyperledger/aries-framework-go-ext/component/vdr/trustbloc v0.0.0-20210306194409-6e4c5d622fbc + github.com/hyperledger/aries-framework-go/component/storage/edv v0.0.0-20210306162754-1a1e0c4a378e + github.com/hyperledger/aries-framework-go/component/storage/indexeddb v0.0.0-20210306162754-1a1e0c4a378e + github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210306162754-1a1e0c4a378e + github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306162754-1a1e0c4a378e github.com/mitchellh/mapstructure v1.3.3 github.com/stretchr/testify v1.7.0 github.com/trustbloc/agent-sdk v0.0.0-00010101000000-000000000000 - github.com/trustbloc/edge-core v0.1.6-0.20210306154041-63c6b31a177c - github.com/trustbloc/kms v0.1.6-0.20210306112542-4ebac0ebd739 + github.com/trustbloc/edge-core v0.1.6 + github.com/trustbloc/kms v0.1.6 ) + +replace github.com/trustbloc/agent-sdk => ../.. diff --git a/cmd/agent-js-worker/go.sum b/cmd/agent-js-worker/go.sum index 892d8e9e..ed6fc545 100644 --- a/cmd/agent-js-worker/go.sum +++ b/cmd/agent-js-worker/go.sum @@ -1,5 +1,4 @@ bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8= -bou.ke/monkey v1.0.1/go.mod h1:FgHuK96Rv2Nlf+0u1OOVDpCMdsWyOFmeeketDHE7LIg= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= @@ -232,10 +231,8 @@ github.com/evanphx/json-patch v4.1.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLi github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= -github.com/flimzy/diff v0.1.5/go.mod h1:lFJtC7SPsK0EroDmGTSrdtWKAxOk3rO+q+e04LL05Hs= github.com/flimzy/diff v0.1.6/go.mod h1:lFJtC7SPsK0EroDmGTSrdtWKAxOk3rO+q+e04LL05Hs= github.com/flimzy/testy v0.1.16/go.mod h1:3szguN8NXqgq9bt9Gu8TQVj698PJWmyx/VY1frwwKrM= -github.com/flimzy/testy v0.1.17-0.20190521133342-95b386c3ece6/go.mod h1:3szguN8NXqgq9bt9Gu8TQVj698PJWmyx/VY1frwwKrM= github.com/frankban/quicktest v1.4.0/go.mod h1:36zfPVQyHxymz4cH7wlDmVwDrJuljRB60qkgn7rorfQ= github.com/frankban/quicktest v1.4.1/go.mod h1:36zfPVQyHxymz4cH7wlDmVwDrJuljRB60qkgn7rorfQ= github.com/frankban/quicktest v1.10.0/go.mod h1:ui7WezCLWMWxVWr1GETZY3smRy0G4KWq9vcPtJmFl7Y= @@ -253,13 +250,8 @@ github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2 github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kivik/couchdb v2.0.0+incompatible/go.mod h1:5XJRkAMpBlEVA4q0ktIZjUPYBjoBmRoiWvwUBzP3BOQ= -github.com/go-kivik/couchdb/v3 v3.2.5/go.mod h1:tUgf+ftTYkkNPyHskJW2O+6I1NUQvg7ucooVvhPQcxg= github.com/go-kivik/kivik v2.0.0+incompatible/go.mod h1:nIuJ8z4ikBrVUSk3Ua8NoDqYKULPNjuddjqRvlSUyyQ= -github.com/go-kivik/kivik/v3 v3.0.1/go.mod h1:7tmQDvkta/pcijpUjLMsQ9HJUELiKD5zm6jQ3Gb9cxE= -github.com/go-kivik/kivik/v3 v3.2.0/go.mod h1:chqVuHKAU9j2C7qL0cAH2FCO26oL+0B4aIBeCRMnLa8= -github.com/go-kivik/kivik/v3 v3.2.3/go.mod h1:chqVuHKAU9j2C7qL0cAH2FCO26oL+0B4aIBeCRMnLa8= github.com/go-kivik/kiviktest v2.0.0+incompatible/go.mod h1:JdhVyzixoYhoIDUt6hRf1yAfYyaDa5/u9SDOindDkfQ= -github.com/go-kivik/kiviktest/v3 v3.0.3/go.mod h1:sqsz3M2sJxTxAUdOj+2SU21y4phcpYc0FJIn+hbf1D0= github.com/go-ldap/ldap v3.0.2+incompatible/go.mod h1:qfd9rJvER9Q0/D/Sqn1DfHRoBp40uXYvFoEVrNEPqRc= github.com/go-ldap/ldap/v3 v3.1.3/go.mod h1:3rbOH3jRS2u6jg2rJnKAMLE/xQyCKIveG2Sa/Cohzb8= github.com/go-ldap/ldap/v3 v3.1.10/go.mod h1:5Zun81jBTabRaI8lzN7E1JjyEl1g6zI6u9pd8luAK4Q= @@ -362,10 +354,8 @@ github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+ github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= github.com/gopherjs/gopherjs v0.0.0-20180628210949-0892b62f0d9f/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= -github.com/gopherjs/gopherjs v0.0.0-20180825215210-0210a2f0f73c/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gopherjs/gopherjs v0.0.0-20200209183636-89e6cbcd0b6d/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= -github.com/gopherjs/gopherjs v0.0.0-20200217142428-fce0ec30dd00/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gorhill/cronexpr v0.0.0-20180427100037-88b0669f7d75/go.mod h1:g2644b03hfBX9Ov0ZBDgXXens4rxSxmqFBbhvKv2yVA= github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= @@ -376,9 +366,8 @@ github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+ github.com/gorilla/sessions v1.2.0/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM= github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= +github.com/gorilla/websocket v1.4.1 h1:q7AeDBpnBk8AogcD4DSag/Ukw/KV+YhzLj2bP5HvKCM= github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= -github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/gotestyourself/gotestyourself v2.2.0+incompatible/go.mod h1:zZKM6oeNM8k+FRljX1mnzVYeS8wiGgQyvST1/GafPbY= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= @@ -505,42 +494,35 @@ github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod h1:+NfK9FKe github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huaweicloud/golangsdk v0.0.0-20200304081349-45ec0797f2a4/go.mod h1:WQBcHRNX9shz3928lWEvstQJtAtYI7ks6XlgtRT9Tcw= -github.com/hyperledger/aries-framework-go v0.1.6-0.20210120000618-bdf82385e9df/go.mod h1:CB1aCGsuCC/U+mJ43aU5Nx7s6iCYOVquO7kCUn8tVhY= github.com/hyperledger/aries-framework-go v0.1.6-0.20210224230531-58e1368e5661/go.mod h1:A6SHE7BuL1x88YN15R+MT8yG59zv2L4gE141Ou4tJJ4= github.com/hyperledger/aries-framework-go v0.1.6-0.20210225161605-5a3ea609e830/go.mod h1:uzv9LEnmNwl+3KDTns5H9hoa31dpKdZeEDijoRQQDpM= github.com/hyperledger/aries-framework-go v0.1.6-0.20210226235232-298aa129d822/go.mod h1:uzv9LEnmNwl+3KDTns5H9hoa31dpKdZeEDijoRQQDpM= -github.com/hyperledger/aries-framework-go v0.1.6-0.20210304143139-eb97711ddc73/go.mod h1:uzv9LEnmNwl+3KDTns5H9hoa31dpKdZeEDijoRQQDpM= -github.com/hyperledger/aries-framework-go v0.1.6-0.20210306003819-79bbc2abaa5f/go.mod h1:9y5nXHe7XLoyah/VdnC9hYqo3nDisnbGNq17CE69Az0= -github.com/hyperledger/aries-framework-go v0.1.6-0.20210306141947-8094fee88506 h1:rAZgnkTQOc/qysglCs4W4t3s288Anius0Ac65ljGqx0= -github.com/hyperledger/aries-framework-go v0.1.6-0.20210306141947-8094fee88506/go.mod h1:9y5nXHe7XLoyah/VdnC9hYqo3nDisnbGNq17CE69Az0= -github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v0.0.0-20210121210840-ee9984a4579c/go.mod h1:QbfFi1eodurSG8dvhPDWWLrYmNJBrbxeviUnQ/Y1lyo= -github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v0.0.0-20210305233053-d3d22c802c12 h1:pM042ATEvEuPHFn8JUQ/1GaU4WWt1yhu2x+221QwfcY= +github.com/hyperledger/aries-framework-go v0.1.6 h1:WhWsnMkBXL28cmSphcEpy2Unmt99iCNy5CQs1pplv+o= +github.com/hyperledger/aries-framework-go v0.1.6/go.mod h1:9y5nXHe7XLoyah/VdnC9hYqo3nDisnbGNq17CE69Az0= github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v0.0.0-20210305233053-d3d22c802c12/go.mod h1:AJK0RcrFYqTryBT7zMEdd1L/lS4Wh77pEYARfF19pl0= -github.com/hyperledger/aries-framework-go-ext/component/vdr/trustbloc v0.0.0-20210305233053-d3d22c802c12 h1:bsErV/ETNQZLly4k8ghZE7idwQRE+LWZVHGBE8t+SGw= -github.com/hyperledger/aries-framework-go-ext/component/vdr/trustbloc v0.0.0-20210305233053-d3d22c802c12/go.mod h1:IatjCr3jzgIZ17ngAuRzINLCa8K7SiGel8rqn7BN6yA= -github.com/hyperledger/aries-framework-go/component/storage/edv v0.0.0-20210306003819-79bbc2abaa5f/go.mod h1:naziJOKqyuYjToExWoc10a1KbAxqLfkHrGQ/BOyAQYU= -github.com/hyperledger/aries-framework-go/component/storage/edv v0.0.0-20210306141947-8094fee88506 h1:4arlklh8f/O5+9zaDOoXprleD0lTgkea14MegzVLTIM= -github.com/hyperledger/aries-framework-go/component/storage/edv v0.0.0-20210306141947-8094fee88506/go.mod h1:naziJOKqyuYjToExWoc10a1KbAxqLfkHrGQ/BOyAQYU= -github.com/hyperledger/aries-framework-go/component/storage/indexeddb v0.0.0-20210306141947-8094fee88506 h1:JwCGVYjjVaDPjD5SDjwse7xnosmExgQ6anc5FSnb84E= -github.com/hyperledger/aries-framework-go/component/storage/indexeddb v0.0.0-20210306141947-8094fee88506/go.mod h1:BQkoyxcSsDUmHmcuyjewla4191AsbSGIxbpjMizH8i0= +github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v0.0.0-20210306194409-6e4c5d622fbc h1:e07ZYWj6yTw+S2f8/V6MzFm0r8WJt75dDMYuAbtDEA8= +github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v0.0.0-20210306194409-6e4c5d622fbc/go.mod h1:CCwcW0o79nghyByFDPGsTr6WB4UOS8dHJPapZF5nS1o= +github.com/hyperledger/aries-framework-go-ext/component/vdr/trustbloc v0.0.0-20210306194409-6e4c5d622fbc h1:uSilnTLUwR4bZ0b9dAZjImks78S7dFnplbXP4y61ucw= +github.com/hyperledger/aries-framework-go-ext/component/vdr/trustbloc v0.0.0-20210306194409-6e4c5d622fbc/go.mod h1:T9WQgPN9KkJjOC1BQuOREWPb5WtIHezr6XA1cR9ioKo= +github.com/hyperledger/aries-framework-go/component/storage/edv v0.0.0-20210306162754-1a1e0c4a378e h1:+ZGwGEIUtfe05LlfL54rV3n/fgLP14dwqL5JS8MmLgE= +github.com/hyperledger/aries-framework-go/component/storage/edv v0.0.0-20210306162754-1a1e0c4a378e/go.mod h1:naziJOKqyuYjToExWoc10a1KbAxqLfkHrGQ/BOyAQYU= +github.com/hyperledger/aries-framework-go/component/storage/indexeddb v0.0.0-20210306162754-1a1e0c4a378e h1:UT1dPQUf/rnD43LrOcU7yIiRWfUOaU3ExuMMs2LJHps= +github.com/hyperledger/aries-framework-go/component/storage/indexeddb v0.0.0-20210306162754-1a1e0c4a378e/go.mod h1:BQkoyxcSsDUmHmcuyjewla4191AsbSGIxbpjMizH8i0= github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210224230531-58e1368e5661/go.mod h1:XaPVDJcbQT8BKmThfQdWPc+hgicHFAQzSOavHw2gn/4= github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210226235232-298aa129d822/go.mod h1:fY0WvoaJjwnUilPLQww96UqOhYa08gs3xIfOv6j1CR8= -github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210306003819-79bbc2abaa5f/go.mod h1:zOolL2VqWj6+SPe13nrK0oo5QUOfQZQKB0j1iQsje0k= -github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210306141947-8094fee88506 h1:8QF++KOO6hHq7BMhJRWvOnJ6yEELFzGTRfvBW1wZDDk= -github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210306141947-8094fee88506/go.mod h1:zOolL2VqWj6+SPe13nrK0oo5QUOfQZQKB0j1iQsje0k= +github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210306162754-1a1e0c4a378e h1:URJyY4dIAT3f6Sv5J5NRZwPhYsHWEj7EDAUWM7topE4= +github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210306162754-1a1e0c4a378e/go.mod h1:zOolL2VqWj6+SPe13nrK0oo5QUOfQZQKB0j1iQsje0k= github.com/hyperledger/aries-framework-go/spi v0.0.0-20210205153949-f852f978a0d6/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= github.com/hyperledger/aries-framework-go/spi v0.0.0-20210208194322-89066ddae325/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= github.com/hyperledger/aries-framework-go/spi v0.0.0-20210210184327-0b9d0fd4c34e/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= github.com/hyperledger/aries-framework-go/spi v0.0.0-20210224230531-58e1368e5661/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= github.com/hyperledger/aries-framework-go/spi v0.0.0-20210226235232-298aa129d822/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= -github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306003819-79bbc2abaa5f/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= -github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306141947-8094fee88506 h1:wqbkK/bmCYGC0aBCuKwGGtloSPp8a92cjvJtL0qxWKI= -github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306141947-8094fee88506/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= +github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306162754-1a1e0c4a378e h1:7ZReAvT1KFcgu0MguComTQr7KQJANl29/7YyCiSmDRw= +github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306162754-1a1e0c4a378e/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210219073333-c46e84ce678f/go.mod h1:/ljIFCu5iDIziwuvObF0vEc3fJ5dgDpT8RYAhQdNeHI= github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210225210554-4f581697f7ec/go.mod h1:6Za6hvu+eZDPerePXIlMuBWbQZDKqTgOrKV56WZMtcI= +github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210226235232-298aa129d822 h1:mB8V4lnFZT1cL2lA8C0aVL7C1xPFgtyUXYrdPGg1cZ4= github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210226235232-298aa129d822/go.mod h1:6Za6hvu+eZDPerePXIlMuBWbQZDKqTgOrKV56WZMtcI= -github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210304193329-f56b2cebc386 h1:LLJg+gSy+yPGtdYQopGMI4/C4LA9ZTFkomA4c83q0Ow= -github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210304193329-f56b2cebc386/go.mod h1:6Za6hvu+eZDPerePXIlMuBWbQZDKqTgOrKV56WZMtcI= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/igor-pavlenko/httpsignatures-go v0.0.21/go.mod h1:3LVsCi3evlfQSNDKMTg3uElxEP8SjK3/Q5N9I8GU9W0= github.com/igor-pavlenko/httpsignatures-go v0.0.23 h1:b+bo2vox5fwHKGiGfnu9/L5gM6RwSBdKQMPi48scAj4= @@ -710,8 +692,6 @@ github.com/ory/dockertest v3.3.4+incompatible/go.mod h1:1vX4m9wsvi00u5bseYwXaSnh github.com/ory/dockertest v3.3.5+incompatible/go.mod h1:1vX4m9wsvi00u5bseYwXaSnhNrne+V0E6LAcBILJdPs= github.com/otiai10/copy v1.0.2/go.mod h1:c7RpqBkwMom4bYTSkLSym4VSJz/XtncWRAj/J4PEIMY= github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE= -github.com/otiai10/curr v0.0.0-20190513014714-f5a3d24e5776/go.mod h1:3HNVkVOU7vZeFXocWuvtcS0XSFLcf2XUSDHkq9t1jU4= -github.com/otiai10/mint v1.2.4/go.mod h1:d+b7n/0R3tdyUYYylALXpWQ/kTN+QobSq/4SRGBkR3M= github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT91xUo= github.com/oxtoacart/bpool v0.0.0-20150712133111-4e1c5567d7c2/go.mod h1:L3UMQOThbttwfYRNFOWLLVXMhk5Lkio4GGOtw5UrxS0= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= @@ -848,14 +828,13 @@ github.com/tidwall/sjson v1.1.4/go.mod h1:wXpKXu8CtDjKAZ+3DrKY5ROCorDFahq8l0tey/ github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/trustbloc/edge-core v0.1.4-0.20200709143857-e104bb29f6c6/go.mod h1:SZg7nAIc9FONS+G7MwEyGkCWCJR3R02bePwTpWxqH5w= -github.com/trustbloc/edge-core v0.1.6-0.20210305000733-14a89fe44ae8/go.mod h1:9EpMlnbEHaGEfHQnG46t0myIIl/V4IaZpp1gepH3V5s= -github.com/trustbloc/edge-core v0.1.6-0.20210306154041-63c6b31a177c h1:mtHljL/Nph8ezbEzqW63YHP3/N78zQvs0Qa9N9+kHS8= -github.com/trustbloc/edge-core v0.1.6-0.20210306154041-63c6b31a177c/go.mod h1:0bgrOLQqELfllE3XucakbudmlnGK+jnQZW6iDufl4Hc= -github.com/trustbloc/kms v0.1.6-0.20210306112542-4ebac0ebd739 h1:RAvtmbsecqt7tcc00xDzOG5Fyi9GexigQ4pgXZt5EbI= -github.com/trustbloc/kms v0.1.6-0.20210306112542-4ebac0ebd739/go.mod h1:HcEwhYFD/uacY1qyPJReIu78rXK0kMP/zic1RxbY+O8= -github.com/trustbloc/sidetree-core-go v0.1.6-0.20201217192009-0d2b4436912f/go.mod h1:prRWqxBavkSxgKtPmUriSxCemrvl47yStMbW4jMFuRs= -github.com/trustbloc/sidetree-core-go v0.1.6-0.20210301232849-50c4792e1ca1 h1:nHhN9RbX4aiZ90y+g5rmJwCdS+OgT0WWTtRfNX1D4J8= +github.com/trustbloc/edge-core v0.1.6 h1:h+FWfBCvx/sMNvrb3TXOaB2HP023bGnVSOthNYKBduI= +github.com/trustbloc/edge-core v0.1.6/go.mod h1:dZOe6xQN/jWHIsRJzZW0hqmRXT+GmYYkN4O/yHAYQII= +github.com/trustbloc/kms v0.1.6 h1:9HJuaoErcey8YsxZSJKY3BdZWnPGMZIwtQ5BdvDacdA= +github.com/trustbloc/kms v0.1.6/go.mod h1:J71G5Qlf5ymPaheOsn1BVgh9Jk1ENmZCNCV1aYLdDxA= github.com/trustbloc/sidetree-core-go v0.1.6-0.20210301232849-50c4792e1ca1/go.mod h1:prRWqxBavkSxgKtPmUriSxCemrvl47yStMbW4jMFuRs= +github.com/trustbloc/sidetree-core-go v0.6.0 h1:fXXVcaTm5Ceq1FQYSaynmvgP4xCh4AO4paMOXTakG5E= +github.com/trustbloc/sidetree-core-go v0.6.0/go.mod h1:prRWqxBavkSxgKtPmUriSxCemrvl47yStMbW4jMFuRs= github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= @@ -880,8 +859,6 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= gitlab.com/flimzy/testy v0.0.2/go.mod h1:YObF4cq711ubd/3U0ydRQQVz7Cnq/ChgJpVwNr/AJac= -gitlab.com/flimzy/testy v0.0.3/go.mod h1:YObF4cq711ubd/3U0ydRQQVz7Cnq/ChgJpVwNr/AJac= -gitlab.com/flimzy/testy v0.3.2/go.mod h1:YObF4cq711ubd/3U0ydRQQVz7Cnq/ChgJpVwNr/AJac= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.4/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= go.etcd.io/etcd v0.5.0-alpha.5.0.20200425165423-262c93980547/go.mod h1:YoUyTScD3Vcv2RBm3eGVOq7i1ULiz3OuXoQFWOirmAM= @@ -1004,7 +981,6 @@ golang.org/x/net v0.0.0-20200602114024-627f9648deb9/go.mod h1:qpuaurCH72eLCgpAm/ golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb h1:eBmm0M9fYhWpKZLjQUUKka/LtIxf46G4fxeEz5KJr9U= golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= diff --git a/cmd/agent-mobile/go.mod b/cmd/agent-mobile/go.mod index acb86862..9334d6bf 100644 --- a/cmd/agent-mobile/go.mod +++ b/cmd/agent-mobile/go.mod @@ -8,11 +8,11 @@ go 1.15 require ( github.com/google/uuid v1.2.0 - github.com/hyperledger/aries-framework-go v0.1.6-0.20210306141947-8094fee88506 - github.com/hyperledger/aries-framework-go-ext/component/vdr/trustbloc v0.0.0-20210305233053-d3d22c802c12 - github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210306141947-8094fee88506 - github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306141947-8094fee88506 - github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210304193329-f56b2cebc386 + github.com/hyperledger/aries-framework-go v0.1.6 + github.com/hyperledger/aries-framework-go-ext/component/vdr/trustbloc v0.0.0-20210306194409-6e4c5d622fbc + github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210306162754-1a1e0c4a378e + github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306162754-1a1e0c4a378e + github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210306162754-1a1e0c4a378e github.com/stretchr/testify v1.7.0 github.com/trustbloc/agent-sdk v0.0.0-00010101000000-000000000000 nhooyr.io/websocket v1.8.3 diff --git a/cmd/agent-mobile/go.sum b/cmd/agent-mobile/go.sum index 8a6990c3..1297b7e8 100644 --- a/cmd/agent-mobile/go.sum +++ b/cmd/agent-mobile/go.sum @@ -143,9 +143,8 @@ github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792/go.mod h1:ghJtE github.com/btcsuite/winsvc v1.0.0/go.mod h1:jsenWakMcC0zFBFurPLEAyrnc/teJEM1O46fmI40EZs= github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4= github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= +github.com/cenkalti/backoff/v4 v4.0.2 h1:JIufpQLbh4DkbQoii76ItQIUFzevQSqOLZca4eamEDs= github.com/cenkalti/backoff/v4 v4.0.2/go.mod h1:eEew/i+1Q6OrCDZh3WiXYv3+nJwBASZ8Bog/87DQnVg= -github.com/cenkalti/backoff/v4 v4.1.0 h1:c8LkOFQTzuO0WBM/ae5HdGQuZPfPxp7lqBRwQRm4fSc= -github.com/cenkalti/backoff/v4 v4.1.0/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/centrify/cloud-golang-sdk v0.0.0-20190214225812-119110094d0f/go.mod h1:C0rtzmGXgN78pYR0tGJFhtHgkbAs0lIbHwkB81VxDQE= github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= @@ -358,9 +357,8 @@ github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+ github.com/gorilla/sessions v1.2.0/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM= github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= +github.com/gorilla/websocket v1.4.1 h1:q7AeDBpnBk8AogcD4DSag/Ukw/KV+YhzLj2bP5HvKCM= github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= -github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/gotestyourself/gotestyourself v2.2.0+incompatible/go.mod h1:zZKM6oeNM8k+FRljX1mnzVYeS8wiGgQyvST1/GafPbY= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= @@ -485,30 +483,29 @@ github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod h1:+NfK9FKe github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huaweicloud/golangsdk v0.0.0-20200304081349-45ec0797f2a4/go.mod h1:WQBcHRNX9shz3928lWEvstQJtAtYI7ks6XlgtRT9Tcw= -github.com/hyperledger/aries-framework-go v0.1.6-0.20210120000618-bdf82385e9df/go.mod h1:CB1aCGsuCC/U+mJ43aU5Nx7s6iCYOVquO7kCUn8tVhY= github.com/hyperledger/aries-framework-go v0.1.6-0.20210224230531-58e1368e5661/go.mod h1:A6SHE7BuL1x88YN15R+MT8yG59zv2L4gE141Ou4tJJ4= github.com/hyperledger/aries-framework-go v0.1.6-0.20210225161605-5a3ea609e830/go.mod h1:uzv9LEnmNwl+3KDTns5H9hoa31dpKdZeEDijoRQQDpM= -github.com/hyperledger/aries-framework-go v0.1.6-0.20210306141947-8094fee88506 h1:rAZgnkTQOc/qysglCs4W4t3s288Anius0Ac65ljGqx0= -github.com/hyperledger/aries-framework-go v0.1.6-0.20210306141947-8094fee88506/go.mod h1:9y5nXHe7XLoyah/VdnC9hYqo3nDisnbGNq17CE69Az0= -github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v0.0.0-20210121210840-ee9984a4579c/go.mod h1:QbfFi1eodurSG8dvhPDWWLrYmNJBrbxeviUnQ/Y1lyo= -github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v0.0.0-20210305233053-d3d22c802c12 h1:pM042ATEvEuPHFn8JUQ/1GaU4WWt1yhu2x+221QwfcY= +github.com/hyperledger/aries-framework-go v0.1.6 h1:WhWsnMkBXL28cmSphcEpy2Unmt99iCNy5CQs1pplv+o= +github.com/hyperledger/aries-framework-go v0.1.6/go.mod h1:9y5nXHe7XLoyah/VdnC9hYqo3nDisnbGNq17CE69Az0= github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v0.0.0-20210305233053-d3d22c802c12/go.mod h1:AJK0RcrFYqTryBT7zMEdd1L/lS4Wh77pEYARfF19pl0= -github.com/hyperledger/aries-framework-go-ext/component/vdr/trustbloc v0.0.0-20210305233053-d3d22c802c12 h1:bsErV/ETNQZLly4k8ghZE7idwQRE+LWZVHGBE8t+SGw= -github.com/hyperledger/aries-framework-go-ext/component/vdr/trustbloc v0.0.0-20210305233053-d3d22c802c12/go.mod h1:IatjCr3jzgIZ17ngAuRzINLCa8K7SiGel8rqn7BN6yA= -github.com/hyperledger/aries-framework-go/component/storage/indexeddb v0.0.0-20210306141947-8094fee88506/go.mod h1:BQkoyxcSsDUmHmcuyjewla4191AsbSGIxbpjMizH8i0= +github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v0.0.0-20210306194409-6e4c5d622fbc h1:e07ZYWj6yTw+S2f8/V6MzFm0r8WJt75dDMYuAbtDEA8= +github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v0.0.0-20210306194409-6e4c5d622fbc/go.mod h1:CCwcW0o79nghyByFDPGsTr6WB4UOS8dHJPapZF5nS1o= +github.com/hyperledger/aries-framework-go-ext/component/vdr/trustbloc v0.0.0-20210306194409-6e4c5d622fbc h1:uSilnTLUwR4bZ0b9dAZjImks78S7dFnplbXP4y61ucw= +github.com/hyperledger/aries-framework-go-ext/component/vdr/trustbloc v0.0.0-20210306194409-6e4c5d622fbc/go.mod h1:T9WQgPN9KkJjOC1BQuOREWPb5WtIHezr6XA1cR9ioKo= +github.com/hyperledger/aries-framework-go/component/storage/indexeddb v0.0.0-20210306162754-1a1e0c4a378e/go.mod h1:BQkoyxcSsDUmHmcuyjewla4191AsbSGIxbpjMizH8i0= github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210224230531-58e1368e5661/go.mod h1:XaPVDJcbQT8BKmThfQdWPc+hgicHFAQzSOavHw2gn/4= -github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210306141947-8094fee88506 h1:8QF++KOO6hHq7BMhJRWvOnJ6yEELFzGTRfvBW1wZDDk= -github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210306141947-8094fee88506/go.mod h1:zOolL2VqWj6+SPe13nrK0oo5QUOfQZQKB0j1iQsje0k= +github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210306162754-1a1e0c4a378e h1:URJyY4dIAT3f6Sv5J5NRZwPhYsHWEj7EDAUWM7topE4= +github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210306162754-1a1e0c4a378e/go.mod h1:zOolL2VqWj6+SPe13nrK0oo5QUOfQZQKB0j1iQsje0k= github.com/hyperledger/aries-framework-go/spi v0.0.0-20210205153949-f852f978a0d6/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= github.com/hyperledger/aries-framework-go/spi v0.0.0-20210208194322-89066ddae325/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= github.com/hyperledger/aries-framework-go/spi v0.0.0-20210210184327-0b9d0fd4c34e/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= github.com/hyperledger/aries-framework-go/spi v0.0.0-20210224230531-58e1368e5661/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= -github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306141947-8094fee88506 h1:wqbkK/bmCYGC0aBCuKwGGtloSPp8a92cjvJtL0qxWKI= -github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306141947-8094fee88506/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= +github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306162754-1a1e0c4a378e h1:7ZReAvT1KFcgu0MguComTQr7KQJANl29/7YyCiSmDRw= +github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306162754-1a1e0c4a378e/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210219073333-c46e84ce678f/go.mod h1:/ljIFCu5iDIziwuvObF0vEc3fJ5dgDpT8RYAhQdNeHI= github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210226235232-298aa129d822/go.mod h1:6Za6hvu+eZDPerePXIlMuBWbQZDKqTgOrKV56WZMtcI= -github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210304193329-f56b2cebc386 h1:LLJg+gSy+yPGtdYQopGMI4/C4LA9ZTFkomA4c83q0Ow= -github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210304193329-f56b2cebc386/go.mod h1:6Za6hvu+eZDPerePXIlMuBWbQZDKqTgOrKV56WZMtcI= +github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210306162754-1a1e0c4a378e h1:w3zqGtUbevKxoWLdHIQTexLaWM6xq8urn3cpjeXte/A= +github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210306162754-1a1e0c4a378e/go.mod h1:6Za6hvu+eZDPerePXIlMuBWbQZDKqTgOrKV56WZMtcI= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/igor-pavlenko/httpsignatures-go v0.0.21/go.mod h1:3LVsCi3evlfQSNDKMTg3uElxEP8SjK3/Q5N9I8GU9W0= github.com/igor-pavlenko/httpsignatures-go v0.0.23/go.mod h1:3LVsCi3evlfQSNDKMTg3uElxEP8SjK3/Q5N9I8GU9W0= @@ -808,11 +805,11 @@ github.com/tidwall/sjson v1.1.4/go.mod h1:wXpKXu8CtDjKAZ+3DrKY5ROCorDFahq8l0tey/ github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/trustbloc/edge-core v0.1.4-0.20200709143857-e104bb29f6c6/go.mod h1:SZg7nAIc9FONS+G7MwEyGkCWCJR3R02bePwTpWxqH5w= -github.com/trustbloc/edge-core v0.1.6-0.20210306154041-63c6b31a177c h1:mtHljL/Nph8ezbEzqW63YHP3/N78zQvs0Qa9N9+kHS8= -github.com/trustbloc/edge-core v0.1.6-0.20210306154041-63c6b31a177c/go.mod h1:0bgrOLQqELfllE3XucakbudmlnGK+jnQZW6iDufl4Hc= -github.com/trustbloc/sidetree-core-go v0.1.6-0.20201217192009-0d2b4436912f/go.mod h1:prRWqxBavkSxgKtPmUriSxCemrvl47yStMbW4jMFuRs= -github.com/trustbloc/sidetree-core-go v0.1.6-0.20210301232849-50c4792e1ca1 h1:nHhN9RbX4aiZ90y+g5rmJwCdS+OgT0WWTtRfNX1D4J8= +github.com/trustbloc/edge-core v0.1.6 h1:h+FWfBCvx/sMNvrb3TXOaB2HP023bGnVSOthNYKBduI= +github.com/trustbloc/edge-core v0.1.6/go.mod h1:dZOe6xQN/jWHIsRJzZW0hqmRXT+GmYYkN4O/yHAYQII= github.com/trustbloc/sidetree-core-go v0.1.6-0.20210301232849-50c4792e1ca1/go.mod h1:prRWqxBavkSxgKtPmUriSxCemrvl47yStMbW4jMFuRs= +github.com/trustbloc/sidetree-core-go v0.6.0 h1:fXXVcaTm5Ceq1FQYSaynmvgP4xCh4AO4paMOXTakG5E= +github.com/trustbloc/sidetree-core-go v0.6.0/go.mod h1:prRWqxBavkSxgKtPmUriSxCemrvl47yStMbW4jMFuRs= github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= @@ -1230,9 +1227,8 @@ gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20180920025451-e3ad64cb4ed3/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/cmd/agent-rest/go.mod b/cmd/agent-rest/go.mod index cf1803ec..8edce268 100644 --- a/cmd/agent-rest/go.mod +++ b/cmd/agent-rest/go.mod @@ -4,22 +4,22 @@ module github.com/trustbloc/agent-sdk/cmd/agent-rest -replace github.com/trustbloc/agent-sdk => ../.. - go 1.15 require ( github.com/cenkalti/backoff/v4 v4.1.0 github.com/gorilla/mux v1.8.0 - github.com/hyperledger/aries-framework-go v0.1.6-0.20210306141947-8094fee88506 - github.com/hyperledger/aries-framework-go-ext/component/storage/couchdb v0.0.0-20210305233053-d3d22c802c12 - github.com/hyperledger/aries-framework-go-ext/component/storage/mysql v0.0.0-20210305233053-d3d22c802c12 - github.com/hyperledger/aries-framework-go-ext/component/vdr/trustbloc v0.0.0-20210305233053-d3d22c802c12 - github.com/hyperledger/aries-framework-go/component/storage/leveldb v0.0.0-20210306141947-8094fee88506 - github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210306141947-8094fee88506 - github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306141947-8094fee88506 + github.com/hyperledger/aries-framework-go v0.1.6 + github.com/hyperledger/aries-framework-go-ext/component/storage/couchdb v0.0.0-20210306194409-6e4c5d622fbc + github.com/hyperledger/aries-framework-go-ext/component/storage/mysql v0.0.0-20210306194409-6e4c5d622fbc + github.com/hyperledger/aries-framework-go-ext/component/vdr/trustbloc v0.0.0-20210306194409-6e4c5d622fbc + github.com/hyperledger/aries-framework-go/component/storage/leveldb v0.0.0-20210306162754-1a1e0c4a378e + github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210306162754-1a1e0c4a378e + github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306162754-1a1e0c4a378e github.com/rs/cors v1.7.0 github.com/spf13/cobra v1.1.3 github.com/stretchr/testify v1.7.0 github.com/trustbloc/agent-sdk v0.0.0-00010101000000-000000000000 ) + +replace github.com/trustbloc/agent-sdk => ../.. diff --git a/cmd/agent-rest/go.sum b/cmd/agent-rest/go.sum index b5f9ae66..58316835 100644 --- a/cmd/agent-rest/go.sum +++ b/cmd/agent-rest/go.sum @@ -520,40 +520,39 @@ github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod h1:+NfK9FKe github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huaweicloud/golangsdk v0.0.0-20200304081349-45ec0797f2a4/go.mod h1:WQBcHRNX9shz3928lWEvstQJtAtYI7ks6XlgtRT9Tcw= -github.com/hyperledger/aries-framework-go v0.1.6-0.20210120000618-bdf82385e9df/go.mod h1:CB1aCGsuCC/U+mJ43aU5Nx7s6iCYOVquO7kCUn8tVhY= github.com/hyperledger/aries-framework-go v0.1.6-0.20210224230531-58e1368e5661/go.mod h1:A6SHE7BuL1x88YN15R+MT8yG59zv2L4gE141Ou4tJJ4= github.com/hyperledger/aries-framework-go v0.1.6-0.20210225161605-5a3ea609e830/go.mod h1:uzv9LEnmNwl+3KDTns5H9hoa31dpKdZeEDijoRQQDpM= github.com/hyperledger/aries-framework-go v0.1.6-0.20210304193329-f56b2cebc386/go.mod h1:uzv9LEnmNwl+3KDTns5H9hoa31dpKdZeEDijoRQQDpM= -github.com/hyperledger/aries-framework-go v0.1.6-0.20210306141947-8094fee88506 h1:rAZgnkTQOc/qysglCs4W4t3s288Anius0Ac65ljGqx0= -github.com/hyperledger/aries-framework-go v0.1.6-0.20210306141947-8094fee88506/go.mod h1:9y5nXHe7XLoyah/VdnC9hYqo3nDisnbGNq17CE69Az0= -github.com/hyperledger/aries-framework-go-ext/component/storage/couchdb v0.0.0-20210305233053-d3d22c802c12 h1:8d+FNjPybYZWHjQpHWVIIBY2il8cza6Ad3hUdkwu2Mg= -github.com/hyperledger/aries-framework-go-ext/component/storage/couchdb v0.0.0-20210305233053-d3d22c802c12/go.mod h1:dsFkir18bkgNh9Ch4MtNaWPrll4uf8Qy7Y9YHmk7FoM= -github.com/hyperledger/aries-framework-go-ext/component/storage/mysql v0.0.0-20210305233053-d3d22c802c12 h1:XIKv2HucX1loRarrti1LVDg/VqelflS07oZCgTVaJ1E= -github.com/hyperledger/aries-framework-go-ext/component/storage/mysql v0.0.0-20210305233053-d3d22c802c12/go.mod h1:g4w+9JdQXlR9DK1HUIhig3SteJBuMY5Zt310q5gYans= -github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v0.0.0-20210121210840-ee9984a4579c/go.mod h1:QbfFi1eodurSG8dvhPDWWLrYmNJBrbxeviUnQ/Y1lyo= -github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v0.0.0-20210305233053-d3d22c802c12 h1:pM042ATEvEuPHFn8JUQ/1GaU4WWt1yhu2x+221QwfcY= +github.com/hyperledger/aries-framework-go v0.1.6 h1:WhWsnMkBXL28cmSphcEpy2Unmt99iCNy5CQs1pplv+o= +github.com/hyperledger/aries-framework-go v0.1.6/go.mod h1:9y5nXHe7XLoyah/VdnC9hYqo3nDisnbGNq17CE69Az0= +github.com/hyperledger/aries-framework-go-ext/component/storage/couchdb v0.0.0-20210306194409-6e4c5d622fbc h1:7H44NIfzExgO+Fwkg7E0W9eY2TkVpWQbGqcP8QUQItY= +github.com/hyperledger/aries-framework-go-ext/component/storage/couchdb v0.0.0-20210306194409-6e4c5d622fbc/go.mod h1:9YYW1iug2Xla634TLcrjDZcun2cXk44C4I1IyILfvT4= +github.com/hyperledger/aries-framework-go-ext/component/storage/mysql v0.0.0-20210306194409-6e4c5d622fbc h1:03XQ62seNsxNe9vku0v+znhtM25N4EAGqZo8IRvShu4= +github.com/hyperledger/aries-framework-go-ext/component/storage/mysql v0.0.0-20210306194409-6e4c5d622fbc/go.mod h1:rLD0+wLq8Z8DvuayY4siWZJUQBnRUW5+d9i0sJYQqag= github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v0.0.0-20210305233053-d3d22c802c12/go.mod h1:AJK0RcrFYqTryBT7zMEdd1L/lS4Wh77pEYARfF19pl0= -github.com/hyperledger/aries-framework-go-ext/component/vdr/trustbloc v0.0.0-20210305233053-d3d22c802c12 h1:bsErV/ETNQZLly4k8ghZE7idwQRE+LWZVHGBE8t+SGw= -github.com/hyperledger/aries-framework-go-ext/component/vdr/trustbloc v0.0.0-20210305233053-d3d22c802c12/go.mod h1:IatjCr3jzgIZ17ngAuRzINLCa8K7SiGel8rqn7BN6yA= -github.com/hyperledger/aries-framework-go/component/storage/indexeddb v0.0.0-20210306141947-8094fee88506/go.mod h1:BQkoyxcSsDUmHmcuyjewla4191AsbSGIxbpjMizH8i0= -github.com/hyperledger/aries-framework-go/component/storage/leveldb v0.0.0-20210306141947-8094fee88506 h1:8ja7m5B57DbzEpWlSiQSS2L+OPR+MrWa5b2xZR5KnGk= -github.com/hyperledger/aries-framework-go/component/storage/leveldb v0.0.0-20210306141947-8094fee88506/go.mod h1:Dl5zXzdO6YwMkC6jROb3eeNUg9oWilbEI8RyELYkkpw= +github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v0.0.0-20210306194409-6e4c5d622fbc h1:e07ZYWj6yTw+S2f8/V6MzFm0r8WJt75dDMYuAbtDEA8= +github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v0.0.0-20210306194409-6e4c5d622fbc/go.mod h1:CCwcW0o79nghyByFDPGsTr6WB4UOS8dHJPapZF5nS1o= +github.com/hyperledger/aries-framework-go-ext/component/vdr/trustbloc v0.0.0-20210306194409-6e4c5d622fbc h1:uSilnTLUwR4bZ0b9dAZjImks78S7dFnplbXP4y61ucw= +github.com/hyperledger/aries-framework-go-ext/component/vdr/trustbloc v0.0.0-20210306194409-6e4c5d622fbc/go.mod h1:T9WQgPN9KkJjOC1BQuOREWPb5WtIHezr6XA1cR9ioKo= +github.com/hyperledger/aries-framework-go/component/storage/indexeddb v0.0.0-20210306162754-1a1e0c4a378e/go.mod h1:BQkoyxcSsDUmHmcuyjewla4191AsbSGIxbpjMizH8i0= +github.com/hyperledger/aries-framework-go/component/storage/leveldb v0.0.0-20210306162754-1a1e0c4a378e h1:Otbx+gAaFH8Ncx9XNkHJoh/sj3OygP/ceN/MAN2IT/E= +github.com/hyperledger/aries-framework-go/component/storage/leveldb v0.0.0-20210306162754-1a1e0c4a378e/go.mod h1:Dl5zXzdO6YwMkC6jROb3eeNUg9oWilbEI8RyELYkkpw= github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210224230531-58e1368e5661/go.mod h1:XaPVDJcbQT8BKmThfQdWPc+hgicHFAQzSOavHw2gn/4= -github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210306141947-8094fee88506 h1:8QF++KOO6hHq7BMhJRWvOnJ6yEELFzGTRfvBW1wZDDk= -github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210306141947-8094fee88506/go.mod h1:zOolL2VqWj6+SPe13nrK0oo5QUOfQZQKB0j1iQsje0k= +github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210306162754-1a1e0c4a378e h1:URJyY4dIAT3f6Sv5J5NRZwPhYsHWEj7EDAUWM7topE4= +github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210306162754-1a1e0c4a378e/go.mod h1:zOolL2VqWj6+SPe13nrK0oo5QUOfQZQKB0j1iQsje0k= github.com/hyperledger/aries-framework-go/spi v0.0.0-20210205153949-f852f978a0d6/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= github.com/hyperledger/aries-framework-go/spi v0.0.0-20210208194322-89066ddae325/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= github.com/hyperledger/aries-framework-go/spi v0.0.0-20210210184327-0b9d0fd4c34e/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= github.com/hyperledger/aries-framework-go/spi v0.0.0-20210224230531-58e1368e5661/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= -github.com/hyperledger/aries-framework-go/spi v0.0.0-20210226235232-298aa129d822/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= github.com/hyperledger/aries-framework-go/spi v0.0.0-20210304193329-f56b2cebc386/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= -github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306141947-8094fee88506 h1:wqbkK/bmCYGC0aBCuKwGGtloSPp8a92cjvJtL0qxWKI= github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306141947-8094fee88506/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= +github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306162754-1a1e0c4a378e h1:7ZReAvT1KFcgu0MguComTQr7KQJANl29/7YyCiSmDRw= +github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306162754-1a1e0c4a378e/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210219073333-c46e84ce678f/go.mod h1:/ljIFCu5iDIziwuvObF0vEc3fJ5dgDpT8RYAhQdNeHI= github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210226235232-298aa129d822/go.mod h1:6Za6hvu+eZDPerePXIlMuBWbQZDKqTgOrKV56WZMtcI= -github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210228202323-ef13bb35c2f4/go.mod h1:6Za6hvu+eZDPerePXIlMuBWbQZDKqTgOrKV56WZMtcI= -github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210304193329-f56b2cebc386 h1:LLJg+gSy+yPGtdYQopGMI4/C4LA9ZTFkomA4c83q0Ow= github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210304193329-f56b2cebc386/go.mod h1:6Za6hvu+eZDPerePXIlMuBWbQZDKqTgOrKV56WZMtcI= +github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210306141947-8094fee88506 h1:RlAY+OLYRMGru3Y9ha05QItB4DDmXsdjGaDEOHZtOUI= +github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210306141947-8094fee88506/go.mod h1:6Za6hvu+eZDPerePXIlMuBWbQZDKqTgOrKV56WZMtcI= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/igor-pavlenko/httpsignatures-go v0.0.21/go.mod h1:3LVsCi3evlfQSNDKMTg3uElxEP8SjK3/Q5N9I8GU9W0= github.com/igor-pavlenko/httpsignatures-go v0.0.23/go.mod h1:3LVsCi3evlfQSNDKMTg3uElxEP8SjK3/Q5N9I8GU9W0= @@ -884,11 +883,11 @@ github.com/tidwall/sjson v1.1.4/go.mod h1:wXpKXu8CtDjKAZ+3DrKY5ROCorDFahq8l0tey/ github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/trustbloc/edge-core v0.1.4-0.20200709143857-e104bb29f6c6/go.mod h1:SZg7nAIc9FONS+G7MwEyGkCWCJR3R02bePwTpWxqH5w= -github.com/trustbloc/edge-core v0.1.6-0.20210306154041-63c6b31a177c h1:mtHljL/Nph8ezbEzqW63YHP3/N78zQvs0Qa9N9+kHS8= -github.com/trustbloc/edge-core v0.1.6-0.20210306154041-63c6b31a177c/go.mod h1:0bgrOLQqELfllE3XucakbudmlnGK+jnQZW6iDufl4Hc= -github.com/trustbloc/sidetree-core-go v0.1.6-0.20201217192009-0d2b4436912f/go.mod h1:prRWqxBavkSxgKtPmUriSxCemrvl47yStMbW4jMFuRs= -github.com/trustbloc/sidetree-core-go v0.1.6-0.20210301232849-50c4792e1ca1 h1:nHhN9RbX4aiZ90y+g5rmJwCdS+OgT0WWTtRfNX1D4J8= +github.com/trustbloc/edge-core v0.1.6 h1:h+FWfBCvx/sMNvrb3TXOaB2HP023bGnVSOthNYKBduI= +github.com/trustbloc/edge-core v0.1.6/go.mod h1:dZOe6xQN/jWHIsRJzZW0hqmRXT+GmYYkN4O/yHAYQII= github.com/trustbloc/sidetree-core-go v0.1.6-0.20210301232849-50c4792e1ca1/go.mod h1:prRWqxBavkSxgKtPmUriSxCemrvl47yStMbW4jMFuRs= +github.com/trustbloc/sidetree-core-go v0.6.0 h1:fXXVcaTm5Ceq1FQYSaynmvgP4xCh4AO4paMOXTakG5E= +github.com/trustbloc/sidetree-core-go v0.6.0/go.mod h1:prRWqxBavkSxgKtPmUriSxCemrvl47yStMbW4jMFuRs= github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= diff --git a/deployments/agent-rest/.env b/deployments/agent-rest/.env index af034957..4bf1cb67 100644 --- a/deployments/agent-rest/.env +++ b/deployments/agent-rest/.env @@ -14,7 +14,7 @@ AGENT_REST_IMAGE=ghcr.io/trustbloc/agent-sdk-server AGENT_REST_IMAGE_TAG=latest # HTTP Resolver Configurations -HTTP_DID_RESOLVER=sidetree@http://agent.sdk.sidetree.mock:48326/sidetree/0.0.1/identifiers +HTTP_DID_RESOLVER=sidetree@http://agent.sdk.sidetree.mock:48326/sidetree/v1/identifiers # Transport Schemes HTTP_SCHEME=http diff --git a/deployments/sidetree-mock/.env b/deployments/sidetree-mock/.env index 701adea0..1b8a4e9a 100644 --- a/deployments/sidetree-mock/.env +++ b/deployments/sidetree-mock/.env @@ -11,5 +11,5 @@ COMPOSE_DIR=. # sidetree mock -SIDETREE_MOCK_FIXTURE_IMAGE=ghcr.io/trustbloc-cicd/sidetree-mock -SIDETREE_MOCK_FIXTURE_IMAGE_TAG=0.1.6-snapshot-9502d4d +SIDETREE_MOCK_FIXTURE_IMAGE=ghcr.io/trustbloc/sidetree-mock +SIDETREE_MOCK_FIXTURE_IMAGE_TAG=0.6.0 diff --git a/go.mod b/go.mod index 424330ae..192cd8cc 100644 --- a/go.mod +++ b/go.mod @@ -7,19 +7,14 @@ module github.com/trustbloc/agent-sdk go 1.15 require ( - github.com/cenkalti/backoff/v4 v4.1.0 // indirect github.com/google/uuid v1.2.0 github.com/gorilla/mux v1.8.0 - github.com/gorilla/websocket v1.4.2 // indirect - github.com/hyperledger/aries-framework-go v0.1.6-0.20210306141947-8094fee88506 - github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v0.0.0-20210305233053-d3d22c802c12 - github.com/hyperledger/aries-framework-go-ext/component/vdr/trustbloc v0.0.0-20210305233053-d3d22c802c12 - github.com/hyperledger/aries-framework-go/component/storage/indexeddb v0.0.0-20210306141947-8094fee88506 - github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210306141947-8094fee88506 // indirect - github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306141947-8094fee88506 - github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210304193329-f56b2cebc386 // indirect + github.com/hyperledger/aries-framework-go v0.1.6 + github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v0.0.0-20210306194409-6e4c5d622fbc + github.com/hyperledger/aries-framework-go-ext/component/vdr/trustbloc v0.0.0-20210306194409-6e4c5d622fbc + github.com/hyperledger/aries-framework-go/component/storage/indexeddb v0.0.0-20210306162754-1a1e0c4a378e + github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306162754-1a1e0c4a378e github.com/igor-pavlenko/httpsignatures-go v0.0.23 github.com/stretchr/testify v1.7.0 - github.com/trustbloc/edge-core v0.1.6-0.20210306154041-63c6b31a177c - gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect + github.com/trustbloc/edge-core v0.1.6 ) diff --git a/go.sum b/go.sum index 3129f65e..f3eb9358 100644 --- a/go.sum +++ b/go.sum @@ -143,9 +143,8 @@ github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792/go.mod h1:ghJtE github.com/btcsuite/winsvc v1.0.0/go.mod h1:jsenWakMcC0zFBFurPLEAyrnc/teJEM1O46fmI40EZs= github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4= github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= +github.com/cenkalti/backoff/v4 v4.0.2 h1:JIufpQLbh4DkbQoii76ItQIUFzevQSqOLZca4eamEDs= github.com/cenkalti/backoff/v4 v4.0.2/go.mod h1:eEew/i+1Q6OrCDZh3WiXYv3+nJwBASZ8Bog/87DQnVg= -github.com/cenkalti/backoff/v4 v4.1.0 h1:c8LkOFQTzuO0WBM/ae5HdGQuZPfPxp7lqBRwQRm4fSc= -github.com/cenkalti/backoff/v4 v4.1.0/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/centrify/cloud-golang-sdk v0.0.0-20190214225812-119110094d0f/go.mod h1:C0rtzmGXgN78pYR0tGJFhtHgkbAs0lIbHwkB81VxDQE= github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= @@ -358,9 +357,8 @@ github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+ github.com/gorilla/sessions v1.2.0/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM= github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= +github.com/gorilla/websocket v1.4.1 h1:q7AeDBpnBk8AogcD4DSag/Ukw/KV+YhzLj2bP5HvKCM= github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= -github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/gotestyourself/gotestyourself v2.2.0+incompatible/go.mod h1:zZKM6oeNM8k+FRljX1mnzVYeS8wiGgQyvST1/GafPbY= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= @@ -485,31 +483,28 @@ github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod h1:+NfK9FKe github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huaweicloud/golangsdk v0.0.0-20200304081349-45ec0797f2a4/go.mod h1:WQBcHRNX9shz3928lWEvstQJtAtYI7ks6XlgtRT9Tcw= -github.com/hyperledger/aries-framework-go v0.1.6-0.20210120000618-bdf82385e9df/go.mod h1:CB1aCGsuCC/U+mJ43aU5Nx7s6iCYOVquO7kCUn8tVhY= github.com/hyperledger/aries-framework-go v0.1.6-0.20210224230531-58e1368e5661/go.mod h1:A6SHE7BuL1x88YN15R+MT8yG59zv2L4gE141Ou4tJJ4= github.com/hyperledger/aries-framework-go v0.1.6-0.20210225161605-5a3ea609e830/go.mod h1:uzv9LEnmNwl+3KDTns5H9hoa31dpKdZeEDijoRQQDpM= -github.com/hyperledger/aries-framework-go v0.1.6-0.20210306141947-8094fee88506 h1:rAZgnkTQOc/qysglCs4W4t3s288Anius0Ac65ljGqx0= -github.com/hyperledger/aries-framework-go v0.1.6-0.20210306141947-8094fee88506/go.mod h1:9y5nXHe7XLoyah/VdnC9hYqo3nDisnbGNq17CE69Az0= -github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v0.0.0-20210121210840-ee9984a4579c/go.mod h1:QbfFi1eodurSG8dvhPDWWLrYmNJBrbxeviUnQ/Y1lyo= -github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v0.0.0-20210305233053-d3d22c802c12 h1:pM042ATEvEuPHFn8JUQ/1GaU4WWt1yhu2x+221QwfcY= +github.com/hyperledger/aries-framework-go v0.1.6 h1:WhWsnMkBXL28cmSphcEpy2Unmt99iCNy5CQs1pplv+o= +github.com/hyperledger/aries-framework-go v0.1.6/go.mod h1:9y5nXHe7XLoyah/VdnC9hYqo3nDisnbGNq17CE69Az0= github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v0.0.0-20210305233053-d3d22c802c12/go.mod h1:AJK0RcrFYqTryBT7zMEdd1L/lS4Wh77pEYARfF19pl0= -github.com/hyperledger/aries-framework-go-ext/component/vdr/trustbloc v0.0.0-20210305233053-d3d22c802c12 h1:bsErV/ETNQZLly4k8ghZE7idwQRE+LWZVHGBE8t+SGw= -github.com/hyperledger/aries-framework-go-ext/component/vdr/trustbloc v0.0.0-20210305233053-d3d22c802c12/go.mod h1:IatjCr3jzgIZ17ngAuRzINLCa8K7SiGel8rqn7BN6yA= -github.com/hyperledger/aries-framework-go/component/storage/indexeddb v0.0.0-20210306141947-8094fee88506 h1:JwCGVYjjVaDPjD5SDjwse7xnosmExgQ6anc5FSnb84E= -github.com/hyperledger/aries-framework-go/component/storage/indexeddb v0.0.0-20210306141947-8094fee88506/go.mod h1:BQkoyxcSsDUmHmcuyjewla4191AsbSGIxbpjMizH8i0= +github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v0.0.0-20210306194409-6e4c5d622fbc h1:e07ZYWj6yTw+S2f8/V6MzFm0r8WJt75dDMYuAbtDEA8= +github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v0.0.0-20210306194409-6e4c5d622fbc/go.mod h1:CCwcW0o79nghyByFDPGsTr6WB4UOS8dHJPapZF5nS1o= +github.com/hyperledger/aries-framework-go-ext/component/vdr/trustbloc v0.0.0-20210306194409-6e4c5d622fbc h1:uSilnTLUwR4bZ0b9dAZjImks78S7dFnplbXP4y61ucw= +github.com/hyperledger/aries-framework-go-ext/component/vdr/trustbloc v0.0.0-20210306194409-6e4c5d622fbc/go.mod h1:T9WQgPN9KkJjOC1BQuOREWPb5WtIHezr6XA1cR9ioKo= +github.com/hyperledger/aries-framework-go/component/storage/indexeddb v0.0.0-20210306162754-1a1e0c4a378e h1:UT1dPQUf/rnD43LrOcU7yIiRWfUOaU3ExuMMs2LJHps= +github.com/hyperledger/aries-framework-go/component/storage/indexeddb v0.0.0-20210306162754-1a1e0c4a378e/go.mod h1:BQkoyxcSsDUmHmcuyjewla4191AsbSGIxbpjMizH8i0= +github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210224230531-58e1368e5661 h1:VmyvcZ2fMyrE7UCXPSAsMwjKOm5GlpxJSb8sWsTkeQY= github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210224230531-58e1368e5661/go.mod h1:XaPVDJcbQT8BKmThfQdWPc+hgicHFAQzSOavHw2gn/4= -github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210306141947-8094fee88506 h1:8QF++KOO6hHq7BMhJRWvOnJ6yEELFzGTRfvBW1wZDDk= -github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20210306141947-8094fee88506/go.mod h1:zOolL2VqWj6+SPe13nrK0oo5QUOfQZQKB0j1iQsje0k= github.com/hyperledger/aries-framework-go/spi v0.0.0-20210205153949-f852f978a0d6/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= github.com/hyperledger/aries-framework-go/spi v0.0.0-20210208194322-89066ddae325/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= github.com/hyperledger/aries-framework-go/spi v0.0.0-20210210184327-0b9d0fd4c34e/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= github.com/hyperledger/aries-framework-go/spi v0.0.0-20210224230531-58e1368e5661/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= -github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306141947-8094fee88506 h1:wqbkK/bmCYGC0aBCuKwGGtloSPp8a92cjvJtL0qxWKI= -github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306141947-8094fee88506/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= +github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306162754-1a1e0c4a378e h1:7ZReAvT1KFcgu0MguComTQr7KQJANl29/7YyCiSmDRw= +github.com/hyperledger/aries-framework-go/spi v0.0.0-20210306162754-1a1e0c4a378e/go.mod h1:fDr9wW00GJJl1lR1SFHmJW8utIocdvjO5RNhAYS05EY= github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210219073333-c46e84ce678f/go.mod h1:/ljIFCu5iDIziwuvObF0vEc3fJ5dgDpT8RYAhQdNeHI= +github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210226235232-298aa129d822 h1:mB8V4lnFZT1cL2lA8C0aVL7C1xPFgtyUXYrdPGg1cZ4= github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210226235232-298aa129d822/go.mod h1:6Za6hvu+eZDPerePXIlMuBWbQZDKqTgOrKV56WZMtcI= -github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210304193329-f56b2cebc386 h1:LLJg+gSy+yPGtdYQopGMI4/C4LA9ZTFkomA4c83q0Ow= -github.com/hyperledger/aries-framework-go/test/component v0.0.0-20210304193329-f56b2cebc386/go.mod h1:6Za6hvu+eZDPerePXIlMuBWbQZDKqTgOrKV56WZMtcI= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/igor-pavlenko/httpsignatures-go v0.0.21/go.mod h1:3LVsCi3evlfQSNDKMTg3uElxEP8SjK3/Q5N9I8GU9W0= github.com/igor-pavlenko/httpsignatures-go v0.0.23 h1:b+bo2vox5fwHKGiGfnu9/L5gM6RwSBdKQMPi48scAj4= @@ -810,11 +805,11 @@ github.com/tidwall/sjson v1.1.4/go.mod h1:wXpKXu8CtDjKAZ+3DrKY5ROCorDFahq8l0tey/ github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/trustbloc/edge-core v0.1.4-0.20200709143857-e104bb29f6c6/go.mod h1:SZg7nAIc9FONS+G7MwEyGkCWCJR3R02bePwTpWxqH5w= -github.com/trustbloc/edge-core v0.1.6-0.20210306154041-63c6b31a177c h1:mtHljL/Nph8ezbEzqW63YHP3/N78zQvs0Qa9N9+kHS8= -github.com/trustbloc/edge-core v0.1.6-0.20210306154041-63c6b31a177c/go.mod h1:0bgrOLQqELfllE3XucakbudmlnGK+jnQZW6iDufl4Hc= -github.com/trustbloc/sidetree-core-go v0.1.6-0.20201217192009-0d2b4436912f/go.mod h1:prRWqxBavkSxgKtPmUriSxCemrvl47yStMbW4jMFuRs= -github.com/trustbloc/sidetree-core-go v0.1.6-0.20210301232849-50c4792e1ca1 h1:nHhN9RbX4aiZ90y+g5rmJwCdS+OgT0WWTtRfNX1D4J8= +github.com/trustbloc/edge-core v0.1.6 h1:h+FWfBCvx/sMNvrb3TXOaB2HP023bGnVSOthNYKBduI= +github.com/trustbloc/edge-core v0.1.6/go.mod h1:dZOe6xQN/jWHIsRJzZW0hqmRXT+GmYYkN4O/yHAYQII= github.com/trustbloc/sidetree-core-go v0.1.6-0.20210301232849-50c4792e1ca1/go.mod h1:prRWqxBavkSxgKtPmUriSxCemrvl47yStMbW4jMFuRs= +github.com/trustbloc/sidetree-core-go v0.6.0 h1:fXXVcaTm5Ceq1FQYSaynmvgP4xCh4AO4paMOXTakG5E= +github.com/trustbloc/sidetree-core-go v0.6.0/go.mod h1:prRWqxBavkSxgKtPmUriSxCemrvl47yStMbW4jMFuRs= github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= @@ -1232,9 +1227,8 @@ gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20180920025451-e3ad64cb4ed3/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=