[Muscle] MuscleApplet on Cyberflex 64K without using the SDK
Karsten Ohme
widerstand at t-online.de
Tue Aug 21 16:49:21 PDT 2007
Andreas Schwier schrieb:
> Kaum macht man alles richtig, schon funktioniert es...
Great, I will include the sample script for CyberFlex 64k cards.
Karsten
>
> Thanks Karsten,
>
> that worked out O.K.
>
> I used the captransf software from Trusted Logic to tranform the .cap
> file for the Cyberflex 64K and now loading the applet works fine.
>
> I've also tried to load the applet with GPShell, which worked after
> tweaking some of the parameter:
>
> mode_201
> enable_trace
> establish_context
> card_connect
> select -AID a000000003000000
> open_sc -security 1 -keyind 0 -keyver 0 -mac_key
> 404142434445464748494a4b4c4d4e4f -enc_key
> 404142434445464748494a4b4c4d4e4f // Open secure channel
> # delete -AID A0000003230101
> # delete -AID A00000032301
> delete -AID A00000000101
> delete -AID A000000001
> install -file CardEdgeCF.cap -sdAID A000000003000000 -nvDataLimit 12000
> -instParam 00
> card_disconnect
> release_context
>
> Apparently the CardManager AID is A0 00 00 00 03 00 00 00 rather than A0
> 00 00 00 03 00 00.
>
> Thanks again for the help.
>
> Andreas
>
> Karsten Ohme schrieb:
>> Andreas Schwier schrieb:
>>> Hi,
>>>
>>> did anyone manage to load the MuscleApplet into a Cyberflex 64K without
>>> using the Cyberflex SDK ? Seems to me, that the 64K version is also
>>> using Codeshield to make me buy the SDK.
>> Have you tried GPShell?
>>
>> http://sourceforge.net/projects/globalplatform
>>
>> It would be interesting to me if the card is supported and if not to
>> support it. Currently a version with some fixes is on its way, but I
>> think the last release should suffice.
>>
>> I only have a Cyberflex e-gate 32k but it also uses codeshield.
>> If you compile the applet, obey your used JavaCard version and your Java
>> compiler.
>>
>> See the Cyberflex documentation:
>>
>> http://www.cyberflex.com/Support/documentation.html
>>
>> The card should be a OpenPlatform 2.0.1' card, so take a OpenPlatform
>> 2.0.1' example (e.g. helloInstall.txt). I hope the assumed CardManager
>> AID is correct, if you have troubles leave the select command away.
>>
>> Use JavaCard 2.2 and a Java 1.2 compiler (or at least set the target and
>> source to 1.2).
>>
>> I think the version included in the "MuscleCard Applet Loader" on the
>> the MuscleCard page http://www.musclecard.comis already transformed.
>> Otherwise you can transform the cap file in MuscleCard Applet (Stable)
>> using the CAP transformer from:
>>
>> http://www.trusted-logic.com/down.php
>>
>> If you build the applet on your own you may use and adjust some Ant
>> build.xml files which are contained in MCardApplet.zip on
>> http://web.inf.tu-dresden.de/~ko189283/MuscleCard.
>> For a CFlex e-gate 32 the transformation command is already included.
>> Use it or take it as a sample. See the file MCardApplet/buildCflex.xml,
>> target makeIJC.
>>
>> Regards,
>> Karsten
>>
>>> In my setup the final load command fails with 6985 - Condition of use
>>> not satisfied. As it works on JCOP cards or using the .IJC file from
>>> [1], I suspect that it is because I did not use cap -> ijc converter
>>> from the SDK.
>>>
>>> Can anyone confirm this ?
>>>
>>> Andreas
>>>
>>>
>>> [1] http://www.identityalliance.com/CardEdgeII.ijc
>>>
>> _______________________________________________
>> Muscle mailing list
>> Muscle at lists.musclecard.com
>> http://lists.drizzle.com/mailman/listinfo/muscle
>
>
More information about the Muscle
mailing list