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

Supported card SmartCafe Expert 3.2 doesn't work #7

Closed
jacobsevart opened this issue Sep 4, 2015 · 3 comments
Closed

Supported card SmartCafe Expert 3.2 doesn't work #7

jacobsevart opened this issue Sep 4, 2015 · 3 comments

Comments

@jacobsevart
Copy link

I purchased a couple of SmartCafe Expert 3.2 cards per the Wiki's recommendation, but this model uses JavaCard 2.2.1. Consequently, I was not able to install any applets on them. All the ones I tried - MuscleApplet, IsoApplet, and ykneo-openpgp - failed with an error similar to this one. (Unlocking was successful, though.)

➜  GlobalPlatformPro git:(master) ✗ gp -install AppletPlayground/MuscleApplet.cap -default
Applet loading failed. Are you sure the CAP file (JC version, packages) is compatible with your card?
pro.javacard.gp.GPException: LOAD failed SW: 6A80
    at pro.javacard.gp.GlobalPlatform.check(GlobalPlatform.java:1092)
    at pro.javacard.gp.GlobalPlatform.loadCapFile(GlobalPlatform.java:728)
    at pro.javacard.gp.GlobalPlatform.loadCapFile(GlobalPlatform.java:686)
    at pro.javacard.gp.GPTool.main(GPTool.java:471)
➜  GlobalPlatformPro git:(master) ✗

I assume this error is referring to the fact that the card is JC 2.2.1. Is it possible to compile any OpenSC-compatible applet for 2.2.1? If not, I would recommend removing any 2.2.1 cards/purchase links from the hardware recommendations.

@jacobsevart
Copy link
Author

Whoops, meant to file this against GlobalPlatformPro

@martinpaljak
Copy link
Contributor

Well, I think the issue is relevant here, and should read "IsoApplet does not run on G&D SCE 3.2"

@philipWendland
Copy link
Owner

I've got a Smartcafe 6.0 card, it seems to work fine ater some simple tests. IsoApplet's minimum Java Card version is 2.2.2, so this should be the reason. AFAIK, the M.U.S.C.L.E. applet is from 2001, so there is a high chance that this is compile-able with 2.2.1.

However, the M.U.S.C.L.E. applet seems to not load on any of my cards (both the 3.0.1 version from martinpaljak's applet playground and an older binary from the M.U.S.C.L.E. page that i found.). You should try to compile the muscle applet yourself with 2.2.1 from source, I guess this is your best bet.

I will make some extended tests on cards I own and will make a list of tested smart cards for the IsoApplet when I get back home next week.

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

3 participants