mirror of
https://github.com/status-im/status-keycard-go.git
synced 2025-01-18 10:22:51 +00:00
add explicit ISD select
This commit is contained in:
parent
aafe062ad0
commit
efe6c94bbf
@ -472,6 +472,12 @@ func (kc *keycardContext) factoryReset() error {
|
||||
}
|
||||
|
||||
cmdSet := globalplatform.NewCommandSet(kc.c)
|
||||
|
||||
if err := cmdSet.Select(); err != nil {
|
||||
l("select ISD failed", "error", err)
|
||||
return err
|
||||
}
|
||||
|
||||
if err := cmdSet.OpenSecureChannel(); err != nil {
|
||||
l("open secure channel failed", "error", err)
|
||||
return err
|
||||
|
Loading…
x
Reference in New Issue
Block a user