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
Possibility of another JPKI ATR #3021
Comments
If you want to try it with minidriver:
Then for 32 bit with regedit cd to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Cryptography\Calais\SmartCards |
@dengert Yeah, I changed to it then works! ======================================================= --------------===========================-------------- 일련 번호: 0705d990 AT_SIGNATURE 공개 키 일치 검사를 수행 중... 인증서 체인 검증 수행 중... CertContext[0][0]: dwInfoStatus=1 dwErrorStatus=1000040 Exclude leaf cert:
|
I think we can add this ATR to customactions.cpp and card-jpki.c @hamano ? |
During driver development, I didn't understand ATR well then, and I still don't understand it well now. Does the result of |
The ATR is an old feature to detect the type of a smart card and Windows still uses this as primary method to select the correct smart card driver (hence, the need for modifying the registry). In you driver everything works fine (has fallback to AID selection), but since the ATR seems to be bijective, you may use this as short cut in the match card callback. |
Thank you for your explanation.
|
The first reader is a contact reader and the ATR comes from the card. The second reader is using NFC, and in that protocol the ATR from the card is not available, so software constructs ATR. The first part of ATR has voltage, timing and protocol values which are only used with a contact reader. The historical bytes are usually the same. in both cases. But it could be the card be different https://www.acs.com.hk/en/products/403/acr1255u-j1-acs-secure-bluetooth%C2%AE-nfc-reader/ https://smartcard-atr.apdu.fr/ can be used to parse an ATR. |
Thank you for providing the reference.
Nowadays, I believe there are few users of contact-full readers, but since these two are likely jpki card-specific identifiers, I agree to add them. |
Problem Description
I got MyNumber Card recently but this was unable to detect my card.
It has ATR starting with 3b:da:13:ff:81:31:fb:46:80:12:39.
Windows recongizing this card as unknown smart card.
Proposed Resolution
Steps to reproduce
Logs
The text was updated successfully, but these errors were encountered: