From: Karsten O. <wid...@t-...> - 2010-10-07 00:36:00
|
Hi, You are using a transformed applet. Is this necessary. The script file is the one for a Cyberflex = (noe Gemalto) card? I guess for the version GPShell 1.4.3 the shipped HellWorld AIDs (a00000006203010c01) are not correct anymore. It should be D0D1D2D3D4D50101 Try to use the install command directly: install HelloWorld.cap -instParam 00 -priv 02 -nvDataLimit 500 The new install file for a Cyberflex is: enable_trace enable_timer establish_context card_connect select -AID a0000000030000 open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f // Open secure channel delete -AID D0D1D2D3D4D50101 delete -AID D0D1D2D3D4D501 install -nvDataLimit 500 -instParam 00 -priv 02 -file helloworld.cap.transf card_disconnect release_context Karsten Am 07.10.2010 01:53, schrieb KoSuKe: > Hi, > > I have this card and I'm trying to initialize it. > My reader is LTC31. > GPShell 1.4.3 > > -- instructions -- > > enable_trace > establish_context > card_connect > select -AID a0000000030000 > open_sc -security 1 -keyind 0 -keyver 0 -mac_key > 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f > // Open secure channel > delete -AID a00000006203010c0101 > delete -AID a00000006203010c01 > install_for_load -pkgAID a00000006203010c01 -nvCodeLimit 500 > load -file HelloWorld.cap.transf > install_for_install -instParam 00 -priv 02 -AID a00000006203010c0101 > -pkgAID a00000006203010c01 -instAID a00000006203010c0101 -nvDataLimit 500 > card_disconnect > release_context > > -- instructions -- > > GPShell returns > > enable_trace > establish_context > card_connect > select -AID a0000000030000 > Command --> 00A4040007A0000000030000 > Wrapped command --> 00A4040007A0000000030000 > Response <-- 6F198408A000000003000000A50D9F6E062091010342759F6501FF9000 > open_sc -security 1 -keyind 0 -keyver 0 -mac_key > 404142434445464748494a4b4c4d4e4 > f -enc_key 404142434445464748494a4b4c4d4e4f > Command --> 8050000008BC451F997B93FAA200 > Wrapped command --> 8050000008BC451F997B93FAA200 > Response <-- 0000900029191D107E3D010189E893731D0B99B65643DB9186F3AB839000 > Command --> 8482010010D568455B835FA2D3515076A55AB82809 > Wrapped command --> 8482010010D568455B835FA2D3515076A55AB82809 > Response <-- 9000 > delete -AID a00000006203010c0101 > Command --> 80E400000C4F0AA00000006203010C010100 > Wrapped command --> 84E40000144F0AA00000006203010C0101614954FE92979C3400 > Response <-- 6A88 > delete() returns 0x80206A88 (6A88: Referenced data not found.) > delete -AID a00000006203010c01 > Command --> 80E400000B4F09A00000006203010C0100 > Wrapped command --> 84E40000134F09A00000006203010C01604A62AB3977A8C700 > Response <-- 6A88 > delete() returns 0x80206A88 (6A88: Referenced data not found.) > install_for_load -pkgAID a00000006203010c01 -nvCodeLimit 500 > Command --> > 80E602001B09A00000006203010C0107A00000000300000006EF04C60202000000 > Wrapped command --> > 84E602002309A00000006203010C0107A00000000300000006EF04C60202 > 0000D099B633297EEEF100 > Response <-- 6A80 > install_for_load() returns 0x80206A80 (6A80: Wrong data / Incorrect > values in co > mmand data.) > > what am i doing wrong? > > Thanks. > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today. > http://p.sf.net/sfu/beautyoftheweb > _______________________________________________ > Globalplatform-users mailing list > Glo...@li... > https://lists.sourceforge.net/lists/listinfo/globalplatform-users > > |