diff --git a/apdu/command_test.go b/apdu/command_test.go index fe90591..61ede3a 100644 --- a/apdu/command_test.go +++ b/apdu/command_test.go @@ -3,7 +3,7 @@ package apdu import ( "testing" - "github.com/status-im/status-go/smartcard/hexutils" + "github.com/status-im/smartcard-go/hexutils" "github.com/stretchr/testify/assert" ) diff --git a/apdu/response_test.go b/apdu/response_test.go index 201ebaa..9d07b5b 100644 --- a/apdu/response_test.go +++ b/apdu/response_test.go @@ -3,7 +3,7 @@ package apdu import ( "testing" - "github.com/status-im/status-go/smartcard/hexutils" + "github.com/status-im/smartcard-go/hexutils" "github.com/stretchr/testify/assert" ) diff --git a/apdu/utils_test.go b/apdu/utils_test.go index cdb15b1..2131513 100644 --- a/apdu/utils_test.go +++ b/apdu/utils_test.go @@ -3,7 +3,7 @@ package apdu import ( "testing" - "github.com/status-im/status-go/smartcard/hexutils" + "github.com/status-im/smartcard-go/hexutils" "github.com/stretchr/testify/assert" ) diff --git a/globalplatform/apdu_wrapper.go b/globalplatform/apdu_wrapper.go index 687fe2f..45aca08 100644 --- a/globalplatform/apdu_wrapper.go +++ b/globalplatform/apdu_wrapper.go @@ -4,8 +4,8 @@ import ( "bytes" "encoding/binary" - "github.com/status-im/status-go/smartcard/apdu" - "github.com/status-im/status-go/smartcard/globalplatform/crypto" + "github.com/status-im/smartcard-go/apdu" + "github.com/status-im/smartcard-go/globalplatform/crypto" ) // APDUWrapper is a wrapper for apdu commands inside a global platform secure channel. diff --git a/globalplatform/apdu_wrapper_test.go b/globalplatform/apdu_wrapper_test.go index bb63367..90455ac 100644 --- a/globalplatform/apdu_wrapper_test.go +++ b/globalplatform/apdu_wrapper_test.go @@ -3,9 +3,9 @@ package globalplatform import ( "testing" - "github.com/status-im/status-go/smartcard/apdu" - "github.com/status-im/status-go/smartcard/globalplatform/crypto" - "github.com/status-im/status-go/smartcard/hexutils" + "github.com/status-im/smartcard-go/apdu" + "github.com/status-im/smartcard-go/globalplatform/crypto" + "github.com/status-im/smartcard-go/hexutils" "github.com/stretchr/testify/assert" ) diff --git a/globalplatform/channel.go b/globalplatform/channel.go index 67fb954..f17b4d4 100644 --- a/globalplatform/channel.go +++ b/globalplatform/channel.go @@ -1,6 +1,6 @@ package globalplatform -import "github.com/status-im/status-go/smartcard/apdu" +import "github.com/status-im/smartcard-go/apdu" // Channel is an interface with a Send method to send apdu commands and receive apdu responses. type Channel interface { diff --git a/globalplatform/commands.go b/globalplatform/commands.go index 8e3d03b..b01fdc3 100644 --- a/globalplatform/commands.go +++ b/globalplatform/commands.go @@ -1,8 +1,8 @@ package globalplatform import ( - "github.com/status-im/status-go/smartcard/apdu" - "github.com/status-im/status-go/smartcard/globalplatform/crypto" + "github.com/status-im/smartcard-go/apdu" + "github.com/status-im/smartcard-go/globalplatform/crypto" ) // Constants used in apdu commands and responses as defined by iso7816 and globalplatform. diff --git a/globalplatform/commands_test.go b/globalplatform/commands_test.go index c121372..414fcc1 100644 --- a/globalplatform/commands_test.go +++ b/globalplatform/commands_test.go @@ -3,7 +3,7 @@ package globalplatform import ( "testing" - "github.com/status-im/status-go/smartcard/hexutils" + "github.com/status-im/smartcard-go/hexutils" "github.com/stretchr/testify/assert" ) diff --git a/globalplatform/crypto/crypto_test.go b/globalplatform/crypto/crypto_test.go index 636f48e..2b581df 100644 --- a/globalplatform/crypto/crypto_test.go +++ b/globalplatform/crypto/crypto_test.go @@ -3,7 +3,7 @@ package crypto import ( "testing" - "github.com/status-im/status-go/smartcard/hexutils" + "github.com/status-im/smartcard-go/hexutils" "github.com/stretchr/testify/assert" ) diff --git a/globalplatform/globalplatform.go b/globalplatform/globalplatform.go index bd2031d..054a010 100644 --- a/globalplatform/globalplatform.go +++ b/globalplatform/globalplatform.go @@ -2,4 +2,4 @@ package globalplatform import "github.com/ethereum/go-ethereum/log" -var logger = log.New("package", "status-go/smartcard/globalplatform") +var logger = log.New("package", "smartcard-go/globalplatform") diff --git a/globalplatform/load.go b/globalplatform/load.go index d68c4b2..da714f8 100644 --- a/globalplatform/load.go +++ b/globalplatform/load.go @@ -7,7 +7,7 @@ import ( "os" "strings" - "github.com/status-im/status-go/smartcard/apdu" + "github.com/status-im/smartcard-go/apdu" ) var internalFiles = []string{ diff --git a/globalplatform/normal_channel.go b/globalplatform/normal_channel.go index 61b287e..b2d8b5b 100644 --- a/globalplatform/normal_channel.go +++ b/globalplatform/normal_channel.go @@ -1,8 +1,8 @@ package globalplatform import ( - "github.com/status-im/status-go/smartcard/apdu" - "github.com/status-im/status-go/smartcard/hexutils" + "github.com/status-im/smartcard-go/apdu" + "github.com/status-im/smartcard-go/hexutils" ) // Transmitter defines an interface with one method to transmit raw commands and receive raw responses. diff --git a/globalplatform/secure_channel.go b/globalplatform/secure_channel.go index 0c588d5..2d8d243 100644 --- a/globalplatform/secure_channel.go +++ b/globalplatform/secure_channel.go @@ -1,8 +1,8 @@ package globalplatform import ( - "github.com/status-im/status-go/smartcard/apdu" - "github.com/status-im/status-go/smartcard/hexutils" + "github.com/status-im/smartcard-go/apdu" + "github.com/status-im/smartcard-go/hexutils" ) // SecureChannel wraps another channel and sends wrapped commands using APDUWrapper. diff --git a/globalplatform/session.go b/globalplatform/session.go index 3ef2543..2f074f4 100644 --- a/globalplatform/session.go +++ b/globalplatform/session.go @@ -4,8 +4,8 @@ import ( "errors" "fmt" - "github.com/status-im/status-go/smartcard/apdu" - "github.com/status-im/status-go/smartcard/globalplatform/crypto" + "github.com/status-im/smartcard-go/apdu" + "github.com/status-im/smartcard-go/globalplatform/crypto" ) // Session is a struct containing the keys and challenges used in the current communication with a card. diff --git a/globalplatform/session_test.go b/globalplatform/session_test.go index 6fee2f1..eec4471 100644 --- a/globalplatform/session_test.go +++ b/globalplatform/session_test.go @@ -3,8 +3,8 @@ package globalplatform import ( "testing" - "github.com/status-im/status-go/smartcard/apdu" - "github.com/status-im/status-go/smartcard/hexutils" + "github.com/status-im/smartcard-go/apdu" + "github.com/status-im/smartcard-go/hexutils" "github.com/stretchr/testify/assert" ) diff --git a/lightwallet/installer.go b/lightwallet/installer.go index 9236191..60f1fb4 100644 --- a/lightwallet/installer.go +++ b/lightwallet/installer.go @@ -6,8 +6,8 @@ import ( "fmt" "os" - "github.com/status-im/status-go/smartcard/apdu" - "github.com/status-im/status-go/smartcard/globalplatform" + "github.com/status-im/smartcard-go/apdu" + "github.com/status-im/smartcard-go/globalplatform" ) var ( diff --git a/lightwallet/lightwallet.go b/lightwallet/lightwallet.go index 918bead..228f07a 100644 --- a/lightwallet/lightwallet.go +++ b/lightwallet/lightwallet.go @@ -2,4 +2,4 @@ package lightwallet import "github.com/ethereum/go-ethereum/log" -var logger = log.New("package", "status-go/smartcard/lightwallet") +var logger = log.New("package", "smartcard-go/lightwallet")