Skip to content

Commit

Permalink
chore: update to latest kms-go, did-go. (#37)
Browse files Browse the repository at this point in the history
Signed-off-by: Volodymyr Kubiv <volodymyr.kubiv@euristiq.com>
  • Loading branch information
vkubiv authored Nov 17, 2023
1 parent 07098fd commit a8a3b24
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion crypto-ext/testutil/sign_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"crypto/rsa"
"crypto/x509"

"github.com/btcsuite/btcd/btcec"
"github.com/btcsuite/btcd/btcec/v2"
"github.com/trustbloc/kms-go/doc/jose/jwk/jwksupport"
"github.com/trustbloc/kms-go/spi/kms"
wrapperapi "github.com/trustbloc/kms-go/wrapper/api"
Expand Down
2 changes: 1 addition & 1 deletion crypto-ext/verifiers/ecdsa/verifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"math/big"
"slices"

"github.com/btcsuite/btcd/btcec"
"github.com/btcsuite/btcd/btcec/v2"
"github.com/trustbloc/kms-go/spi/kms"

"github.com/trustbloc/vc-go/crypto-ext/pubkey"
Expand Down
7 changes: 4 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/PaesslerAG/gval v1.1.0
github.com/PaesslerAG/jsonpath v0.1.1
github.com/VictoriaMetrics/fastcache v1.5.7
github.com/btcsuite/btcd v0.22.3
github.com/btcsuite/btcd/btcec/v2 v2.1.3
github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce
github.com/go-jose/go-jose/v3 v3.0.1-0.20221117193127-916db76e8214
github.com/google/uuid v1.3.0
Expand All @@ -22,8 +22,8 @@ require (
github.com/tidwall/gjson v1.14.3
github.com/tidwall/sjson v1.1.4
github.com/trustbloc/bbs-signature-go v1.0.1
github.com/trustbloc/did-go v1.0.2-0.20231102144917-ca33f9a45abc
github.com/trustbloc/kms-go v1.0.1-0.20231102143409-af422762dd68
github.com/trustbloc/did-go v1.0.2-0.20231117120416-ed019bda587f
github.com/trustbloc/kms-go v1.0.1-0.20231116141347-14d6bea5727a
github.com/xeipuuv/gojsonschema v1.2.0
golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63
)
Expand All @@ -36,6 +36,7 @@ require (
github.com/consensys/bavard v0.1.13 // indirect
github.com/consensys/gnark-crypto v0.12.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/tink/go v1.7.0 // indirect
Expand Down
17 changes: 9 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@ github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax
github.com/bits-and-blooms/bitset v1.7.0 h1:YjAGVd3XmtK9ktAbX8Zg2g2PwLIMjGREZJHlV4j7NEo=
github.com/bits-and-blooms/bitset v1.7.0/go.mod h1:gIdJ4wp64HaoK2YrL1Q5/N7Y16edYb8uY+O0FJTyyDA=
github.com/btcsuite/btcd v0.20.1-beta/go.mod h1:wVuoA8VJLEcwgqHBwHmzLRazpKxTv13Px/pDuV7OomQ=
github.com/btcsuite/btcd v0.22.3 h1:kYNaWFvOw6xvqP0vR20RP1Zq1DVMBxEO8QN5d1/EfNg=
github.com/btcsuite/btcd v0.22.3/go.mod h1:wqgTSL29+50LRkmOVknEdmt8ZojIzhuWvgu/iptuN7Y=
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 h1:q0rUy8C/TYNBQS1+CGKw68tLOFYSNEs0TFnxxnS9+4U=
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1/go.mod h1:7SFka0XMvUgj3hfZtydOrQY2mwhPclbT2snogU7SQQc=
github.com/btcsuite/btcd/btcec/v2 v2.1.3 h1:xM/n3yIhHAhHy04z4i43C8p4ehixJZMsnrVJkgl+MTE=
github.com/btcsuite/btcd/btcec/v2 v2.1.3/go.mod h1:ctjw4H1kknNJmRN4iP1R7bTQ+v3GJkZBd6mui8ZsAZE=
github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f/go.mod h1:TdznJufoqS23FtqVCzL0ZqgP5MqXbb4fg/WgDys70nA=
github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d/go.mod h1:+5NJ2+qvTyV9exUAL/rxXi3DcLg2Ts+ymUAY5y4NvMg=
github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce h1:YtWJF7RHm2pYCvA5t0RPmAaLUhREsKuKd+SLhxFbFeQ=
Expand All @@ -40,6 +38,9 @@ github.com/davecgh/go-spew v0.0.0-20171005155431-ecdeabc65495/go.mod h1:J7Y8YcW2
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/decred/dcrd/crypto/blake256 v1.0.0/go.mod h1:sQl2p6Y26YV+ZOcSTP6thNdn47hh8kt6rqSlvmrXFAc=
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 h1:YLtO71vCjJRCBcrPMtQ9nqBsqpA1m5sE92cU+pd5Mcc=
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1/go.mod h1:hyedUtir6IdtD/7lIxGeCxkaw7y45JueMRL4DIyJDKs=
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/go-jose/go-jose/v3 v3.0.1-0.20221117193127-916db76e8214 h1:w5li6eMV6NCHh1YVbKRM/gMCVtZ2w7mnwq78eNnHXQQ=
github.com/go-jose/go-jose/v3 v3.0.1-0.20221117193127-916db76e8214/go.mod h1:RNkWWRld676jZEYoV3+XK8L2ZnNSvIsxFMht0mSX+u8=
Expand Down Expand Up @@ -127,10 +128,10 @@ github.com/tidwall/sjson v1.1.4 h1:bTSsPLdAYF5QNLSwYsKfBKKTnlGbIuhqL3CpRsjzGhg=
github.com/tidwall/sjson v1.1.4/go.mod h1:wXpKXu8CtDjKAZ+3DrKY5ROCorDFahq8l0tey/Lx1fg=
github.com/trustbloc/bbs-signature-go v1.0.1 h1:Nv/DCGVMQiY27dV0mD4U4924jGAnru/u3V+/QWivm8c=
github.com/trustbloc/bbs-signature-go v1.0.1/go.mod h1:gjYaYD+/wqBsA0IIdZBoCKSNKPXi775J2LE45u6pX+8=
github.com/trustbloc/did-go v1.0.2-0.20231102144917-ca33f9a45abc h1:B4Q47mWXUAcFSZZpTZi/IKYhoZ6ZNOxVxTwZFwxzrLo=
github.com/trustbloc/did-go v1.0.2-0.20231102144917-ca33f9a45abc/go.mod h1:0A9sOtjjUa4TkCFvRCqIXShRMFH7JQNDH26QFrH8nDI=
github.com/trustbloc/kms-go v1.0.1-0.20231102143409-af422762dd68 h1:embLSvNSwfLw04JDOGkzb8IE0aatji8Ahgml5E48eHk=
github.com/trustbloc/kms-go v1.0.1-0.20231102143409-af422762dd68/go.mod h1:EYkbfpk0P1zgndjmM07n8bKsk3ymD95EV4J94yawYMw=
github.com/trustbloc/did-go v1.0.2-0.20231117120416-ed019bda587f h1:1grnYCxXWla5s8efW4gNzqwqQ8XtmlyB91JgJMlOqWU=
github.com/trustbloc/did-go v1.0.2-0.20231117120416-ed019bda587f/go.mod h1:NExAhDDefAo9Tu8Z5gEg640M6TBef/Sif9pg8JRQYLQ=
github.com/trustbloc/kms-go v1.0.1-0.20231116141347-14d6bea5727a h1:o5QJVGWEZFHJKu1IKV6ucVVTVdzhmnnTzo5Wa+u57es=
github.com/trustbloc/kms-go v1.0.1-0.20231116141347-14d6bea5727a/go.mod h1:FEo4tIRWv7zNwgZsWZ4g10e/gOkJL5ybQtSrY2UdOXM=
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU=
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb h1:zGWFAtiMcyryUHoUjUJX0/lt1H2+i2Ka2n+D3DImSNo=
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU=
Expand Down
2 changes: 1 addition & 1 deletion proof/testsupport/sigver_pair.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"strings"
"testing"

"github.com/btcsuite/btcd/btcec"
"github.com/btcsuite/btcd/btcec/v2"
"github.com/stretchr/testify/require"
"github.com/trustbloc/bbs-signature-go/bbs12381g2pub"
"github.com/trustbloc/kms-go/doc/jose/jwk"
Expand Down

0 comments on commit a8a3b24

Please sign in to comment.