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

ATR 3B80800101 is too generic #74

Open
dengert opened this issue Sep 30, 2023 · 0 comments
Open

ATR 3B80800101 is too generic #74

dengert opened this issue Sep 30, 2023 · 0 comments

Comments

@dengert
Copy link

dengert commented Sep 30, 2023

Using the ATR of 3B80800101 is so generic, that it can lead to problems because at least one other PIV card
is reported to use the same ATR. "PIVKey uTrust (01) ISO 14443 Type B without historical bytes".

This has showed up in: OpenSC/OpenSC#2872 only works when run within the OpenSC CI script. Other test environments may have similar problems.

The ATR appears in https://github.com/arekinath/PivApplet/blob/master/test/jcardsim.cfg#L3

Suggested ATR: 3B 8A 80 01 53 50 69 76 41 70 70 6C 65 74 2B
This includes 10 bytes historical bytes with Category indicator byte: 0x53 (proprietary format), "PivApplet"
and TCK=0x2B

Also see: https://github.com/dengert/OpenSC/tree/generic-atr which also tries to get around the issue.

Since 3B 8X 80 01 (where X is number of historical bytes) is also use by PC/SC to when using card from NFC to there maybe other options for a less generic ATR.

Also see:
https://smartcard-atr.apdu.fr/parse?ATR=3B80800101
https://smartcard-atr.apdu.fr/parse?ATR=3B8A8001535069764170706C65742B

@Jakuje

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