Hi,
i have some problems to install java applet on secure element of Nokia 6131 NFC.
I use TopTunniste Reader (FEIG) with PC/SC driver and GPShell-1.4.2.
When i try to execute the following script i have no problem:
This is the result:Code:mode_211 enable_trace establish_context card_connect -readerNumber 2 open_sc -security 3 -keyver 42 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f -kek_key 404142434445464748494a4b4c4d4e4f get_status -element 20 card_disconnect release_context
But when i try to install a cap file (for example HelloWorld.cap in the folder of GPShell-1.4.2) i obtain the following error message:Code:C:\GPShell-1.4.2\Test>gpshell < Applet_List.txt mode_211 enable_trace establish_context card_connect -readerNumber 2 * reader name FEIG ID CPR.M02.VP/AB-C 0 open_sc -security 3 -keyver 42 -mac_key 404142434445464748494a4b4c4d4e4f -enc_ke y 404142434445464748494a4b4c4d4e4f -kek_key 404142434445464748494a4b4c4d4e4f Command --> 80CA006600 Wrapped command --> 80CA006600 Response <-- 664C734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864 886FC6B03640B06092A864886FC6B040255650B06092B8510864864020103660C060A2B060104012 A026E01029000 Command --> 80502A0008B71766FA7FDC534F00 Wrapped command --> 80502A0008B71766FA7FDC534F00 Response <-- 000071842075CEF234212A02008208CF892704770486CAA6F69C587F9000 Command --> 8482030010997E3D8D20C02E2C5B4E9DFD6409B8F4 Wrapped command --> 8482030010997E3D8D20C02E2C5B4E9DFD6409B8F4 Response <-- 9000 get_status -element 20 Command --> 80F22000024F0000 Wrapped command --> 84F2200010569E815CFE4D555AA7FBB9667DB5A31300 Response <-- 07A000000003535001000CD276000005AA04036001041001000BD276000005AA050 3E0040101009000 GP211_get_status() returned 3 items List of elements (AID state privileges) a0000000035350 1 0 d276000005aa040360010410 1 0 d276000005aa0503e00401 1 0 card_disconnect release_context
This is the script that i use for to install cap file on secure element of Nokia 6131 NFC:Code:C:\GPShell-1.4.2>gpshell < helloInstallNokia6131NFC.txt mode_211 enable_trace establish_context card_connect * reader name FEIG ID CPR.M02.VP/AB-C 0 select -AID a000000003000000 Command --> 00A4040008A000000003000000 Wrapped command --> 00A4040008A000000003000000 Response <-- 6F108408A000000003000000A5049F6501FF9000 open_sc -security 3 -keyver 42 -mac_key 404142434445464748494A4B4C4D4E4F -enc_ke y 404142434445464748494A4B4C4D4E4F -kek_key 404142434445464748494A4B4C4D4E4F Command --> 80CA006600 Wrapped command --> 80CA006600 Response <-- 664C734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864 886FC6B03640B06092A864886FC6B040255650B06092B8510864864020103660C060A2B060104012 A026E01029000 Command --> 80502A00082510C86EBC82168100 Wrapped command --> 80502A00082510C86EBC82168100 Response <-- 000071842075CEF234212A020084A3A740D138FB5BA98F825C03D8F39000 Command --> 8482030010FA01FD060AE78C34CB01634B2893AE03 Wrapped command --> 8482030010FA01FD060AE78C34CB01634B2893AE03 Response <-- 9000 install -file HelloWorld.cap -priv 2 file name HelloWorld.cap Command --> 80E602001C09A00000006203010C0108A0000000030000000006EF04C60201A80000 Wrapped command --> 84E6020028C7DECEFBDF48A854A448BEE5A897A1BE8C12211E6E38F7C503 AF30FEDC0418433E7E74B384BF0E4200 Response <-- 009000 Command --> 80E80000EFC482019B010013DECAFFED010204000109A00000006203010C0102001F 0013001F000E000B0036000C0067000A00130000006C00000000000001010004000B01000107A000 000062010103000E010AA00000006203010C0101001406000C00800301000107010000001F070067 000210188C000118110100900B8700188B00027A02308F00033D8C00043B7A0523198B00052D198B 00063203290470191A08AD0016041F8D000B3B16041F41290419088B000C321F64E8198B00073B19 160408418B00081903088B000919AD000316048B000A7A08000A0000000000000000000005003600 0D020000000680030003 Wrapped command --> 84E80000F81E84D0082E432D5D53CEFB420869762F6B00704632BBF67F07 80809AC4BA18C1B3046C4E3FB6D226327B02847A0F5678D416EA971A78F11B159EB535F1AC083B48 6E1F721DD21D0381E7F547B6E279B50198BB6A774AB2E42A801FF5D0334E79F3F051047C95518695 5D833437AE7966D70DC8D1581F603C11DC1F17D7C794E58C5196B58DC01668375BF946CDCF867D4B 5B7479AA83C871C8E63177F74B381466DC4516D22A296F2323BB42B0E94A5B262248F1E669464786 4032EE1313C26AC7B231068E38C28317560CDD99D5D912752C3813F953BE4C8315B53CB4881AA9B0 05822F875F1C94FDABBF96261D281B9CA7F66D75300B16 load_applet() returns 0x8010002F (Errore di comunicazione con la smart card. Rip rovare. )
I hope that someone has solved the same problem.Code:mode_211 enable_trace establish_context card_connect card_connect -readerNumber 2 select -AID a000000003000000 open_sc -security 3 -keyver 42 -mac_key 404142434445464748494A4B4C4D4E4F -enc_key 404142434445464748494A4B4C4D4E4F -kek_key 404142434445464748494A4B4C4D4E4F install -file HelloWorld.cap -priv 2 card_disconnect release_context
Thank you.

Reply With Quote

