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

Not all cards are supported #1

Open
johkra opened this issue Apr 23, 2013 · 1 comment
Open

Not all cards are supported #1

johkra opened this issue Apr 23, 2013 · 1 comment

Comments

@johkra
Copy link

johkra commented Apr 23, 2013

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.

@andrmuel
Copy link
Owner

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 ..).

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

2 participants