From: Karsten O. <wid...@t-...> - 2007-07-21 00:25:16
|
Gina Häußge schrieb: > Just to inform you that I finally managed to get it to work after diving > into the OP2.0.1 specification. > > I successfully managed to upload both the HelloWorld Applet as well as > the MuscleCardApplet onto that card, using the below script as input for > gpshell. Great! I hope, I will remember to include it in GPShell. > > -- 8< -- > > 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 -sdAID a000000003000000 -AID a00000006203010c0101 > delete -sdAID a000000003000000 -AID a00000006203010c01 > delete -sdAID a000000003000000 -AID a00000006203010c0101 The -sdAID should have no effect an delete. > install -file HelloWorld.cap -sdAID a000000003000000 -priv 2 Yes, this seems to be the important thing. Usually a OP 2.0.1' card should use the AID a0000000030000, but for some reason this card does not, so not the default AID is used. In GP 2.1.1 mode it does not work? > card_disconnect > release_context > > -- >8 -- > > Thanks again for your help! :) Karsten > Gina |