Skip to content

Commit

Permalink
chore: update renaming kms-crypto-go -> kms-go (#4)
Browse files Browse the repository at this point in the history
Signed-off-by: Filip Burlacu <[email protected]>
  • Loading branch information
Moopli authored Aug 23, 2023
1 parent 67dac6f commit fb548a5
Show file tree
Hide file tree
Showing 24 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion didconfig/verifier/didconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"net/url"

jsonld "github.com/piprate/json-gold/ld"
"github.com/trustbloc/kms-crypto-go/doc/jose"
"github.com/trustbloc/kms-go/doc/jose"
"github.com/trustbloc/vc-go/jwt"
"github.com/trustbloc/vc-go/verifiable"

Expand Down
12 changes: 6 additions & 6 deletions didconfig/verifier/didconfig_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ import (

"github.com/stretchr/testify/require"

"github.com/trustbloc/kms-crypto-go/crypto/tinkcrypto"
"github.com/trustbloc/kms-crypto-go/doc/jose"
"github.com/trustbloc/kms-crypto-go/kms/localkms"
mockkms "github.com/trustbloc/kms-crypto-go/mock/kms"
"github.com/trustbloc/kms-crypto-go/secretlock/noop"
"github.com/trustbloc/kms-crypto-go/spi/kms"
"github.com/trustbloc/kms-go/crypto/tinkcrypto"
"github.com/trustbloc/kms-go/doc/jose"
"github.com/trustbloc/kms-go/kms/localkms"
mockkms "github.com/trustbloc/kms-go/mock/kms"
"github.com/trustbloc/kms-go/secretlock/noop"
"github.com/trustbloc/kms-go/spi/kms"
afgjwt "github.com/trustbloc/vc-go/jwt"
ldcontext "github.com/trustbloc/vc-go/ld/context"
ldtestutil "github.com/trustbloc/vc-go/ld/testutil"
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ require (
github.com/multiformats/go-multihash v0.0.14
github.com/piprate/json-gold v0.5.1-0.20230111113000-6ddbe6e6f19f
github.com/stretchr/testify v1.8.1
github.com/trustbloc/kms-crypto-go v0.0.0-20230817141224-c6cb8c6f1908
github.com/trustbloc/kms-go v0.0.0-20230823163616-c9310a484f40
github.com/trustbloc/sidetree-core-go v1.0.0
github.com/trustbloc/vc-go v0.0.0-20230822090541-7dfc45bae51b
github.com/trustbloc/vc-go v0.0.0-20230823173222-60db5cb83715
)

require (
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -136,14 +136,14 @@ github.com/tidwall/pretty v1.2.0 h1:RWIZEg2iJ8/g6fDDYzMpobmaoGh5OLl4AXtGUGPcqCs=
github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU=
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/kms-crypto-go v0.0.0-20230817141224-c6cb8c6f1908 h1:2vyfl6E2XN/hP4YOTbWrhlVu/Fq10xAydPSZYm5Kb4A=
github.com/trustbloc/kms-crypto-go v0.0.0-20230817141224-c6cb8c6f1908/go.mod h1:+yUiLndNRUZSwbgjKbUsr8D/x2zawgeH82KyccU3TiU=
github.com/trustbloc/kms-go v0.0.0-20230823163616-c9310a484f40 h1:ffs36Xhux4VizFvANdq1F2V/dNp1kgR91CiKShDV1RA=
github.com/trustbloc/kms-go v0.0.0-20230823163616-c9310a484f40/go.mod h1:AkTaHo5jhlJR2I4FyJCXaxUA/kEsauBUPBwVnAebeUU=
github.com/trustbloc/logutil-go v1.0.0-rc1 h1:rRJbvgQfrlUfyej+mY0nuQJymGqjRW4oZEwKi544F4c=
github.com/trustbloc/logutil-go v1.0.0-rc1/go.mod h1:JlxT0oZfNKgIlSNtgc001WEeDMxlnAvOM43gNm8DQVc=
github.com/trustbloc/sidetree-core-go v1.0.0 h1:kzfKZOJ0sgDy9D1AYNcoR3JHutqtMtKvF2P9UwUcDjU=
github.com/trustbloc/sidetree-core-go v1.0.0/go.mod h1:jdxAFuorlIwFOGVW6O455/lZqxg2mZkRHNTEolcZdDI=
github.com/trustbloc/vc-go v0.0.0-20230822090541-7dfc45bae51b h1:7q3cNgX8467ps230I82s+0EMY6X9S2gsfXqweV8LRHs=
github.com/trustbloc/vc-go v0.0.0-20230822090541-7dfc45bae51b/go.mod h1:eYQLq2vyfmhG3rNTDyMnAspr7/ZAUzxxDfjUPJ+UZ6A=
github.com/trustbloc/vc-go v0.0.0-20230823173222-60db5cb83715 h1:CyZX11k47a0FHJWUZU7q9oooKg6uNFgmPeaBjY1Auic=
github.com/trustbloc/vc-go v0.0.0-20230823173222-60db5cb83715/go.mod h1:jl7UQMYkpwqQEfR8OMk9IzD2bqLyOcJ91eK28QnQTz4=
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 legacy/mem/mem.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"strings"
"sync"

spi "github.com/trustbloc/kms-crypto-go/spi/storage"
spi "github.com/trustbloc/kms-go/spi/storage"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion legacy/mem/mem_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/stretchr/testify/require"

spi "github.com/trustbloc/kms-crypto-go/spi/storage"
spi "github.com/trustbloc/kms-go/spi/storage"

storagetest "github.com/trustbloc/did-go/legacy/test/component/storage"

Expand Down
2 changes: 1 addition & 1 deletion legacy/mock/mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SPDX-License-Identifier: Apache-2.0
package mock

import (
spi "github.com/trustbloc/kms-crypto-go/spi/storage"
spi "github.com/trustbloc/kms-go/spi/storage"
)

// Provider is a mocked implementation of spi.Provider.
Expand Down
2 changes: 1 addition & 1 deletion legacy/mock/storage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"strings"
"sync"

"github.com/trustbloc/kms-crypto-go/spi/storage"
"github.com/trustbloc/kms-go/spi/storage"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion legacy/test/component/storage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/google/uuid"
"github.com/stretchr/testify/require"

spi "github.com/trustbloc/kms-crypto-go/spi/storage"
spi "github.com/trustbloc/kms-go/spi/storage"
)

// TestOption is an option for test behaviour.
Expand Down
2 changes: 1 addition & 1 deletion method/jwk/creator.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"fmt"

vdrapi "github.com/trustbloc/did-go/vdr/api"
"github.com/trustbloc/kms-crypto-go/doc/jose/jwk"
"github.com/trustbloc/kms-go/doc/jose/jwk"
"github.com/trustbloc/sidetree-core-go/pkg/canonicalizer"
"github.com/trustbloc/vc-go/did"
)
Expand Down
4 changes: 2 additions & 2 deletions method/jwk/creator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"testing"

"github.com/stretchr/testify/require"
jwkapi "github.com/trustbloc/kms-crypto-go/doc/jose/jwk"
"github.com/trustbloc/kms-crypto-go/doc/jose/jwk/jwksupport"
jwkapi "github.com/trustbloc/kms-go/doc/jose/jwk"
"github.com/trustbloc/kms-go/doc/jose/jwk/jwksupport"
"github.com/trustbloc/sidetree-core-go/pkg/canonicalizer"
"github.com/trustbloc/vc-go/did"

Expand Down
2 changes: 1 addition & 1 deletion method/jwk/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"encoding/json"
"fmt"

"github.com/trustbloc/kms-crypto-go/doc/jose/jwk"
"github.com/trustbloc/kms-go/doc/jose/jwk"
"github.com/trustbloc/vc-go/did"

vdrapi "github.com/trustbloc/did-go/vdr/api"
Expand Down
6 changes: 3 additions & 3 deletions method/longform/vdr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ import (
"testing"

"github.com/stretchr/testify/require"
"github.com/trustbloc/kms-crypto-go/crypto/primitive/bbs12381g2pub"
"github.com/trustbloc/kms-crypto-go/doc/jose/jwk"
"github.com/trustbloc/kms-crypto-go/doc/jose/jwk/jwksupport"
"github.com/trustbloc/kms-go/crypto/primitive/bbs12381g2pub"
"github.com/trustbloc/kms-go/doc/jose/jwk"
"github.com/trustbloc/kms-go/doc/jose/jwk/jwksupport"
"github.com/trustbloc/sidetree-core-go/pkg/document"
ariesdid "github.com/trustbloc/vc-go/did"
model "github.com/trustbloc/vc-go/did/endpoint"
Expand Down
2 changes: 1 addition & 1 deletion method/sidetree/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"github.com/btcsuite/btcutil/base58"
gojose "github.com/go-jose/go-jose/v3"
"github.com/stretchr/testify/require"
"github.com/trustbloc/kms-crypto-go/doc/jose/jwk"
"github.com/trustbloc/kms-go/doc/jose/jwk"
"github.com/trustbloc/sidetree-core-go/pkg/commitment"
"github.com/trustbloc/sidetree-core-go/pkg/jws"
"github.com/trustbloc/sidetree-core-go/pkg/util/ecsigner"
Expand Down
2 changes: 1 addition & 1 deletion method/sidetree/doc/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"encoding/json"
"fmt"

"github.com/trustbloc/kms-crypto-go/doc/jose/jwk"
"github.com/trustbloc/kms-go/doc/jose/jwk"
docdid "github.com/trustbloc/vc-go/did"
)

Expand Down
2 changes: 1 addition & 1 deletion vdr/httpbinding/resolver_interop.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ package httpbinding
import (
"strings"

"github.com/trustbloc/kms-crypto-go/doc/util/fingerprint"
"github.com/trustbloc/kms-go/doc/util/fingerprint"
diddoc "github.com/trustbloc/vc-go/did"
)

Expand Down
4 changes: 2 additions & 2 deletions vdr/key/creator.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"fmt"
"time"

"github.com/trustbloc/kms-crypto-go/doc/util/fingerprint"
"github.com/trustbloc/kms-crypto-go/util/cryptoutil"
"github.com/trustbloc/kms-go/doc/util/fingerprint"
"github.com/trustbloc/kms-go/util/cryptoutil"
"github.com/trustbloc/vc-go/did"
vdrspi "github.com/trustbloc/vc-go/spi/vdr"
)
Expand Down
2 changes: 1 addition & 1 deletion vdr/key/creator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/btcsuite/btcutil/base58"
"github.com/stretchr/testify/require"

"github.com/trustbloc/kms-crypto-go/doc/jose/jwk/jwksupport"
"github.com/trustbloc/kms-go/doc/jose/jwk/jwksupport"
"github.com/trustbloc/vc-go/did"
)

Expand Down
4 changes: 2 additions & 2 deletions vdr/key/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"fmt"
"regexp"

"github.com/trustbloc/kms-crypto-go/doc/jose/jwk/jwksupport"
"github.com/trustbloc/kms-crypto-go/doc/util/fingerprint"
"github.com/trustbloc/kms-go/doc/jose/jwk/jwksupport"
"github.com/trustbloc/kms-go/doc/util/fingerprint"
"github.com/trustbloc/vc-go/did"
vdrspi "github.com/trustbloc/vc-go/spi/vdr"
)
Expand Down
2 changes: 1 addition & 1 deletion vdr/key/resolver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

"github.com/stretchr/testify/require"

"github.com/trustbloc/kms-crypto-go/doc/util/fingerprint"
"github.com/trustbloc/kms-go/doc/util/fingerprint"
)

func TestReadInvalid(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion vdr/peer/creator.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/btcsuite/btcutil/base58"
"github.com/google/uuid"

"github.com/trustbloc/kms-crypto-go/doc/util/fingerprint"
"github.com/trustbloc/kms-go/doc/util/fingerprint"
"github.com/trustbloc/vc-go/did"
"github.com/trustbloc/vc-go/did/endpoint"
vdrspi "github.com/trustbloc/vc-go/spi/vdr"
Expand Down
16 changes: 8 additions & 8 deletions vdr/peer/creator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ import (
"github.com/btcsuite/btcutil/base58"
"github.com/stretchr/testify/require"

"github.com/trustbloc/kms-crypto-go/doc/util/fingerprint"
"github.com/trustbloc/kms-crypto-go/doc/util/jwkkid"
"github.com/trustbloc/kms-crypto-go/kms"
"github.com/trustbloc/kms-crypto-go/kms/localkms"
"github.com/trustbloc/kms-crypto-go/secretlock/noop"
kmsapi "github.com/trustbloc/kms-crypto-go/spi/kms"
"github.com/trustbloc/kms-crypto-go/spi/secretlock"
spi "github.com/trustbloc/kms-crypto-go/spi/storage"
"github.com/trustbloc/kms-go/doc/util/fingerprint"
"github.com/trustbloc/kms-go/doc/util/jwkkid"
"github.com/trustbloc/kms-go/kms"
"github.com/trustbloc/kms-go/kms/localkms"
"github.com/trustbloc/kms-go/secretlock/noop"
kmsapi "github.com/trustbloc/kms-go/spi/kms"
"github.com/trustbloc/kms-go/spi/secretlock"
spi "github.com/trustbloc/kms-go/spi/storage"
"github.com/trustbloc/vc-go/did"
"github.com/trustbloc/vc-go/did/endpoint"
vdrspi "github.com/trustbloc/vc-go/spi/vdr"
Expand Down
2 changes: 1 addition & 1 deletion vdr/peer/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"fmt"
"time"

"github.com/trustbloc/kms-crypto-go/spi/storage"
"github.com/trustbloc/kms-go/spi/storage"
"github.com/trustbloc/vc-go/did"

vdrapi "github.com/trustbloc/did-go/vdr/api"
Expand Down
2 changes: 1 addition & 1 deletion vdr/peer/vdr.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package peer
import (
"fmt"

"github.com/trustbloc/kms-crypto-go/spi/storage"
"github.com/trustbloc/kms-go/spi/storage"
diddoc "github.com/trustbloc/vc-go/did"
vdrspi "github.com/trustbloc/vc-go/spi/vdr"
)
Expand Down

0 comments on commit fb548a5

Please sign in to comment.