From: Karsten O. <wid...@t-...> - 2007-07-17 23:54:25
|
Gina Häußge schrieb: > Hello everyone, > > I'm currently trying to install my first Java Applet on an NXP JCOP 31 > smartcard with 36K, using a GemPC Twin USB reader under Debian GNU/Linux > Testing, 32Bit. Unfortunately I do not have such a card. After a quick search in Google I cannot find a manual for this card. The first important information should be the AID of the Card Issuer Domain (Card Manager) select -AID ... Do you know it? There should be some manual. But it seems that this is OK, because you get further. Do not try to authenticate to the card to often! It gets locked if you need 10 tries. If you are near this limit perform a successful verification. Use the JCOP tools (This should work perfectly with this card. You can develop and install applets for a card within eclipse). Maybe this is a correct version: http://download.boulder.ibm.com/ibmdl/pub/software/dw/jcop/tools.zip Post a complete output with "enable_trace" in the first line of the script file. You must know the correct keys to authenticate to the card. > > I successfully managed to compile the globalplatform library and > gpshell, but I'm totally lost when it comes to correctly communicating > with the card. If I got the correct information, the card should support > the Global Platform specification, version 2.2.1. Sadly though, I did > not yet manage to successfully execute either 2.0.1 or 2.1.1 mode > scripts as supplied with gpshell's source code. Trying a list of > installed applets in 2.0.1 mode (list.txt) yields the error message > "6A86: Incorrect parameters (P1, P2)". 2.1.1 mode (listgp211.txt) does > not even get through authentication ("The verification of the card > cryptogram failed"). Strange that it authenticates successfully in OP 2.0.1' mode. Do you have connected only one reader to the system? Or are there multiple readers with inserted cards? I you try to install something first try "install -file HelloWorld.cap" without any parameters. If this is not successful try some variants of parameters. WBR, Karsten > I'm also not able to upload any applet to the card, > as that also fails ("6A88: Referenced data not found." in 2.0.1 mode, > failed authentication in 2.1.1). > > I'm sure I just miss something simple here (e.g. the right information > to correctly adjust the scripts to that type of card), but after > struggling with those problems for two work days without a clue and some > nice deadline in my neck I'd now really appreciate some friendly hint in > the right direction or even a working example for that type of card, > it's getting a bit frustrating ;) > > Thanks in advance for the time spent reading or even answering this, and > kind regards, > Gina Häußge > |