You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
your code was a great help to get started with my implementation, thanks a lot!
During testing I found that some of your parameters do not apply to all cards:
I found a card (Swiss LAMal health insurance card according to the atr list) with a different ATR. The value is 3b d8 96 ff 81 31 fe 45 80 64 04 1b b4 2a 81 05 5b. Some test cards had 3b db 96 ff 81 31 fe 45 80 67 04 1b b4 2a 00 0a 02 81 05 53, but I have not found this value in the wild so far.
Furthermore, some cards (e.g. sansan) would refuse the SELECT FILE commands you use. The following bytes work with all cards I've tested: {0x00, 0xA4, 0x02, 0x0c, 0x02, 0x2F, } (that is, change P1 to 0x02 and P2 to 0x0C).
Thanks again and I hope my feedback can be useful for someone.
The text was updated successfully, but these errors were encountered:
Hi
I just saw there is a 9 years old issue that I somehow missed 🙈
I developed this after I received my own e-health card and did some very basic tests, but quickly lost interest afterwards. I pushed it in the hope it may help someone else get started, but I didn't test it with any card other than my own and there is a lot missing in terms of functionality as well.
I'll leave this issue open as it might be helpful for others (I probably should have added a README ..).
Hello,
your code was a great help to get started with my implementation, thanks a lot!
During testing I found that some of your parameters do not apply to all cards:
I found a card (Swiss LAMal health insurance card according to the atr list) with a different ATR. The value is 3b d8 96 ff 81 31 fe 45 80 64 04 1b b4 2a 81 05 5b. Some test cards had 3b db 96 ff 81 31 fe 45 80 67 04 1b b4 2a 00 0a 02 81 05 53, but I have not found this value in the wild so far.
Furthermore, some cards (e.g. sansan) would refuse the SELECT FILE commands you use. The following bytes work with all cards I've tested: {0x00, 0xA4, 0x02, 0x0c, 0x02, 0x2F, } (that is, change P1 to 0x02 and P2 to 0x0C).
Thanks again and I hope my feedback can be useful for someone.
The text was updated successfully, but these errors were encountered: