Skip to content

Investigate partial errors with sysmocom cards (sysmoISIM-SJA2) #272

@petrs

Description

@petrs

Testing for sysmocom sysmoISIM-SJA2 card starts correctly until first 6f00 is hit, Then all subsequent request return either 6f00 or not supported algorithms. Requires reinstallation of applet - card cold reset will not solve the issue

CommmandAPDU: 7 bytes, nc=1, ne=256
b0 75 12 00 01 30 00
ResponseAPDU: 29 bytes, SW=9000, elapsed=94 ms
12 00 ff 00 01 23 94 00 01 23 80 00 00 19 d8 00 00 19 d8 00 00 19 d8 00 00 19 d8 90 00
<<<<
ALG_DES_MAC8_ISO9797_1_M1_ALG3;yes;		0.094000;20;0;0

>>>>
CommmandAPDU: 5 bytes, nc=0, ne=256
b0 e2 00 00 00
ResponseAPDU: 2 bytes, SW=9000, elapsed=65 ms
90 00
<<<<
>>>>
CommmandAPDU: 7 bytes, nc=1, ne=256
b0 75 12 00 01 31 00
ResponseAPDU: 29 bytes, SW=9000, elapsed=14 ms
12 03 ff 00 01 23 94 00 01 23 94 00 00 19 d8 00 00 19 d8 00 00 19 d8 00 00 19 d8 90 00
<<<<
ALG_AES_CMAC_128;no;		0.014000;0;0;0


javacard.security.MessageDigest

>>>>
CommmandAPDU: 5 bytes, nc=0, ne=256
b0 e2 00 00 00
ResponseAPDU: 2 bytes, SW=9000, elapsed=16 ms
90 00
<<<<
>>>>
CommmandAPDU: 7 bytes, nc=1, ne=256
b0 75 15 00 01 01 00
ResponseAPDU: 29 bytes, SW=9000, elapsed=94 ms
15 00 ff 00 01 23 94 00 01 23 7c 00 00 19 d8 00 00 19 d8 00 00 19 d8 00 00 19 d8 90 00
<<<<
ALG_SHA;yes;		0.094000;24;0;0

>>>>
CommmandAPDU: 5 bytes, nc=0, ne=256
b0 e2 00 00 00
ResponseAPDU: 2 bytes, SW=9000, elapsed=16 ms
90 00
<<<<
>>>>
CommmandAPDU: 7 bytes, nc=1, ne=256
b0 75 15 00 01 02 00
ResponseAPDU: 2 bytes, SW=6f00, elapsed=48 ms
6f 00
<<<<
ALG_MD5;UNKONWN_ERROR-card_has_return_value_6f00;

>>>>
CommmandAPDU: 5 bytes, nc=0, ne=256
b0 e2 00 00 00
ResponseAPDU: 2 bytes, SW=9000, elapsed=16 ms
90 00
<<<<
>>>>
CommmandAPDU: 7 bytes, nc=1, ne=256
b0 75 15 00 01 03 00
ResponseAPDU: 29 bytes, SW=9000, elapsed=15 ms
15 03 ff 00 01 23 7c 00 01 23 7c 00 00 19 d8 00 00 19 d8 00 00 19 d8 00 00 19 d8 90 00
<<<<
ALG_RIPEMD160;no;		0.015000;0;0;0

>>>>
CommmandAPDU: 5 bytes, nc=0, ne=256
b0 e2 00 00 00
ResponseAPDU: 2 bytes, SW=9000, elapsed=22 ms
90 00
<<<<
>>>>
CommmandAPDU: 7 bytes, nc=1, ne=256
b0 75 15 00 01 04 00
ResponseAPDU: 2 bytes, SW=6f00, elapsed=31 ms
6f 00
<<<<
ALG_SHA_256;UNKONWN_ERROR-card_has_return_value_6f00;

>>>>
CommmandAPDU: 5 bytes, nc=0, ne=256
b0 e2 00 00 00
ResponseAPDU: 2 bytes, SW=9000, elapsed=16 ms
90 00
<<<<
>>>>
CommmandAPDU: 7 bytes, nc=1, ne=256
b0 75 15 00 01 05 00
ResponseAPDU: 29 bytes, SW=9000, elapsed=1 ms
15 03 ff 00 01 23 7c 00 01 23 7c 00 00 19 d8 00 00 19 d8 00 00 19 d8 00 00 19 d8 90 00
<<<<
ALG_SHA_384;no;		0.016000;0;0;0


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions