From: Karsten O. <wid...@t-...> - 2010-09-05 18:47:24
|
Am 04.09.2010 11:58, schrieb lisa afandi: > Hi Karsten, > > Thank you for the email. > > I figured out my problem. The test card uses a key other than the > default key (404142434445464748494a4b4c4d4e4f) > > Now I have another problem: > > I installed and personalized a Visa applet on a blank global platform > card. I could then delete it. > > However, if I used the personalized card in an EFT transaction, I > could not delete it anymore. > > The response code from the delete command is 6985 if the P2 parameter > is set to 00 (delete object only) > > The response code from the delete command is 6A88 if the P2 parameter > is set to 80 (delete object and related objects) > > > Is there any way to delete the applet ? Hi, This is strange. I only execute the GP command. Maybe the card has some privileges which must be removed first, e.g. default selected, but usually the GP card should manage this. What does the applet do when it receives this transaction? Does it set a GP state? BR, Karsten > > > Regards, > > > On Thu, Sep 2, 2010 at 9:22 AM, Karsten Ohme <wid...@t-... > <mailto:wid...@t-...>> wrote: > > Hi, > > Which card do you have? Which gpshell version are you using? > > Do you have the complete log? > > You must set for the log: > > GLOBALPLATFORM_DEBUG=1 in your environment > and GLOBALPLATFORM_LOGFILE=C:\Temp\gp.log > > In Linux under a bash this looks like: > > export GLOBALPLATFORM_DEBUG=1 > export GLOBALPLATFORM_LOGFILE=/tmp/GlobalPlatform.log > > For Windows you must use the "set" command. > > And important! > > Don't try it to often with the same card. 3 - 10 tries and your > card is locked forever. > > BR, > Karsten > > Am 01.09.2010 12:07, schrieb lisa afandi: >> Hi, >> >> I try to use GPShell.exe delete an AID from a global platform card >> >> the open_sc command is used as follows: >> >> open_sc -security 0 -keyind 0 -keyver 0 -mac_key >> 404142434445464748494a4b4c4d4e4f -enc_key >> 404142434445464748494a4b4c4d4e4f // Open secure channel >> >> However, GPShell always fails at the card cryptogram validation >> step after the INITIALIZE UPDATE cmd is initiated to the card. >> From the trace I could see that the card respond with 9000 to the >> INITIALIZE UPDATE cmd >> >> What have I specified wrongly with the open_sc command ? >> >> Thank you for your help. Much appreciated. >> >> >> ------------------------------------------------------------------------------ >> This SF.net Dev2Dev email is sponsored by: >> >> Show off your parallel programming skills. >> Enter the Intel(R) Threading Challenge 2010. >> http://p.sf.net/sfu/intel-thread-sfd >> >> >> _______________________________________________ >> Globalplatform-users mailing list >> Glo...@li... <mailto:Glo...@li...> >> https://lists.sourceforge.net/lists/listinfo/globalplatform-users >> > > |