|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: [Muscle] Installing MuscleCard on JCOP41 v2.2
From: Karsten Ohme (widerstand
t-online.de)
Date: Mon Apr 10 2006 - 07:09:27 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Gambin Dejan wrote:
> I am using a new applet. How do I "log in"? Do I need to run verify
> command before doing something like genkeys? resume rsa gives me:
Can be a bug in the applet. I will examine. If you want to execute
crypto functions with JCOP card, read this:
Finally, I solved the problem:
as previously said, the method
ciph.doFinal(src_buff, (short)(src_base + 2), size, mem.getBuffer(),
(short)(dst_base + 2))
throws an Exception. The problem is the destOffset (in this case
dst_base + 2)
if destOffset is > 304 then the JCOP41v2.2 always throws an
ArrayIndexOutOfBoundsException...
So, to use the MUSCLE Applet with a JCOP41v2.2, I fixed in this way:
---------------------------------------
byte result[] = new byte[1024]; //declared in cardedge.java
...
else {
ciph.doFinal(src_buff, (short)(src_base + 2), size, result,
(short)0); //now destOffset is 0
Util.arrayCopyNonAtomic(result,(short)0,mem.getBuffer(),(short)(dst_base
+ 2),size);
}
....
------------------------------------------
About the strange behaviour of the ciph.doFinal in JCOP41v2.2, I asked
to IBM Zurich.
Bye
Stefano
Karsten
>
> 00CC
>
> RSA Capabilities Supported
> ---------------------------------------------------------------
>
> Possible Key Lengths:
>
> 512 Bit
> 768 Bit
> 1024 Bit X
> 2048 Bit X
> 512 Bit CRT
> 768 Bit CRT
> 1024 Bit CRT X
> 2048 Bit CRT X
>
> Possible Key Generations:
>
> 512 Bit
> 768 Bit
> 1024 Bit
> 2048 Bit
> 512 Bit CRT
> 768 Bit CRT
> 1024 Bit CRT X
> 2048 Bit CRT X
>
> Possible Signature Algorithms:
>
> Signature with MD5 Hash and PKCS#1 Padding X
> Signature with MD5 Hash and RFC 2409 Padding
> Signature with RIPE MD-160 Hash and ISO 9796 Padding
> Signature with RIPE MD-160 Hash and PKCS#1 Padding
> Signature with SHA-1 Hash and ISO 9796 Padding
> Signature with SHA-1 Hash and PKCS#1 Padding X
> Signature with SHA-1 Hash and RFC 2409 Padding
> Signature with SHA-1 Hash and PKCS#1-PSS Padding
> Signature with MD5 Hash and PKCS#1-PSS Padding
> Signature with RIPE MD-160 Hash and PKCS#1-PSS Padding
>
> Possible Cipher Algorithms:
>
> Cipher with ISO 14888 Padding
> Cipher with ISO 9796 Padding
> Cipher with No Padding X
> Cipher with PKCS#1 Padding X
> Cipher with PKCS#1-OAEP Padding
> GetCapabilities Successful
>
> I tried running "genkey rsa 1024" and "verify 1" before that (I have
> setstatus for keygeneration to 0x0002, is it OK). I specified 6 and 7
> for key numbers and 0x0002 for all ACLs. I get "Feature unsupported"
> (9C05) error....
>
> dejan
>
>
>>-----Original Message-----
>>From: muscle-bounces
lists.musclecard.com
>>[mailto:muscle-bounces
lists.musclecard.com] On Behalf Of Karsten Ohme
>>Sent: Monday, April 10, 2006 12:16 PM
>>To: MUSCLE
>>Subject: Re: [Muscle] Installing MuscleCard on JCOP41 v2.2
>>
>>
>>Gambin Dejan wrote:
>>
>>>Well, I don't know where to go from here. MuscleTools gives me the
>>>following:
>>>
>>>1. resume lists many MSCxxx functions and all have "X" under
>>>"Supported". Does it mean "supported" or "not supported"?
>>
>>x is supported.
>>
>>
>>>2. status gives me:
>>>
>>> Protocol Version: 1.30
>>
>>You have used the new applet? I thought you wanted to use the
>>old applet? I think 1.30 is the version for new applets. But it is OK.
>>
>>
>>> Software Version: 1.1
>>> Free Memory: 9998
>>> Total Memory: 10000
>>> PINs Used: 2
>>> Keys Used: 0
>>> Logged IDs: NONE
>>> How can create IDs:
>>> PIN #1
>>>How can create objects:
>>> PIN #1
>>> How can create keys:
>>> PIN #1
>>> Card Label: Not set.
>>> Serial Number: Not set.
>>>GetStatus Successful
>>>
>>>3. Genkeys rsa 1024 fails with "Feature unsupported" (I have set
>>>public key number to 0 and private to 1 don't know if this is
>>>correct!)
>>
>>If you have used the new applet, the first available key
>>number is 6, the numbers below are reserved for external
>>authentication, but if you have logged in with PIN#1
>>
>>How can create IDs:
>>
>>> PIN #1
>>
>>you should also be able to use the lower key numbers.
>>
>>If you have used the new applet there are a lot of
>>compilation switches, you must specify want should be
>>enabled. See the README.
>>
>>Execute a resume rsa.
>>
>>
>>>4. challenge works OK
>>>5. PIN functions work ok
>>>6. importkey - don't know which file format do I need?
>>
>>Key blobs. Documented in the Card Edge specification. Read it
>>or skip it. Someday trivial PEM oder DER encoded keys can be imported.
>>
>>Karsten
>>
>>>...anyway, I am wondering if maybe the problem is not in pkcs#11?
>>>
>>>dejan
>>>
>>>
>>>
>>>
>>>
>>>>-----Original Message-----
>>>>From: muscle-bounces
lists.musclecard.com
>>>>[mailto:muscle-bounces
lists.musclecard.com] On Behalf Of
>>
>>Karsten Ohme
>>
>>>>Sent: Monday, April 10, 2006 11:27 AM
>>>>To: MUSCLE
>>>>Subject: Re: [Muscle] Installing MuscleCard on JCOP41 v2.2
>>>>
>>>>
>>>>Gambin Dejan wrote:
>>>>
>>>>
>>>>>Hi,
>>>>>
>>>>>After importing the cert to the software security device
>>>>
>>>>(it is doing
>>>>
>>>>
>>>>>this by default, doesn't ask anything) I get this in PKCS11.log:
>>>>>
>>>>>10/04 11:11:35 +C_GetSlotList : start
>>>>>10/04 11:11:35 Active session list:
>>>>>10/04 11:11:35 Session ID: 2AC4EB0
>>>>>10/04 11:11:35 Returning slot count: 1
>>>>>10/04 11:11:35 -C_GetSlotList : end RV(0x0)
>>>>>10/04 11:11:35 +C_GetSlotInfo : start
>>>>>10/04 11:11:35 Checking slot: 1
>>>>>10/04 11:11:35 Active session list:
>>>>>10/04 11:11:35 Session ID: 2AC4EB0
>>>>>10/04 11:11:35 SlotInfo.flags: 7
>>>>>10/04 11:11:35 -C_GetSlotInfo : end RV(0x0)
>>>>>10/04 11:11:35 +C_GetSessionInfo : start
>>>>>10/04 11:11:35 Active session list:
>>>>>10/04 11:11:35 Session ID: 2AC4EB0
>>>>>10/04 11:11:35 Session state: 0
>>>>>10/04 11:11:35 -C_GetSessionInfo : end RV(0x0)
>>>>>10/04 11:11:36 +C_GetSlotList : start
>>>>>10/04 11:11:36 Active session list:
>>>>>10/04 11:11:36 Session ID: 2AC4EB0
>>>>>10/04 11:11:36 Returning slot count: 1
>>>>>10/04 11:11:36 -C_GetSlotList : end RV(0x0)
>>>>>10/04 11:11:36 +C_GetSlotInfo : start
>>>>>10/04 11:11:36 Checking slot: 1
>>>>>10/04 11:11:36 Active session list:
>>>>>10/04 11:11:36 Session ID: 2AC4EB0
>>>>>10/04 11:11:36 SlotInfo.flags: 7
>>>>>10/04 11:11:36 -C_GetSlotInfo : end RV(0x0)
>>>>>10/04 11:11:36 +C_GetSessionInfo : start
>>>>>10/04 11:11:36 Active session list:
>>>>>10/04 11:11:36 Session ID: 2AC4EB0
>>>>>10/04 11:11:36 Session state: 0
>>>>>10/04 11:11:36 -C_GetSessionInfo : end RV(0x0)
>>>>>10/04 11:11:37 +C_GetSlotList : start
>>>>>10/04 11:11:37 Active session list:
>>>>>10/04 11:11:37 Session ID: 2AC4EB0
>>>>>10/04 11:11:37 Returning slot count: 1
>>>>>10/04 11:11:37 -C_GetSlotList : end RV(0x0)
>>>>>10/04 11:11:37 +C_GetSlotInfo : start
>>>>>10/04 11:11:37 Checking slot: 1
>>>>>10/04 11:11:37 Active session list:
>>>>>10/04 11:11:37 Session ID: 2AC4EB0
>>>>>10/04 11:11:37 SlotInfo.flags: 7
>>>>>10/04 11:11:37 -C_GetSlotInfo : end RV(0x0)
>>>>>10/04 11:11:37 +C_GetSessionInfo : start
>>>>>10/04 11:11:37 Active session list:
>>>>>10/04 11:11:37 Session ID: 2AC4EB0
>>>>>10/04 11:11:37 Session state: 0
>>>>>10/04 11:11:37 -C_GetSessionInfo : end RV(0x0)
>>>>
>>>>Seems not to be much, no token, no reader detected. In times
>>>>were it worked I got something like this in some situation:
>>>>
>>>>01/09 20:03:03 Slot 2 changed
>>>>01/09 20:03:03 +slot_DisconnectSlot : start
>>>>01/09 20:03:03 -slot_DisconnectSlot : end RV(0x0)
>>>>01/09 20:03:03 Attempting establish
>>>>01/09 20:03:03 Establish connection
>>>>01/09 20:03:03 Begin transaction: 2, rv=0
>>>>01/09 20:03:04 Token: MuscleCard Applet
>>>>01/09 20:03:04 Card supports RSA
>>>>01/09 20:03:04 Card supports RSA key gen
>>>>01/09 20:03:04 Card supports RSA NOPAD
>>>>01/09 20:03:04 Card supports RSA PKCS#1
>>>>01/09 20:03:04 Card supports DES
>>>>01/09 20:03:04 Card supports 3DES
>>>>01/09 20:03:04 Card supports AES
>>>>01/09 20:03:04 Attempting release
>>>>01/09 20:03:04 Releasing connection (slot_ReleaseConnection)
>>>>01/09 20:03:04 Done releasing (slot_ReleaseConnection)
>>>>01/09 20:03:04 End transaction: 2, rv=0
>>>>01/09 20:03:04 SlotInfo.flags: 6
>>>>01/09 20:03:04 -C_GetSlotInfo : end RV(0x0)
>>>>01/09 20:03:04 +C_GetSlotInfo : start
>>>>
>>>>Karsten
>>>>
>>>>
>>>>>regards, dejan
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>-----Original Message-----
>>>>>>From: muscle-bounces
lists.musclecard.com
>>>>>>[mailto:muscle-bounces
lists.musclecard.com] On Behalf Of
>>>>
>>>>Karsten Ohme
>>>>
>>>>
>>>>>>Sent: Monday, April 10, 2006 10:49 AM
>>>>>>To: MUSCLE
>>>>>>Subject: Re: [Muscle] Installing MuscleCard on JCOP41 v2.2
>>>>>>
>>>>>>
>>>>>>Gambin Dejan wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Hi,
>>>>>>>
>>>>>>>I have finally built MuscleTools on Windows. I had to
>>
>>use an older
>>
>>>>>>>Bison version from cygwin. I have also successfully
>>
>>formatted the
>>
>>>>>>>token using MuscleTools after installing the applet (developer
>>>>>>>version) in Eclipse.
>>>>>>>
>>>>>>>After that I have built PKCS#11. There were some problems
>>>>>>
>>>>>>that needed
>>>>>>
>>>>>>
>>>>>>
>>>>>>>thread_win32.c from pcsc/lite to be installed but it
>>
>>went ok after
>>
>>>>>>>that. I have installed PKCS#11 module in Mozilla Firefox
>>>>>>
>>>>>>but I don't
>>>>>>
>>>>>>
>>>>>>
>>>>>>>know if/how can I install ther certificate onto the MuscleCard
>>>>>>>security device? I don't have "Log in" option enabled so Mozilla
>>>>>>>imports my cert.p12 into software security device...does it mean
>>>>>>>PKCS#11 is not working?
>>>>>>
>>>>>>Token is formated? Else enable debugging for PKCS#11.
>>
>>There should
>>
>>>>>>be a file PKCS11.log under C:. Maybe it must be enabled with a
>>>>>>configuration file. Don't know anymore. See the sources for the
>>>>>>mentioned file how it is produced ...
>>>>>>
>>>>>>Karsten
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>thanks
>>>>>>>
>>>>>>>regards, dejan
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>-----Original Message-----
>>>>>>>>From: muscle-bounces
lists.musclecard.com
>>>>>>>>[mailto:muscle-bounces
lists.musclecard.com] On Behalf Of
>>>>>>
>>>>>>Karsten Ohme
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>Sent: Monday, April 10, 2006 12:33 AM
>>>>>>>>To: MUSCLE
>>>>>>>>Subject: Re: [Muscle] Installing MuscleCard on JCOP41 v2.2
>>>>>>>>
>>>>>>>>
>>>>>>>>Dejan Gambin wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>Thanks Karsten,
>>>>>>>>>
>>>>>>>>>I have realised my stupid error of not setting the path
>>>>
>>>>to Gnuwin32
>>>>
>>>>
>>>>>>>>>bin folder so m4 wasn't found. Unfortunatelly now I am
>>
>>getting th
>>
>>>>>>>>>error:
>>>>>>>>>
>>>>>>>>>parser.c
>>>>>>>>>../parser.c(1130) : error C2449: found '{' at file scope
>>>>
>>>>(missing
>>>>
>>>>
>>>>>>>>>function heade
>>>>>>>>>r?)
>>>>>>>>>../parser.c(2138) : error C2059: syntax error : '}'
>>
>>NMAKE : fatal
>>
>>>>>>>>>error U1077: 'cl.exe' : return code '0x2' Stop.
>>>>>>>>>
>>>>>>>>>I suppose Bison can be the problem...I am using the
>>
>>version from
>>
>>>>>>>>>Gnuwin32, next I'll try to use cygwin like you proposed...
>>>>>>>>
>>>>>>>>Don't know. I have installed cygwin and bison. Try with both.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>Besides, you say PKCS#11 may not work with developer
>>>>
>>>>version. So it
>>>>
>>>>
>>>>>>>>>will be better to use the stable versions of all the
>>>>
>>>>libraries and
>>>>
>>>>
>>>>>>>>>applets? Do you think I can use the developer versions of
>>>>>>>>>libmusclecard, MCardPlugin (that I successfully built) and
>>>>>>>>
>>>>>>>>MuscleTool
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>with the old/stable applet? Or you are suggesting me
>>>>>>
>>>>>>something else?
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>The API is different, so it will not work. Try the PKCS#11
>>>>>>>
>>>>>>>>from the website. Else you can use the development version
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>Makefiles but must exchange some files ...
>>>>>>>>
>>>>>>>>Karsten
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>Sorry to bother you :-((
>>>>>>>>>
>>>>>>>>>thanks very much
>>>>>>>>>
>>>>>>>>>regards, dejan
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>-----Original Message-----
>>>>>>>>>>From: muscle-bounces
lists.musclecard.com
>>>>>>>>>>[mailto:muscle-bounces
lists.musclecard.com] On Behalf Of
>>>>>>>>
>>>>>>>>Karsten Ohme
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>>Sent: Sunday, April 09, 2006 9:45 PM
>>>>>>>>>>To: MUSCLE
>>>>>>>>>>Subject: Re: [Muscle] Installing MuscleCard on JCOP41 v2.2
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>Dejan Gambin wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>Hi Karsten,
>>>>>>>>>>>
>>>>>>>>>>>Thank you very much for clearifying the things. I am
>>>>>>>>>>
>>>>>>>>>>participating a
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>project where the new JCOP31 v2.2 card should be used. I
>>>>>>
>>>>>>have got a
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>>>>sample of cards and the first thing I have to do is trying
>>>>>>>>>>
>>>>>>>>>>to enable
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>some PKCS#11 enabled applications to use the card just for
>>>>>>>>>>
>>>>>>>>>>testing. We
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>are in a process of buidling the PKCS#15 applet for this
>>>>>>>>>>
>>>>>>>>>>card (so it
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>can be used by OpenSC), but the working applet is not
>>>>>>
>>>>>>yet ready for
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>>>>v2.2 (it is working on old JCOP31/JCOP20 cards). In the
>>>>>>
>>>>>>meantime I
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>>>>would like to try using MuscleCard applet, libmusclecard,
>>>>>>>>>>
>>>>>>>>>>MCardPlugin
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>and PKCS#11 on this card and to write a
>>
>>documentation on how to
>>
>>>>>>>>>>>install and use everything. I will be glad to share this
>>>>>>>>>>
>>>>>>>>>>document on
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>the list so maybe it could help people making everything
>>>>>>
>>>>>>working..
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>>>>I don't know if it is better to use the stable
>>
>>version or the
>>
>>>>>>>>>>>developer one. I have tried the following (remember this
>>>>>>
>>>>>>is all on
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>>>>Windows!):
>>>>>>>>>>>
>>>>>>>>>>>I went to http://www.musclecard.com/musclecard/index.html. I
>>>>>>>>>>>downloaded CFlexAccess32Loader.zip and took the CardEdge
>>>>>>
>>>>>>bin from
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>>>>there. I have successfully installed this bin file onto
>>>>>>
>>>>>>the JCOP31
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>>>>card using the modified GPShell examples (as you told me).
>>>>>>>>>>
>>>>>>>>>>After that
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>I wanted to get the latest stable libmusclecard library. I
>>>>>>>>>>
>>>>>>>>>>found the
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>only one available on CVS (version
>>>>>>>>>>>1.3.2) but unfortunatelly it has no documentation on how to
>>>>>>>>>>
>>>>>>>>>>build it on
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>Windows. The same is for muscleframework-1.1.5,
>>>>>>>>>>
>>>>>>>>>>MCardApplet-0.9.11 and
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>muscleTool 2.1.0.
>>>>>>>>>>>So it looked pretty difficult to me to install it on
>>>>>>>>>>
>>>>>>>>>>Windows and I went to
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>your development versions. They are all on one place, they
>>>>>>>>>>
>>>>>>>>>>all have the
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>Install.w32 so I thought it would be easier to install.
>>>>>>>>>>
>>>>>>>>>>Since this developer
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>version had no cap or bin applet file, I have successfully
>>>>>>>>>>
>>>>>>>>>>installed the
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>applet in Eclipse,
>>>>>>>>>>
>>>>>>>>>>OK, but there are xml build files for Ant. But the new
>>>>>>
>>>>>>version are
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>>>compatible with the old applet, so it should work
>>
>>with the old
>>
>>>>>>>>>>version.
>>>>>>>>>>
>>>>>>>>>>The PKCS#11 module on the development page may not
>>>>
>>>>work(?). It is
>>>>
>>>>
>>>>>>>>>>not updated.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>and also libmusclecard and mscCardPlugin but I got
>>>>>>>>>>
>>>>>>>>>>unsupported errors
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>in muscletest. I supposed this was because of
>>>>>>>>>>
>>>>>>>>>>"nonpersonalized" card
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>so
>>>>>>>>>>
>>>>>>>>>>Can be the case.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>I tried building the latest developer MuscleTool
>>>>>>>>>>>using the Install.w32 documentation supplied. But running:
>>>>>>>>>>>
>>>>>>>>>>>nmake -f MuscleTools.mak VERSION2=
>>>>>>>>>>>PTHREADS_INC="C:\Mydocu~1\MyDown~1\PKI\pthreads\Pre-built.2
>>>>>>>>>>
>>>>>>>>>>\include"
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>PTHREADS_LIB="C:\MyDocu~1\MyDown~1\PKI\pthreads\Pre-bui
>>>>
>>>>lt.2\lib"
>>>>
>>>>
>>>>>>>>>>>PTHREADS_NAME=pthreadVC2
>>>>>>
>>>>>>FLEX="C:\Progra~1\GnuWin32\bin\flex.exe"
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>>>>FLEX_INC="C:\Progra~1\GnuWin32\include"
>>>>>>>>>>>PCSC_INC="C:\MyDocu~1\MyDown~1\PKI\libmusclecard\src\PC
>>>>
>>>>SC\win32"
>>>>
>>>>
>>>>>>>>>>>BISON="C:\Progra~1\GnuWin32 \bin\bison.exe"
>>>>>>>>>>>MUSCLECARD_INC="C:\MyDocu~1\MyDown~1\PKI\libmusclecard\src"
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>MUSCLECARD_LIB="C:\MyDocu~1\MyDown~1\PKI\libmusclecard\win32
>>>>>>>>
>>>>>>>>\release"
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>>>I got: C:\Progra~1\GnuWin32\bin\flex.exe
>>>>>>>>>>
>>>>>>>>>>-o../scanner.c ../scanner.l
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> C:\Progra~1\GnuWin32\bin\bison.exe -do ../parser.c
>>>>>>>>>>
>>>>>>>>>>../parser.y
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>C:\Progra~1\GnuWin32\bin\bison.exe: m4: No such file or
>>>>>>
>>>>>>directory
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>>>>NMAKE : fatal error U1077:
>>>>>>
>>>>>>'C:\Progra~1\GnuWin32\bin\bison.exe' :
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>>>>return code '0 x1' Stop.
>>>>>>>>>>>
>>>>>>>>>>>any help?
>>>>>>>>>>
>>>>>>>>>>Install the m4 macros for GnuWin32, maybe this
>>
>>package is named
>>
>>>>>>>>>>autoconf or automake. Install all.
>>>>>>>>>>
>>>>>>>>>>Karsten
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>dejan
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>-----Original Message-----
>>>>>>>>>>>>From: muscle-bounces
lists.musclecard.com
>>>>>>>>>>>>[mailto:muscle-bounces
lists.musclecard.com] On Behalf Of
>>>>>>>>>>
>>>>>>>>>>Karsten Ohme
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>>Sent: Friday, April 07, 2006 7:25 PM
>>>>>>>>>>>>To: MUSCLE
>>>>>>>>>>>>Subject: Re: [Muscle] Installing MuscleCard on JCOP41 v2.2
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>Gambin Dejan wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>>Hi,
>>>>>>>>>>>>>
>>>>>>>>>>>>>I would like to install musclecard applet onto the JCOP41
>>>>>>>>>>>>
>>>>>>>>>>>>card and use
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>>musclecard applications after that. Can someone tell me
>>>>>>>>>>>>
>>>>>>>>>>>>which software
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>>do I need to install, which versions,
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>and where to get all this?
>>>>>>>>>>>>
>>>>>>>>>>>>All from here:
>>
>>http://www.musclecard.com/musclecard/index.html
>>
>>>>>>>>>>>>The developer builds are really developer build, you
>>>>
>>>>can develop
>>>>
>>>>
>>>>>>>>>>>>them, improve, ... the base stuff works for me, but
>>
>>these are
>>
>>>>>>>>>>>>developer builds.
>>>>>>>>>>>>
>>>>>>>>>>>>Download MCardApplet from
>>>>>>>>>>>>http://web.inf.tu-dresden.de/~ko189283/MuscleCard/
>>>>
>>>>and read the
>>>>
>>>>
>>>>>>>>>>>>README. Replace the src directory in MCardApplet with
>>>>
>>>>a stable
>>>>
>>>>
>>>>>>>>>>>>version, linked at
>>>>>>>>
>>>>>>>>http://www.musclecard.com/musclecard/index.html.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>>>>There is a Ant build script for JCOP cards. This will
>>>>
>>>>produce a
>>>>
>>>>
>>>>>>>>>>>>binary to load.
>>>>>>>>>>>>
>>>>>>>>>>>>It is much easier to take a ready build binary
>>>>
>>>>contained in the
>>>>
>>>>
>>>>>>>>>>>>MuscleCardApplet loader.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>>I was successfully installed the newest musclecard
>>>>
>>>>applet using
>>>>
>>>>
>>>>>>>>>>>>>Eclipse,
>>>>>>>>>>>>
>>>>>>>>>>>>You wanted to try out the latest, that means the
>>>>>>>>
>>>>>>>>development applet?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>>>>If you want to do this and you do not have to expect that
>>>>>>>>
>>>>>>>>everything
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>>>>works. It is not stable!
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>>but I don't know how to do it with GPShell...
>>>>>>>>>>>>
>>>>>>>>>>>>There is an example file to install an applet on a GP211
>>>>>>>>
>>>>>>>>card. Take
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>>>>it. There should not be much difference. Look in the README.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>>after that I wanted to
>>>>>>>>>>>>>install MuscleTools but again didn't know which version to
>>>>>>>>>>>>>install.....I have downloaded 2.0.1 but couldn't
>>>>
>>>>install it on
>>>>
>>>>
>>>>>>>>>>>>>Windows...
>>>>>>>>>>>>
>>>>>>>>>>>>What means could not install?
>>>>>>>>>>>>
>>>>>>>>>>>>Your problem about the unsupported functions is probably the
>>>>>>>>>>>>following: You want to use the development applet
>>>>
>>>>with a stable
>>>>
>>>>
>>>>>>>>>>>>muscleTool version. There is a README or Install.w32 for
>>>>>>>>>>>>muscleTool, which explains how to use or disable the
>>>>>>
>>>>>>development
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>>>>>version. If you want to use it, then you must also
>>
>>use all the
>>
>>>>>>>>>>>>development version at
>>>>>>>>>>>>http://web.inf.tu-dresden.de/~ko189283/MuscleCard/ and
>>>>>>
>>>>>>maybe this
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>>>>>will not work, fix problems if you have any, but it is a
>>>>>>>>>>>>development version!
>>>>>>>>>>>>
>>>>>>>>>>>>Karsten
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>>Any help?
>>>>>>>>>>>>>
>>>>>>>>>>>>>thanks
>>>>>>>>>>>>>
>>>>>>>>>>>>>regards, dejan
>>>>>>>>>>>>>
>>>>>>>>>>>>>_______________________________________________
>>>>>>>>>>>>>Muscle mailing list
>>>>>>>>>>>>>Muscle
lists.musclecard.com
>>>>>>>>>>>>>http://lists.drizzle.com/mailman/listinfo/muscle
>>>>>>>>>>>>
>>>>>>>>>>>>_______________________________________________
>>>>>>>>>>>>Muscle mailing list
>>>>>>>>>>>>Muscle
lists.musclecard.com
>>>>>>>>>>>>http://lists.drizzle.com/mailman/listinfo/muscle
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>_______________________________________________
>>>>>>>>>>>Muscle mailing list
>>>>>>>>>>>Muscle
lists.musclecard.com
>>>>>>>>>>>http://lists.drizzle.com/mailman/listinfo/muscle
>>>>>>>>>>
>>>>>>>>>>_______________________________________________
>>>>>>>>>>Muscle mailing list
>>>>>>>>>>Muscle
lists.musclecard.com
>>>>>>>>>>http://lists.drizzle.com/mailman/listinfo/muscle
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>_______________________________________________
>>>>>>>>>Muscle mailing list
>>>>>>>>>Muscle
lists.musclecard.com
>>>>>>>>>http://lists.drizzle.com/mailman/listinfo/muscle
>>>>>>>>
>>>>>>>>_______________________________________________
>>>>>>>>Muscle mailing list
>>>>>>>>Muscle
lists.musclecard.com
>>>>>>>>http://lists.drizzle.com/mailman/listinfo/muscle
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>_______________________________________________
>>>>>>>Muscle mailing list
>>>>>>>Muscle
lists.musclecard.com
>>>>>>>http://lists.drizzle.com/mailman/listinfo/muscle
>>>>>>
>>>>>>_______________________________________________
>>>>>>Muscle mailing list
>>>>>>Muscle
lists.musclecard.com
>>>>>>http://lists.drizzle.com/mailman/listinfo/muscle
>>>>>>
>>>>>
>>>>>
>>>>>_______________________________________________
>>>>>Muscle mailing list
>>>>>Muscle
lists.musclecard.com
>>>>>http://lists.drizzle.com/mailman/listinfo/muscle
>>>>
>>>>_______________________________________________
>>>>Muscle mailing list
>>>>Muscle
lists.musclecard.com
>>>>http://lists.drizzle.com/mailman/listinfo/muscle
>>>>
>>>
>>>
>>>_______________________________________________
>>>Muscle mailing list
>>>Muscle
lists.musclecard.com
>>>http://lists.drizzle.com/mailman/listinfo/muscle
>>
>>_______________________________________________
>>Muscle mailing list
>>Muscle
lists.musclecard.com
>>http://lists.drizzle.com/mailman/listinfo/muscle
>>
>
>
> _______________________________________________
> Muscle mailing list
> Muscle
lists.musclecard.com
> http://lists.drizzle.com/mailman/listinfo/muscle
_______________________________________________
Muscle mailing list
Muscle
lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]