Issue after install the applet on card.

View: New views
3 Messages — Rating Filter:   Alert me  

Issue after install the applet on card.

by emanuele gringeri :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi guys I had been able to install MCardApplet on a CyberFlex e-gate 32. I used the following script to load and install the applet on the card.

Nabucodonosor gpshell-1.4.0 # cat helloInstallCyberflexe-gate32k.txt
mode_201
enable_trace
establish_context
card_connect
select -AID a0000000030000
open_sc -security 0 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f // Open secure channel
install_for_load -pkgAID a00000032301 -nvCodeLimit 18200
load -file applet.bin
install_for_install -instParam 00 -priv 02 -AID a0000003230101 -pkgAID a00000032301 -instAID a0000003230101 -nvDataLimit 12000
card_disconnect
release_context

Now, If I run muscletool and try to format the card I've:

muscleTool > format 1
ERR: EstablishConnection Failed ! (0x9C52 Token is unsupported)
muscleTool >

00000008 APDU: 00 A4 04 00 07 00 00 00 03 23 01 01
00038511 SW: 6A 82

Could somebody help me to fix?

Thanks in advance.
-eg


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

Re: Issue after install the applet on card.

by Christophe Ducros :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
It seams that the aid is a0000003230101 but not 00 00 00 03 23 01 01 . The select command must be
00000008 APDU: 00 A4 04 00 07 A0 00 00 03 23 01 01
cdc
----- Original Message -----
Sent: Monday, September 21, 2009 4:56 PM
Subject: [Muscle] Issue after install the applet on card.

Hi guys I had been able to install MCardApplet on a CyberFlex e-gate 32. I used the following script to load and install the applet on the card.

Nabucodonosor gpshell-1.4.0 # cat helloInstallCyberflexe-gate32k.txt
mode_201
enable_trace
establish_context
card_connect
select -AID a0000000030000
open_sc -security 0 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f // Open secure channel
install_for_load -pkgAID a00000032301 -nvCodeLimit 18200
load -file applet.bin
install_for_install -instParam 00 -priv 02 -AID a0000003230101 -pkgAID a00000032301 -instAID a0000003230101 -nvDataLimit 12000
card_disconnect
release_context

Now, If I run muscletool and try to format the card I've:

muscleTool > format 1
ERR: EstablishConnection Failed ! (0x9C52 Token is unsupported)
muscleTool >

00000008 APDU: 00 A4 04 00 07 00 00 00 03 23 01 01
00038511 SW: 6A 82

Could somebody help me to fix?

Thanks in advance.
-eg


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

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

Re: Issue after install the applet on card.

by emanuele gringeri :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

amazing.. in my Info.plist the "A" was lower case. making it a capital letter it works. Gorgeous I've waste one whole day around it.
thanks 4 ur help.
eg

On Tue, Sep 22, 2009 at 9:01 AM, Christophe Ducros <ch.ducros@...> wrote:
It seams that the aid is a0000003230101 but not 00 00 00 03 23 01 01 . The select command must be
00000008 APDU: 00 A4 04 00 07 A0 00 00 03 23 01 01
cdc
----- Original Message -----
Sent: Monday, September 21, 2009 4:56 PM
Subject: [Muscle] Issue after install the applet on card.

Hi guys I had been able to install MCardApplet on a CyberFlex e-gate 32. I used the following script to load and install the applet on the card.

Nabucodonosor gpshell-1.4.0 # cat helloInstallCyberflexe-gate32k.txt
mode_201
enable_trace
establish_context
card_connect
select -AID a0000000030000
open_sc -security 0 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f // Open secure channel
install_for_load -pkgAID a00000032301 -nvCodeLimit 18200
load -file applet.bin
install_for_install -instParam 00 -priv 02 -AID a0000003230101 -pkgAID a00000032301 -instAID a0000003230101 -nvDataLimit 12000
card_disconnect
release_context

Now, If I run muscletool and try to format the card I've:

muscleTool > format 1
ERR: EstablishConnection Failed ! (0x9C52 Token is unsupported)
muscleTool >

00000008 APDU: 00 A4 04 00 07 00 00 00 03 23 01 01
00038511 SW: 6A 82

Could somebody help me to fix?

Thanks in advance.
-eg


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

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



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