diff --git a/README.md b/README.md index 301729594d3c5e33b22f09987f26de00789b8ff1..63aa803c6d6c38a3f4da67bdf94ae36632ab4122 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 5aa1c35dbf7b08b1274e6821243466a5505e31e5..b7a2aee262a3a905881acda701dc3609ae4abef4 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 571c16f0dbfa172998dff39d325918fe327bfb5e..63dd6ea4450cdf6610406800b6ecf956b0b781f3 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 0f64c547c2e5fd857aa997f66959ac981448610b..2ddfb841b1755f934d13c405485be22a5000a7f8 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 7b2fb59fc73e225ccb8fbc68ea54e960a7f610ec..3b1942ce6b8244d73102d3dfc85b49bf21ad5506 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 069f3d2734e7828afe3ef1a20548b770520042eb..aebd831569738792c528610a8d7f3fdbeacff956 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 cedba60c0b014627ae65e38c74ddf79c32fef033..6c2612080d3dd09a7a9c4165516d8b410d7a9034 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 fd788dbec67806d9243e3770918cd330860534cb..ef6101365f702aaa16fa5b8a1c08e66efa2ab3b4 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 156dd36990529cf81e29da830b86dac9c4efcb76..b65d19fae09762d787cca74460791b6204970baa 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 873a916daefd881c052579823ccc78e56b40a587..93e287b3501082be15aa8e864d99552e3c8c3931 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 38bd0cbde7ef9d3ab57da461ef1e947ad8ba963f..2dfef8a4977f52da8fc8836fc824be4531ea57ed 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 a8208b4060de9026b4598716644e1f792fc8d78a..f95bee5c999c198142b592dab65634bce9000ba8 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 47b1991eed5d512aea941a5dc3ac956a16d413f0..8a8e69d775364c09095170bcfddccfec95c4fb60 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 5a2768de434bb68b09b6e5c926fc6656572ac1cb..8f2b8ef53b2e8ee9610916f12c52b5eb532df58d 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 50bec0199a9d6d78dae8c1a0c60434bc250553e2..f229956d17c9ab2c460c73f28e4c1f7b06f17c4e 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 0abbf089941fa8a4b5ce7abcd6f2bdf536794ca1..404de93a02f7163c1c1a280deb9840b7ca937165 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 142e33f58c7dc017d7afdc31fae1448395250737..f015487213b9f6c5cad32098a50d076b91e1d82f 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 af7e91136a42875ef18576026a4618291ca99fce..d2067ceda3b1dc64189c546073922c177375eb50 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 21b550655dbd08081956387c3cbaff61533cdeb4..215a8b69ee396952a8bac4eb2bb50735b691c153 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 1de6069fcf1dabaea79fa4c7131eef8204fdf0a2..717832d9b9f921d60113d2679e8d26ea6a9b0669 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 ea5a7ac841c07d00253fbc14da2c0581427fd422..950c4d5b04799af5434ef72211adfa085adf99cf 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 3156c9d7a790173659b374baeb7b882b73c16502..b779f0d6eeed4921f37424c040723ffb37291c29 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 917f5d02d049a1b68ecf134ccb40ab2dbea416b2..8e66148574417ab0288b751a7172bf2f68ab1927 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 2fa4d12fa7a858b1438d8b4d220a020a6c379a6e..3d2607ae8f1838635d3fbf30627f2efd999f685e 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 {