Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
petrs opened this issue Dec 11, 2024 · 0 comments
Open

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

petrs opened this issue Dec 11, 2024 · 0 comments

Comments

@petrs
Copy link
Member

petrs commented Dec 11, 2024

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


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant