update imported packages
This commit is contained in:
parent
bb9fddd181
commit
8a55f77d42
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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{
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
@ -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 (
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue