-
Notifications
You must be signed in to change notification settings - Fork 13
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
Unable to install CAP file #2
Comments
Tried with a J3H145 card - can't load, different error code.
|
It seems that the J3H145 may use a different JCOP library then the card (JCOP v2.4.2 R3) I used. Also the cap will not work on the SmartCafe card as the library doesn't fit. I suggest you build a new cap file from source and with the matching JCOP/SmartCafe library. If you don't have the correct libraries you could change the FIDOCCImplementation.java and use some other algorithms for key generation (which would be a bigger change). |
Tested J3H081, J3A081, J3D081, only J3D081 able to install the applet. |
Thanks for that feedback. |
I have the same error when I try to load the applet on a Infineon SLE78:
|
That's because the Infineon SLE78 card can't use the NXP libraries. |
I was naively thinking java works everywhere. What kind of library is needed? |
Yeah, that's what I thought at first, too. This is true for most calls which are defined in the JavaCard specification. But not all card implements all functions, because not all are mandatory. |
Failing on the J3H082 as well. I don't have the libraries and am not going to sign an NDA to get them, so I'll take a look at what I can do to rewrite them. With the support we're seeing for NFC security tokens on mobile, the applet is a lot more useful these days. |
I don't think J3H082 is running the traditional NXP JCOP OS. I believe it is actually running some variant of Athena SCS, rebranded as JCOP. It doesn't respond to the JCOP identify command. So it is entirely plausible that it does not implement those APIs, or that it implements those APIs at a different AID. So much for write once run everywhere. You may find the parent project (from which this project was forked) to be more useful. It does not use any proprietary APIs. |
I'm getting an error 6A 88, though it may be related to the card.
Card is a sm@rtcafe 6.0 80k.
The text was updated successfully, but these errors were encountered: