Hello,
 
I have some difficulties to get muscletool working with a JCOP-20 under linux (debian Kernel 2.4).
 
Under windows I don't have any problems. I took the lastest release of muscletool-IA available in one of the topic of the IA's forum. I've loaded the applet using eclipse & JcopTools and I can fully use it (format, genkeys, crypt,....).
 
Under linux, it is not working as good as i expect it. Here is a decription of my environment and problems.
 
* Linux 2.4.18-bf2.4
* JCOP-20
* Smart card-reader ACR30U
* pcsc-lite version 1.2.9-beta7
* libusb-0.1.so.4.4.2
* muscleTool version 1.0.0
* the smart card was formated using muscletool under windows
 
With muscletool, I _don't_ have error when
 
-Asking for tokens
-connect to a token
-excecute RESUME, LISTKEYS, VERIFY,
-ask for STATUS
    Version : 0001 0006
    Free Memory : 7094
    Total Memory : 7096
    PINs Used : 2
    Keys Used : 2
    Logged IDs : NONE
-verify a PIN
 
 
But I _do_ have problems with the others functions
ie, Genkeys, format, crypt, challenge
 
 
1)  GENKEYS
--------------
 
muscleTool [MuscleCard Applet] > verify 1 "00000000"
Pin Verify Successful
muscleTool [MuscleCard Applet] > genkeys
***************** Key Generation Routine *****************
Note: Keys will be generated with default permissions
using the RSA CRT algorithm for generation.
**********************************************************
Enter the private key number: 2
Enter the public key number: 3
Are you sure ? (Y/N): y
Generating keys [*] : ERR: GenerateKeys Failed ! (0x9CFF Internal Error)
 
 
2)    FORMAT
------------------------
>muscleTool > format 1
 doFormat tokenNumber 1
 Would you like to:
 1. Use the default CryptoFlex factory key: 2C15E526E93E8A19
 2. Use the MUSCLE default key : 4D7573636C653030
 3. Enter your own transport key
 Choose (1-3): 2
 How much object memory would you like to allocate ?
 Example: 7096 (7k) : 7096
 Please enter a new auth pin value (pin 0) : 00000000
 Please enter your user pin value (pin 1) : 11111111
 Please enter your user pin unblock value : 22222222
 Please enter your number of pin tries : 5
 ********************* WARNING ! *********************
 You are about to destroy all data on this token.
 *****************************************************
 Current admin pin : Muscle00
 New admin pin : 00000000
 New user pin : 11111111
 New user unblock pin : 22222222
 Number of tries : 5
 Object memory : 7096
 Are you sure you want to continue ? (1-YES, 2-NO): 1
 Formatting token [**] : Failed (Unspecified error)
 
 
3 ) Crypt
----------
 
crypt 1 A0000 return (0x9CFF Internal Error)
 
 
Do you have an idea of what can i do to get it working ?
 
Thank you
Rodolphe
 
--------------------------------------------
Rodolphe Vermer
Etudiant
D�partement d'ing�nieurie informatique
Universit� Catholique de Louvain-La-Neuve (Belgique)
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to