use normal channel for sign pinless
This commit is contained in:
parent
64f4cc0c4a
commit
f4bed2722b
|
@ -42,7 +42,7 @@
|
|||
|
||||
[[projects]]
|
||||
branch = "develop"
|
||||
digest = "1:ec12a985e52f8797c3ae477e6fc24fa178667360d19b3fe2793fc98ee0396c0d"
|
||||
digest = "1:2758b9d1b36ce6d9dbdb00be76e850d290ec51ac994a12ed6f9a5569c9d5f41c"
|
||||
name = "github.com/status-im/keycard-go"
|
||||
packages = [
|
||||
".",
|
||||
|
@ -57,7 +57,7 @@
|
|||
"types",
|
||||
]
|
||||
pruneopts = "NUT"
|
||||
revision = "6a75e43732427d95355bfb131e43f5353c927450"
|
||||
revision = "eed60ac3da7066331a43f58b30445889c082fb7a"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
|
|
|
@ -266,7 +266,7 @@ func (cs *CommandSet) SignPinless(data []byte) (*types.Signature, error) {
|
|||
return nil, err
|
||||
}
|
||||
|
||||
resp, err := cs.sc.Send(cmd)
|
||||
resp, err := cs.c.Send(cmd)
|
||||
if err = cs.checkOK(resp, err); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
|
@ -174,8 +174,8 @@ func (cs *CommandSet) initializeSession(resp *apdu.Response, hostChallenge []byt
|
|||
name string
|
||||
key []byte
|
||||
}{
|
||||
{"globalplatform", identifiers.GlobalPlatformDefaultKey},
|
||||
{"keycard", identifiers.KeycardDevelopmentKey},
|
||||
{"globalplatform", identifiers.GlobalPlatformDefaultKey},
|
||||
}
|
||||
|
||||
for _, set := range keySets {
|
||||
|
|
Loading…
Reference in New Issue