Hi,

compile the MuscleCard Applet on your own if nothing else helps. So you
should have a real CAP file. If I remeber correctly the CardEdge.cap was
catually already an IJC file (not a ZIP file for Java Card anmore, but
already prepared for loading). GPShell should be able to handle it. Try
to enable debugging:

http://sourceforge.net/apps/mediawiki/globalplatform/index.php?title=GPShell#Debug_output

Karsten

Am 31.01.2012 18:00, schrieb Guilherme André Welter:
> Hello, i'm a student of Information Systems of Federal University of
> Santa Catarina - Brazil. I work in LabSEC <http://www.labsec.ufsc.br/>
> (Laboratory of Computing Security) and until now i'm researching Java
> card tecnology, more specifically the MuscleCard Applet which are
> presenting some problems during the applet upload onto smartcard.
> What i've done so far was download the applet (.cap) on MUSCLE Project
> site and try to upload it onto smartcard, unfortunately the download
> link of "MuscleCard Applet Loader" is not working so i research how do
> this without it. Using GPShell, the commands that i used was:
> *(Smart card used: Oberthur ID-One Cosmo V7.0.1)*
>
> $ gpshell
> mode_201
> enable_trace
> establish_context
> card_connect
> select -AID a0000001510000
> open_sc -security 3 -keyind 0 -keyver 0 -key
> 000000000000000000000000000000 00 -keyDerivation emvcps11
> install -file CardEdge.cap -instParam 00 -priv 2
> card_disconnect
> release_context
>
> Returning this error "*read_executable_load_file_parameters() returns
> 0x0096DB3B*"
> I'd like to know if has sommething wrong in my script or if the card
> is not compatible with MuscleCard Applet.
>
> Using capdump of JCDK on the applet the return is
> "*java.util.zip.ZipException: error in opening zip file"*
>
> Also, i've downloaded the source at
> https://github.com/martinpaljak/MuscleApplet and i compiled it. With
> that appleti've succeeded to upload it onto smartcard but using this
> bash command:
> opensc-tool -s 00:A4:04:00:06:A0:00:00:00:01:01  -s 
> B0:2A:00:00:38:08:4D:75:73:63:6C:65:30:30:04:01:08:30:30:30:30:30:30:30:30:08:30:30:30:30:30:30:30:30:05:02:08:30:30:30:30:30:30:30:30:08:30:30:30:30:30:30:30:30:00:00:17:70:00:02:01
>
>
> This bash command return "*Received (SW1=0x69, SW2=0x99)*" for both APDUs.
>
> Thank you.
>
> -- 
> Guilherme André Welter
>
> Laboratório de Segurança em Computação - LabSEC
> Universidade Federal de Santa Catarina - UFSC
>

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

Reply via email to