From d2a25b0aad4b46a43765e58db36ee2208ee793c6 Mon Sep 17 00:00:00 2001 From: Spencer Brown <spencer@privategrity.com> Date: Wed, 14 Nov 2018 13:28:03 -0800 Subject: [PATCH] Update package import paths --- README.md | 4 ++-- blockchain/block.go | 4 ++-- blockchain/block_test.go | 2 +- coin/mint.go | 4 ++-- coin/mint_test.go | 2 +- coin/seed.go | 2 +- diffieHellman/dhkx.go | 2 +- diffieHellman/dhkx_test.go | 2 +- format/message.go | 4 ++-- format/messagePayload.go | 4 ++-- format/messagePayload_test.go | 4 ++-- format/message_test.go | 4 ++-- format/recipientPayload.go | 4 ++-- format/recipientPayload_test.go | 4 ++-- format/registrationCode.go | 4 ++-- format/registrationCode_test.go | 4 ++-- forward/keys_test.go | 2 +- glide.yaml | 2 +- id/id.go | 2 +- messaging/key.go | 6 +++--- messaging/key_test.go | 2 +- messaging/salt.go | 2 +- messaging/salt_test.go | 2 +- verification/mic.go | 2 +- 24 files changed, 37 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index 30172959..63aa803c 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ privategrity/crypto ------------------- -[](https://gitlab.com/privategrity/crypto/commits/master) -[](https://gitlab.com/privategrity/crypto/commits/master) +[](https://gitlab.com/elixxir/crypto/commits/master) +[](https://gitlab.com/elixxir/crypto/commits/master) This library implements functionality for cryptographic operations in diff --git a/blockchain/block.go b/blockchain/block.go index 5aa1c35d..b7a2aee2 100644 --- a/blockchain/block.go +++ b/blockchain/block.go @@ -3,8 +3,8 @@ package blockchain import ( "crypto/sha256" "encoding/json" - "gitlab.com/privategrity/crypto/coin" - "gitlab.com/privategrity/crypto/shuffle" + "gitlab.com/elixxir/crypto/coin" + "gitlab.com/elixxir/crypto/shuffle" "golang.org/x/crypto/blake2b" "sync" ) diff --git a/blockchain/block_test.go b/blockchain/block_test.go index 571c16f0..63dd6ea4 100644 --- a/blockchain/block_test.go +++ b/blockchain/block_test.go @@ -2,7 +2,7 @@ package blockchain import ( "fmt" - "gitlab.com/privategrity/crypto/coin" + "gitlab.com/elixxir/crypto/coin" "math/rand" "reflect" "testing" diff --git a/coin/mint.go b/coin/mint.go index 0f64c547..2ddfb841 100644 --- a/coin/mint.go +++ b/coin/mint.go @@ -3,7 +3,7 @@ package coin import ( jww "github.com/spf13/jwalterweatherman" "math/rand" - "gitlab.com/privategrity/crypto/hash" + "gitlab.com/elixxir/crypto/hash" "encoding/binary" ) @@ -19,7 +19,7 @@ import ( // To remove this once more robust functionality for issuing tokens is in // place, recursive grep ignoring case for Mint in -// $GOPATH/gitlab.com/privategrity. Doing this should reveal the location of +// $GOPATH/gitlab.com/elixxir. Doing this should reveal the location of // all related functionality. // If you pass this function a total value that's less than the number of coins diff --git a/coin/mint_test.go b/coin/mint_test.go index 7b2fb59f..3b1942ce 100644 --- a/coin/mint_test.go +++ b/coin/mint_test.go @@ -2,7 +2,7 @@ package coin import ( "testing" - "gitlab.com/privategrity/crypto/id" + "gitlab.com/elixxir/crypto/id" ) // Proves that Mint() returns the requested value in one coin diff --git a/coin/seed.go b/coin/seed.go index 069f3d27..aebd8315 100644 --- a/coin/seed.go +++ b/coin/seed.go @@ -2,7 +2,7 @@ package coin import ( "crypto/sha256" - "gitlab.com/privategrity/crypto/csprng" + "gitlab.com/elixxir/crypto/csprng" ) // A Seed contains the secret proving ownership of a series of coins diff --git a/diffieHellman/dhkx.go b/diffieHellman/dhkx.go index cedba60c..6c261208 100644 --- a/diffieHellman/dhkx.go +++ b/diffieHellman/dhkx.go @@ -2,7 +2,7 @@ package diffieHellman import ( jww "github.com/spf13/jwalterweatherman" - "gitlab.com/privategrity/crypto/cyclic" + "gitlab.com/elixxir/crypto/cyclic" ) // CreateDHKeyPair is a function that receives the generator and prime and diff --git a/diffieHellman/dhkx_test.go b/diffieHellman/dhkx_test.go index fd788dbe..ef610136 100644 --- a/diffieHellman/dhkx_test.go +++ b/diffieHellman/dhkx_test.go @@ -2,7 +2,7 @@ package diffieHellman import ( "encoding/hex" - "gitlab.com/privategrity/crypto/cyclic" + "gitlab.com/elixxir/crypto/cyclic" "testing" ) diff --git a/format/message.go b/format/message.go index 156dd369..b65d19fa 100644 --- a/format/message.go +++ b/format/message.go @@ -9,8 +9,8 @@ package format import ( "errors" "fmt" - "gitlab.com/privategrity/crypto/cyclic" - "gitlab.com/privategrity/crypto/id" + "gitlab.com/elixxir/crypto/cyclic" + "gitlab.com/elixxir/crypto/id" ) // Defines message structure. Based the "Basic Message Structure" doc diff --git a/format/messagePayload.go b/format/messagePayload.go index 873a916d..93e287b3 100644 --- a/format/messagePayload.go +++ b/format/messagePayload.go @@ -1,8 +1,8 @@ package format import ( - "gitlab.com/privategrity/crypto/cyclic" - "gitlab.com/privategrity/crypto/id" + "gitlab.com/elixxir/crypto/cyclic" + "gitlab.com/elixxir/crypto/id" ) const ( diff --git a/format/messagePayload_test.go b/format/messagePayload_test.go index 38bd0cbd..2dfef8a4 100644 --- a/format/messagePayload_test.go +++ b/format/messagePayload_test.go @@ -1,9 +1,9 @@ package format import ( - "gitlab.com/privategrity/crypto/cyclic" + "gitlab.com/elixxir/crypto/cyclic" "testing" - "gitlab.com/privategrity/crypto/id" + "gitlab.com/elixxir/crypto/id" ) func TestMessagePayload(t *testing.T) { diff --git a/format/message_test.go b/format/message_test.go index a8208b40..f95bee5c 100644 --- a/format/message_test.go +++ b/format/message_test.go @@ -8,9 +8,9 @@ package format import ( "fmt" - "gitlab.com/privategrity/crypto/cyclic" + "gitlab.com/elixxir/crypto/cyclic" "testing" - "gitlab.com/privategrity/crypto/id" + "gitlab.com/elixxir/crypto/id" "math/rand" "bytes" ) diff --git a/format/recipientPayload.go b/format/recipientPayload.go index 47b1991e..8a8e69d7 100644 --- a/format/recipientPayload.go +++ b/format/recipientPayload.go @@ -3,8 +3,8 @@ package format import ( "errors" "fmt" - "gitlab.com/privategrity/crypto/cyclic" - "gitlab.com/privategrity/crypto/id" + "gitlab.com/elixxir/crypto/cyclic" + "gitlab.com/elixxir/crypto/id" ) const ( diff --git a/format/recipientPayload_test.go b/format/recipientPayload_test.go index 5a2768de..8f2b8ef5 100644 --- a/format/recipientPayload_test.go +++ b/format/recipientPayload_test.go @@ -1,9 +1,9 @@ package format import ( - "gitlab.com/privategrity/crypto/cyclic" + "gitlab.com/elixxir/crypto/cyclic" "testing" - "gitlab.com/privategrity/crypto/id" + "gitlab.com/elixxir/crypto/id" ) func TestRecipientPayload(t *testing.T) { diff --git a/format/registrationCode.go b/format/registrationCode.go index 50bec019..f229956d 100644 --- a/format/registrationCode.go +++ b/format/registrationCode.go @@ -3,8 +3,8 @@ package format import ( "errors" "fmt" - "gitlab.com/privategrity/crypto/cyclic" - "gitlab.com/privategrity/crypto/hash" + "gitlab.com/elixxir/crypto/cyclic" + "gitlab.com/elixxir/crypto/hash" ) const REGCODE_LEN uint64 = 32 diff --git a/format/registrationCode_test.go b/format/registrationCode_test.go index 0abbf089..404de93a 100644 --- a/format/registrationCode_test.go +++ b/format/registrationCode_test.go @@ -1,8 +1,8 @@ package format import ( - "gitlab.com/privategrity/crypto/cyclic" - "gitlab.com/privategrity/crypto/hash" + "gitlab.com/elixxir/crypto/cyclic" + "gitlab.com/elixxir/crypto/hash" "math" "reflect" "testing" diff --git a/forward/keys_test.go b/forward/keys_test.go index 142e33f5..f0154872 100644 --- a/forward/keys_test.go +++ b/forward/keys_test.go @@ -3,7 +3,7 @@ package forward import ( "crypto/sha256" "encoding/hex" - "gitlab.com/privategrity/crypto/hash" + "gitlab.com/elixxir/crypto/hash" "testing" ) diff --git a/glide.yaml b/glide.yaml index af7e9113..d2067ced 100644 --- a/glide.yaml +++ b/glide.yaml @@ -1,4 +1,4 @@ -package: gitlab.com/privategrity/crypto +package: gitlab.com/elixxir/crypto import: - package: golang.org/x/crypto subpackages: diff --git a/id/id.go b/id/id.go index 21b55065..215a8b69 100644 --- a/id/id.go +++ b/id/id.go @@ -8,7 +8,7 @@ package id import ( "encoding/base32" - "gitlab.com/privategrity/crypto/hash" + "gitlab.com/elixxir/crypto/hash" "testing" "encoding/binary" ) diff --git a/messaging/key.go b/messaging/key.go index 1de6069f..717832d9 100644 --- a/messaging/key.go +++ b/messaging/key.go @@ -8,9 +8,9 @@ package messaging import ( "crypto/sha256" - "gitlab.com/privategrity/crypto/cyclic" - "gitlab.com/privategrity/crypto/forward" - "gitlab.com/privategrity/crypto/hash" + "gitlab.com/elixxir/crypto/cyclic" + "gitlab.com/elixxir/crypto/forward" + "gitlab.com/elixxir/crypto/hash" ) // NewEncryptionKey combines the salt with the baseKey to generate diff --git a/messaging/key_test.go b/messaging/key_test.go index ea5a7ac8..950c4d5b 100644 --- a/messaging/key_test.go +++ b/messaging/key_test.go @@ -7,7 +7,7 @@ package messaging import ( - "gitlab.com/privategrity/crypto/cyclic" + "gitlab.com/elixxir/crypto/cyclic" "testing" ) diff --git a/messaging/salt.go b/messaging/salt.go index 3156c9d7..b779f0d6 100644 --- a/messaging/salt.go +++ b/messaging/salt.go @@ -8,7 +8,7 @@ package messaging import ( jww "github.com/spf13/jwalterweatherman" - "gitlab.com/privategrity/crypto/csprng" + "gitlab.com/elixxir/crypto/csprng" ) // NewSalt creates a byte slice of `size` using the provided output from the diff --git a/messaging/salt_test.go b/messaging/salt_test.go index 917f5d02..8e661485 100644 --- a/messaging/salt_test.go +++ b/messaging/salt_test.go @@ -7,7 +7,7 @@ package messaging import ( - "gitlab.com/privategrity/crypto/csprng" + "gitlab.com/elixxir/crypto/csprng" "testing" ) diff --git a/verification/mic.go b/verification/mic.go index 2fa4d12f..3d2607ae 100644 --- a/verification/mic.go +++ b/verification/mic.go @@ -1,7 +1,7 @@ package verification import ( - "gitlab.com/privategrity/crypto/hash" + "gitlab.com/elixxir/crypto/hash" ) func GenerateMIC(hashee [][]byte, length uint64) []byte { -- GitLab