Snit Mo wrote on 03/15/06 11:44 AM:

Could you tell us:
- version of GPShell

1.2.0


- version of GlobalPlatform.dll

2.0.1 (although it's .so, as this is on Solaris)


and post helloInstall.txt?

It's unmodified - the one that comes with gpshell, ie.:

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
delete -AID a00000006203010c0101
install -file HelloWorld.bin -nvDataLimit 2000 -instParam 00 -priv 2
# getdata
# close_sc // Close secure channel
# putkey // Put key
  // options:
  //          -keyind Key index
  //          -keyver Key version
  //          -key Key value in hex
card_disconnect
release_context


    ~Iain





On 3/15/06, Karsten Ohme <[EMAIL PROTECTED]> wrote:
Iain MacDonnell wrote:

Karsten Ohme wrote on 03/15/06 09:46 AM:

Iain MacDonnell wrote:

Karsten Ohme wrote on 03/15/06 09:04 AM:

You said you used GPShell and so I guess you installed the CardEdge
applet. The installation is successful???

No, apparently it wasn't successful - see above comment "but while
running these we are getting errors.".

There are so much errors in the world. What are these errors? What are
you doing with these packages? Are you using GPShell or CFlexLoader?

For GPShell:

You adjusted like mentioned in the README the install script file?
You use the CardEdge.bin file included in CFlexLoader?
And executed GPShell? What does it say?

I feel like we should be having this discussion on another mailing list,
but since we started it here, and ultimately I do want to load the
MuscleCard applet....

I can't even get gpshell to install the include HelloWorld.bin - it's
complaining that there's not enough memory. This is a "blank" Cyberflex
Access 64k v1 card, and HelloWorld.bin is only 411 bytes!!

 blue-midget# /opt/ITmuscle/bin/gpshell < list.txt
mode_201
enable_trace
establish_context
card_connect
select -AID a0000000030000
--> 00A4040007A0000000030000
<-- 6F188407A0000000030000A50D9F6E060005020201009F6501FF9000
open_sc -security 1 -keyind 0 -keyver 0 -mac_key
404142434445464748494a4b4c4d4e4f -enc_key
404142434445464748494a4b4c4d4e4f // Open secure channel
--> 8050000008B740F49829EAD0D500
<-- 00005182043427C300030101C9D8F3A2106AEC7B7DC75BB5BB86D5979000
--> 8482010010C2182521B03B5A4756A12DDB0E81D315
<-- 9000
get_status -element e0
--> 80F2E000024F0000
<--
07A0000000030000070007A0000000620001010007A0000000620101010007A0000000620102010007A0000000620201010007A000000003000001009000


List of applets (AID state privileges)
a0000000030000  7       0
a0000000620001  1       0
a0000000620101  1       0
a0000000620102  1       0
a0000000620201  1       0
a0000000030000  1       0
card_disconnect
release_context
blue-midget# /opt/ITmuscle/bin/gpshell < helloInstall.txt
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_applet() returns 0x80206A88 (6A88: Referenced data not found.)
delete -AID a00000006203010c01
delete_applet() returns 0x80206A88 (6A88: Referenced data not found.)
delete -AID a00000006203010c0101
delete_applet() returns 0x80206A88 (6A88: Referenced data not found.)
install -file HelloWorld.bin -nvDataLimit 2000 -instParam 00 -priv 2
install_for_load() returns 0x80206A84 (6A84: Not enough memory space.)
blue-midget#


What am I missing?
Uff. Difficult. Maybe the card needs some other parameters. I believe
CyberFlex is nice and you can download their manual from the website.
See page 97. Try the parameters -xyCodeLimit ... or whatever is it
called. (README)

Karsten
    ~Iain


_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle


_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to