Test applet locking behavior
This commit is contained in:
parent
6febd85ddc
commit
300aec6d85
1 changed files with 15 additions and 0 deletions
|
@ -48,5 +48,20 @@ send_apdu -sc 0 -APDU 80020000150102030405060708090A0B0C0D0E0F101112131415
|
||||||
send_apdu -sc 0 -APDU 8002000002FFFE
|
send_apdu -sc 0 -APDU 8002000002FFFE
|
||||||
send_apdu -sc 0 -APDU 8004000003
|
send_apdu -sc 0 -APDU 8004000003
|
||||||
|
|
||||||
|
// De- and re-select applet
|
||||||
|
card_disconnect
|
||||||
|
card_connect
|
||||||
|
send_apdu -sc 0 -APDU 00A40400080102030405060809
|
||||||
|
|
||||||
|
// Exceed maximum of PIN unlock trials
|
||||||
|
send_apdu -sc 0 -APDU 802000000431313131
|
||||||
|
send_apdu -sc 0 -APDU 802000000431313131
|
||||||
|
send_apdu -sc 0 -APDU 802000000431313131
|
||||||
|
|
||||||
|
// De- and re-select applet in locked state
|
||||||
|
card_disconnect
|
||||||
|
card_connect
|
||||||
|
send_apdu -sc 0 -APDU 00A40400080102030405060809
|
||||||
|
|
||||||
card_disconnect
|
card_disconnect
|
||||||
release_context
|
release_context
|
||||||
|
|
Loading…
Reference in a new issue