OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: [Muscle] Re: Cyberflex 64kv2 problems

From: Karsten Ohme (widerstandt-online.de)
Date: Sat Jul 19 2008 - 11:23:56 CDT


Fabian Bertholm schrieb:
> Hi,
>
> OK, my solutions is to use the CardEdge.bin from CFlexAccess32Loader.zip
> Seems like the Java build of the CardEdgeCflex.ijc went wrong...

Maybe you must use another Java Card SDK. try a lower version, e.g.
2.1.1. what your card supports. Then it could work.

Regards,
Karsten
>
> Greetings Fabe
> - who is not very happy to have to use a foreign binary in his crypto card
>
>
> 2008/7/10 Fabian Bertholm <fabeisageekgooglemail.com
> <mailto:fabeisageekgooglemail.com>>:
>
> Hi,
>
> I am trying to put the MCardApplet onto a Cyberflex 64v2 Pegasus
> card - actually it is a Gemalto TOP IM FIPS CY2.
> The ATR is 3b:95:95:40:ff:ae:01:03:00:00 - should be fine.
>
> To get the applet I've taken the code from SVN at
> svn://svn.debian.org/muscleplugins/trunk/MCardApplet
> <http://svn.debian.org/muscleplugins/trunk/MCardApplet>. I build
> using the ant script there for Cflex, used the captransf.jar and
> finally got a CardEdgeCflex.ijc.
>
> Now I ask myself how to load the applet onto the card. First I used
> the gpshell script mcardInstallFormat-CyberFlex64kV2c.txt from:
> http://www.dseven.org/twiki/bin/view/Stuff/SolarisSmartCard. Which
> is working until the magic APDU:
> send_apdu -sc 1 -APDU
> 80E60C002005A00000000106A0000000010106A00000000101010208EF04C8028800C9000000
>
> The error is:
> send_APDU() returns 0x80206A80 (6A80: Wrong data / Incorrect values
> in command data.)
>
> As I have now clue about what this is doing I replaced this command by:
> install_for_install -instParam 00 -priv 02 -AID A00000000101 -pkgAID
> A000000001 -instAID A00000000101 -nvDataLimit 16000 which results in
> the slightly different APDU
> 80E60C002105A00000000106A0000000010106A00000000101010209C90100EF04C8023E800000
>
> Now I get the error:
> install_for_install_and_make_selectable() returns 0x80206A80 (6A80:
> Wrong data / Incorrect values in command data.)
> Which is probably excactly the same :(
>
> The current helloInstallCyberflexAccess64k.txt from gpshell does
> work without any error.
>
> Any idea what went wrong?
>
> Greetings,
> Fabe
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Muscle mailing list
> Musclelists.musclecard.com
> http://lists.drizzle.com/mailman/listinfo/muscle

_______________________________________________
Muscle mailing list
Musclelists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle