kammi cazze wrote: > Karsten, > > i compiled globalplatform and gpshell.
Correct, actually you can take the files helloInstall.txt (if it is a OpenPlatform 2.0.1' card) (or helloInstallGP211.txt if it is a GlobalPlatform 2.1.1 card) and replace the file after the -file switch in the install command. (gpshell-1.20 was releases this afternoon, maybe you were on of the last, how downloaded the old version.) > In the specs of my GemXpresso Pro > card is stated that it is Global Platform compliant, The term GlobalPlatform is unfortunately also used for OpenPlatform 2.0.1' cards. So you must be careful or try both ... (But you only have ten tries! Then the card will be locked!) > so i think its the > way to go, but ... > > All new to this, i have some problems understanding some of the steps to > take. > > I figured out i need the MCardApplet and put that one on my smartcard > with a script given to gpshell. Is that correct? Yes. > > If i look to the examples from gpshell, i see the files put on the cards > are all .bin files. > > So i loked into the MCardApplet dir to see if i found some *.bin file, > but didn't. There is a prebuilt version contained in the MuscleCard Applet Loader, whcih you can also take for the installing on the card. There is a bin file (it can also be called a ijc (Interoperable Java Card format, which specifies the file content more clearly), this should is the same format) > So i after looking in some of the shell scripts, i was able > to see i needed a java card kit sdk. I went to the sun website to > download the 2.1 kit, but it isn't there anymoer. So i downloeded the > 2.2.1 kit and hope it won't give me problems. I changed some of the > scripts to use mu path's and 2.2.1 java kit and everything compiled > after a while. This versions still exist: http://java.sun.com/products/javacard/dev_kit.html Look down at the bottom. You should take the version of the kit which is compatible with your card. The API was extended over the time so it does matter. Also the version of the Java SDK to compile the *.java file can matter. > I succesfully did the Compile.sh and Convert.sh scripts, > but still no bin file. Am i missing something? Like mentioned above. I don't know what the result will be, hut the extension does not matter. Unfortunately the gpshell cannot load cap files (which should be the result of the convert process.) In the README of the MuscleCard Applet Loader is mentioned how to produce a ijc/bin file from this. The process for converting a java files for an applet, whcih is installed on the card is the following. compile to class files. convert to cap (Converted Applet) files Thsi format is the standard Java Card file format, but the format accepted by all cards I know is the ijc format. > > Is there a howto or a doc describing the steps to take? If you want to try to compile it on your own in a maybe more convenient or flexible way, look at http://web.inf.tu-dresden.de/~ko189283/MuscleCard/ There is a new version of the MCardApplet, what is interesting for you is the build process, which is done with Ant build files. Once installed it, it is very flexible. > > Do you have a gpshell script with an example to put a muscle applet on a > javacard? See above, like the hello applet is installed. Karsten > > Regards, > > Pierre > > >> From: Karsten Ohme <[EMAIL PROTECTED]> >> Reply-To: MUSCLE <[email protected]> >> To: MUSCLE <[email protected]> >> Subject: Re: [Muscle] muscleTools >> Date: Thu, 22 Dec 2005 18:14:58 +0100 >> >> kammi cazze wrote: >> > Thx for your quick response. >> > >> > I tried the old muscleTool (version 0.9.2) program and it is doing >> > something now. I can use the command tokens and it returned me 1. >> Muscle >> > Applet. >> >> Do you know the reason, why it works now? >> >> > If i try it with the new muscleTool (2.1.0) it still hangs after the >> > tokens command. The process is taken 99.9% on the muscleTool program. >> >> This is really strange because the code for listing the tokens is >> identical. I will examine this. >> >> > >> > Can you explain me the way to go to put the MuscleApplet on a >> GemXpresso >> > Card? Can it be done with the muscleTool? >> >> No. If it is a JavaCard based on Open or GlobalPlatform you can try this: >> >> http://sourceforge.net/project/showfiles.php?group_id=143343 >> >> Or the MuscleCard Applet Loader from the MuscleCard web site. >> >> Karsten >> > >> > Pierre Cassimans. >> > >> > >> > >> >> From: Karsten Ohme <[EMAIL PROTECTED]> >> >> Reply-To: MUSCLE <[email protected]> >> >> To: MUSCLE <[email protected]> >> >> Subject: Re: [Muscle] muscleTools >> >> Date: Thu, 22 Dec 2005 17:14:09 +0100 >> >> >> >> kammi cazze wrote: >> >> > hi all, >> >> > >> >> > Ok, the checkout works now. But i'm still not further.The muscleTool >> >> > program is hanging if i give the tokens command. Here is the >> output of >> >> > pcsd -f -d -a >> >> > >> >> > pcscdaemon.c:258:main() pcscd set to foreground with debug send to >> >> stderr >> >> > debuglog.c:207:DebugLogSetLevel() debug level=debug >> >> > debuglog.c:236:DebugLogSetCategory() Debug options: APDU >> >> > pcscdaemon.c:463:main() pcsc-lite 1.2.9-beta9 daemon ready. >> >> > hotplug_libusb.c:404:HPAddHotPluggable() Adding USB device: 002:002 >> >> > readerfactory.c:1097:RFInitializeReader() Attempting startup of >> GemPC >> >> > Twin 00 00. >> >> > readerfactory.c:971:RFBindFunctions() Loading IFD Handler 3.0 >> >> > ifdhandler.c:998:init_driver LogLevel: 0x0003 >> >> > ifdhandler.c:1009:init_driver DriverOptions: 0x0000 >> >> > ifdhandler.c:67:IFDHCreateChannelByName lun: 0, device: >> >> > usb:08e6/3437:libusb:002:002 >> >> > ccid_usb.c:225:OpenUSBByName Manufacturer: Ludovic Rousseau >> >> > ([EMAIL PROTECTED]) >> >> > ccid_usb.c:235:OpenUSBByName ProductString: Generic CCID reader >> v0.9.3 >> >> > ccid_usb.c:241:OpenUSBByName Copyright: This driver is protected by >> >> > terms of the GNU General Public License version 2, or (at your >> option) >> >> > any later version. >> >> > ccid_usb.c:376:OpenUSBByName Found Vendor/Product: 08E6/3437 (GemPC >> >> Twin) >> >> > ccid_usb.c:378:OpenUSBByName Using USB bus/device: 002/002 >> >> > ifdhandler.c:239:IFDHGetCapabilities lun: 0, tag: 0xFAE >> >> > ifdhandler.c:689:IFDHPowerICC lun: 0 >> >> > eventhandler.c:418:EHStatusHandlerThread() Card inserted into GemPC >> >> Twin >> >> > 00 00 >> >> > Card ATR: 3B 7D 94 00 00 80 31 80 65 B0 83 01 02 90 83 00 90 00 >> >> > winscard_msg_srv.c:203:SHMProcessEventsServer() Common channel >> packet >> >> > arrival >> >> > winscard_msg_srv.c:212:SHMProcessEventsServer() >> >> > SHMProcessCommonChannelRequest detects: 7 >> >> > pcscdaemon.c:150:SVCServiceRunLoop() A new context thread >> creation is >> >> > requested: 7 >> >> > winscard_svc.c:136:ContextThread() Thread is started: 7 >> >> > winscard_msg_srv.c:274:SHMProcessEventsContext() correctly processed >> >> > client: 7 >> >> > winscard_svc.c:178:ContextThread() Client is protocol version 2:0 >> >> > winscard_msg_srv.c:274:SHMProcessEventsContext() correctly processed >> >> > client: 7 >> >> > winscard.c:160:SCardEstablishContext() Establishing Context: >> 16997490 >> >> > >> >> > and it stays there. >> >> >> >> It look like a problem of the card reader driver. Please try out some >> >> other application which tries to connect to the reader. E.g. there >> >> should be muscletest included in libmusclecard. If the problem >> stays it >> >> is not problem of muscleTool. >> >> >> >> > >> >> > Another thing is i can't compile muscleTools with >> --enable-version2 . >> >> >> >> Like hopefully mentioned in the README this is only for the MuscleCard >> >> Library in version 2.x.y. (Which is in development and has much more >> >> features.) >> >> >> >> If you are interested and want to try this, then you have to download >> >> this: >> >> >> >> http://web.inf.tu-dresden.de/~ko189283/MuscleCard/ >> >> >> >> For features of this look at this: >> >> >> >> >> http://web.inf.tu-dresden.de/~ko189283/MuscleCard/libmusclecardChanges.html >> >> >> >> >> >> >> Karsten >> >> >> >> > >> >> > Here is the output of the make with --enable-version2 >> >> > >> >> > make[2]: Nothing to be done for `all'. >> >> > make[2]: Leaving directory >> >> > `/usr/local/src/musclecard/muscleTools-svn/trunk/muscleTool/man' >> >> > make[2]: Entering directory >> >> > `/usr/local/src/musclecard/muscleTools-svn/trunk/muscleTool' >> >> > if gcc -DPACKAGE_NAME=\"muscleTool\" >> -DPACKAGE_TARNAME=\"muscletool\" >> >> > -DPACKAGE_VERSION=\"2.1.0\" -DPACKAGE_STRING=\"muscleTool\ 2.1.0\" >> >> > -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"muscletool\" >> -DVERSION=\"2.1.0\" >> >> > -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 >> >> > -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 >> >> > -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 >> >> > -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 >> -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 >> >> > -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_ATOI=1 -DHAVE_PUTENV=1 >> >> > -DHAVE_SETENV=1 -DHAVE_FOPEN=1 -DHAVE_MEMCPY=1 -DHAVE_MEMSET=1 >> >> > -DHAVE_SCANF=1 -DHAVE_SNPRINTF=1 -DHAVE_STRDUP=1 -DHAVE_STRTOUL=1 >> >> > -DHAVE_PTHREAD=1 -DVERSION2=1 -I. -I. -pthread >> >> > -I/usr/include/PCSC -g -O2 -MT muscleTool-muscleTool.o -MD >> -MP -MF >> >> > ".deps/muscleTool-muscleTool.Tpo" -c -o muscleTool-muscleTool.o >> >> `test -f >> >> > 'muscleTool.c' || echo './'`muscleTool.c; \ >> >> > then mv -f ".deps/muscleTool-muscleTool.Tpo" >> >> > ".deps/muscleTool-muscleTool.Po"; else rm -f >> >> > ".deps/muscleTool-muscleTool.Tpo"; exit 1; fi >> >> > muscleTool.c: In function `doPrintKeyPolicyCiphMode': >> >> > muscleTool.c:539: error: structure has no member named >> >> > `cipherSignatureMode' >> >> > muscleTool.c:540: error: structure has no member named >> >> `cipherCipherMode' >> >> > muscleTool.c:556: error: `MSC_KEYPOLICY_MODE_SIGNATURE_DSA_SHA' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:556: error: (Each undeclared identifier is reported >> >> only once >> >> > muscleTool.c:556: error: for each function it appears in.) >> >> > muscleTool.c:564: error: >> `MSC_KEYPOLICY_MODE_SIGNATURE_RSA_MD5_PKCS1' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:566: error: >> `MSC_KEYPOLICY_MODE_SIGNATURE_RSA_MD5_RFC2409' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:568: error: >> >> > `MSC_KEYPOLICY_MODE_SIGNATURE_RSA_RIPEMD160_ISO9796' undeclared >> (first >> >> > use in this function) >> >> > muscleTool.c:570: error: >> >> > `MSC_KEYPOLICY_MODE_SIGNATURE_RSA_RIPEMD160_PKCS1' undeclared (first >> >> use >> >> > in this function) >> >> > muscleTool.c:572: error: >> `MSC_KEYPOLICY_MODE_SIGNATURE_RSA_SHA_ISO9796' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:574: error: >> `MSC_KEYPOLICY_MODE_SIGNATURE_RSA_SHA_PKCS1' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:576: error: >> `MSC_KEYPOLICY_MODE_SIGNATURE_RSA_SHA_RFC2409' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:580: error: `MSC_KEYPOLICY_MODE_CIPHER_RSA_ISO14888' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:582: error: `MSC_KEYPOLICY_MODE_CIPHER_RSA_ISO9796' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:584: error: `MSC_KEYPOLICY_MODE_CIPHER_RSA_NOPAD' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:586: error: `MSC_KEYPOLICY_MODE_CIPHER_RSA_PKCS1' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:593: error: >> `MSC_KEYPOLICY_MODE_CIPHER_DES_CBC_ISO9797_M1' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:595: error: >> `MSC_KEYPOLICY_MODE_CIPHER_DES_CBC_ISO9797_M2' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:597: error: >> `MSC_KEYPOLICY_MODE_CIPHER_DES_ECB_ISO9797_M1' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:599: error: >> `MSC_KEYPOLICY_MODE_CIPHER_DES_ECB_ISO9797_M2' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:601: error: `MSC_KEYPOLICY_MODE_CIPHER_DES_ECB_NOPAD' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:603: error: `MSC_KEYPOLICY_MODE_CIPHER_DES_CBC_NOPAD' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:605: error: `MSC_KEYPOLICY_MODE_CIPHER_DES_CBC_PKCS5' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:607: error: `MSC_KEYPOLICY_MODE_CIPHER_DES_ECB_PKCS5' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:611: error: >> >> > `MSC_KEYPOLICY_MODE_SIGNATURE_DES_MAC4_ISO9797_M1' undeclared (first >> >> use >> >> > in this function) >> >> > muscleTool.c:613: error: >> >> > `MSC_KEYPOLICY_MODE_SIGNATURE_DES_MAC4_ISO9797_M2' undeclared (first >> >> use >> >> > in this function) >> >> > muscleTool.c:615: error: >> `MSC_KEYPOLICY_MODE_SIGNATURE_DES_MAC4_NOPAD' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:617: error: >> `MSC_KEYPOLICY_MODE_SIGNATURE_DES_MAC4_PKCS5' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:619: error: >> >> > `MSC_KEYPOLICY_MODE_SIGNATURE_DES_MAC8_ISO9797_M1' undeclared (first >> >> use >> >> > in this function) >> >> > muscleTool.c:621: error: >> >> > `MSC_KEYPOLICY_MODE_SIGNATURE_DES_MAC8_ISO9797_M2' undeclared (first >> >> use >> >> > in this function) >> >> > muscleTool.c:623: error: >> `MSC_KEYPOLICY_MODE_SIGNATURE_DES_MAC8_NOPAD' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:625: error: >> `MSC_KEYPOLICY_MODE_SIGNATURE_DES_MAC8_PKCS5' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:629: error: `MSC_KEY_AES' undeclared (first use in this >> >> > function) >> >> > muscleTool.c:631: error: >> >> > `MSC_KEYPOLICY_MODE_CIPHER_AES_BLOCK_128_CBC_NOPAD' undeclared >> (first >> >> > use in this function) >> >> > muscleTool.c:633: error: >> >> > `MSC_KEYPOLICY_MODE_CIPHER_AES_BLOCK_128_ECB_NOPAD' undeclared >> (first >> >> > use in this function) >> >> > muscleTool.c:637: error: >> >> > `MSC_KEYPOLICY_MODE_SIGNATURE_AES_MAC_128_NOPAD' undeclared >> (first use >> >> > in this function) >> >> > muscleTool.c: In function `doPrintKeyFlags': >> >> > muscleTool.c:649: error: `MSC_KEY_CARD_GENERATED' undeclared >> (first use >> >> > in this function) >> >> > muscleTool.c: In function `doStatus': >> >> > muscleTool.c:777: error: `MSC_TAG_STATE_PROTO_VERSION' undeclared >> >> (first >> >> > use in this function) >> >> > muscleTool.c:777: error: too many arguments to function >> `MSCGetStatus' >> >> > muscleTool.c:782: error: `MSC_TAG_STATE_APPLET_VERSION' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:782: error: too many arguments to function >> `MSCGetStatus' >> >> > muscleTool.c:787: error: `MSC_TAG_STATE_FREE_MEM' undeclared >> (first use >> >> > in this function) >> >> > muscleTool.c:787: error: too many arguments to function >> `MSCGetStatus' >> >> > muscleTool.c:794: error: `MSC_TAG_STATE_TOTAL_MEM' undeclared (first >> >> use >> >> > in this function) >> >> > muscleTool.c:794: error: too many arguments to function >> `MSCGetStatus' >> >> > muscleTool.c:800: error: `MSC_TAG_STATE_USED_PINS' undeclared (first >> >> use >> >> > in this function) >> >> > muscleTool.c:800: error: too many arguments to function >> `MSCGetStatus' >> >> > muscleTool.c:805: error: `MSC_TAG_STATE_USED_KEYS' undeclared (first >> >> use >> >> > in this function) >> >> > muscleTool.c:805: error: too many arguments to function >> `MSCGetStatus' >> >> > muscleTool.c:810: error: `MSC_TAG_STATE_LOGGED_IDS' undeclared >> (first >> >> > use in this function) >> >> > muscleTool.c:810: error: too many arguments to function >> `MSCGetStatus' >> >> > muscleTool.c: In function `doResume': >> >> > muscleTool.c:883: error: >> >> > `MSC_ALGORITHM_CAPABILITIES_OFFSET_POSSIBLE_KEY_LENGTHS' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:904: error: `MSC_CAPABLE_RSA_CRT_512' undeclared (first >> >> use >> >> > in this function) >> >> > muscleTool.c:907: error: `MSC_CAPABLE_RSA_CRT_768' undeclared (first >> >> use >> >> > in this function) >> >> > muscleTool.c:910: error: `MSC_CAPABLE_RSA_CRT_1024' undeclared >> (first >> >> > use in this function) >> >> > muscleTool.c:913: error: `MSC_CAPABLE_RSA_CRT_2048' undeclared >> (first >> >> > use in this function) >> >> > muscleTool.c:916: error: >> >> > `MSC_ALGORITHM_CAPABILITIES_OFFSET_POSSIBLE_KEY_GENS' undeclared >> (first >> >> > use in this function) >> >> > muscleTool.c:921: error: `MSC_CAPABLE_KEYGEN_RSA_512' undeclared >> (first >> >> > use in this function) >> >> > muscleTool.c:924: error: `MSC_CAPABLE_KEYGEN_RSA_768' undeclared >> (first >> >> > use in this function) >> >> > muscleTool.c:927: error: `MSC_CAPABLE_KEYGEN_RSA_1024' undeclared >> >> (first >> >> > use in this function) >> >> > muscleTool.c:930: error: `MSC_CAPABLE_KEYGEN_RSA_2048' undeclared >> >> (first >> >> > use in this function) >> >> > muscleTool.c:933: error: `MSC_CAPABLE_KEYGEN_RSA_CRT_512' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:936: error: `MSC_CAPABLE_KEYGEN_RSA_CRT_768' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:939: error: `MSC_CAPABLE_KEYGEN_RSA_CRT_1024' >> undeclared >> >> > (first use in this function) >> >> > muscleTool.c:942: error: `MSC_CAPABLE_KEYGEN_RSA_CRT_2048' >> undeclared >> >> > (first use in this function) >> >> > muscleTool.c:945: error: >> >> > `MSC_ALGORITHM_CAPABILITIES_OFFSET_POSSIBLE_SIGNATURE_ALGS' >> undeclared >> >> > (first use in this function) >> >> > muscleTool.c:950: error: `MSC_CAPABLE_SIGNATURE_RSA_MD5_PKCS1' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:953: error: `MSC_CAPABLE_SIGNATURE_RSA_MD5_RFC2409' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:956: error: >> `MSC_CAPABLE_SIGNATURE_RSA_RIPEMD160_ISO9796' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:959: error: `MSC_CAPABLE_SIGNATURE_RSA_RIPEMD160_PKCS1' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:962: error: `MSC_CAPABLE_SIGNATURE_RSA_SHA_ISO9796' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:965: error: `MSC_CAPABLE_SIGNATURE_RSA_SHA_PKCS1' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:968: error: `MSC_CAPABLE_SIGNATURE_RSA_SHA_RFC2409' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:971: error: `MSC_CAPABLE_SIGNATURE_RSA_SHA_PKCS1_PSS' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:974: error: `MSC_CAPABLE_SIGNATURE_RSA_MD5_PKCS1_PSS' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:977: error: >> >> `MSC_CAPABLE_SIGNATURE_RSA_RIPEMD160_PKCS1_PSS' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:980: error: >> >> > `MSC_ALGORITHM_CAPABILITIES_OFFSET_POSSIBLE_CIPHER_ALGS' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:985: error: `MSC_CAPABLE_CIPHER_RSA_ISO_14888' >> undeclared >> >> > (first use in this function) >> >> > muscleTool.c:988: error: `MSC_CAPABLE_CIPHER_RSA_ISO_9796' >> undeclared >> >> > (first use in this function) >> >> > muscleTool.c:991: error: `MSC_CAPABLE_CIPHER_RSA_NOPAD' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:994: error: `MSC_CAPABLE_CIPHER_RSA_PKCS1' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:997: error: `MSC_CAPABLE_CIPHER_RSA_PKCS1_OAEP' >> undeclared >> >> > (first use in this function) >> >> > muscleTool.c:1031: error: `MSC_CAPABLE_KEYGEN_DSA_512' undeclared >> >> (first >> >> > use in this function) >> >> > muscleTool.c:1034: error: `MSC_CAPABLE_KEYGEN_DSA_768' undeclared >> >> (first >> >> > use in this function) >> >> > muscleTool.c:1037: error: `MSC_CAPABLE_KEYGEN_DSA_1024' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:1045: error: `MSC_CAPABLE_SIGNATURE_DSA_SHA' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:1048: error: `MSC_CAPABLE_SIGNATURE_ECDSA_SHA' >> undeclared >> >> > (first use in this function) >> >> > muscleTool.c:1068: error: `MSC_CAPABLE_EC_FP_112' undeclared >> (first use >> >> > in this function) >> >> > muscleTool.c:1071: error: `MSC_CAPABLE_EC_F2M_113' undeclared (first >> >> use >> >> > in this function) >> >> > muscleTool.c:1074: error: `MSC_CAPABLE_EC_FP_128' undeclared >> (first use >> >> > in this function) >> >> > muscleTool.c:1077: error: `MSC_CAPABLE_EC_F2M_131' undeclared (first >> >> use >> >> > in this function) >> >> > muscleTool.c:1080: error: `MSC_CAPABLE_EC_FP_160' undeclared >> (first use >> >> > in this function) >> >> > muscleTool.c:1083: error: `MSC_CAPABLE_EC_F2M_163' undeclared (first >> >> use >> >> > in this function) >> >> > muscleTool.c:1086: error: `MSC_CAPABLE_EC_FP_192' undeclared >> (first use >> >> > in this function) >> >> > muscleTool.c:1089: error: `MSC_CAPABLE_EC_F2M_193' undeclared (first >> >> use >> >> > in this function) >> >> > muscleTool.c:1097: error: `MSC_CAPABLE_KEYGEN_EC_FP_112' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:1100: error: `MSC_CAPABLE_KEYGEN_EC_F2M_113' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:1103: error: `MSC_CAPABLE_KEYGEN_EC_FP_128' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:1106: error: `MSC_CAPABLE_KEYGEN_EC_F2M_131' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:1109: error: `MSC_CAPABLE_KEYGEN_EC_FP_160' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:1112: error: `MSC_CAPABLE_KEYGEN_EC_F2M_163' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:1115: error: `MSC_CAPABLE_KEYGEN_EC_FP_192' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:1118: error: `MSC_CAPABLE_KEYGEN_EC_F2M_193' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:1149: error: `MSC_CAPABLE_AES_128' undeclared (first >> >> use in >> >> > this function) >> >> > muscleTool.c:1152: error: `MSC_CAPABLE_AES_192' undeclared (first >> >> use in >> >> > this function) >> >> > muscleTool.c:1155: error: `MSC_CAPABLE_AES_256' undeclared (first >> >> use in >> >> > this function) >> >> > muscleTool.c:1163: error: `MSC_CAPABLE_SIGNATURE_AES_MAC_128_NOPAD' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:1171: error: >> `MSC_CAPABLE_CIPHER_AES_BLOCK_128_CBC_NOPAD' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:1174: error: >> `MSC_CAPABLE_CIPHER_AES_BLOCK_128_ECB_NOPAD' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:1194: error: `MSC_CAPABLE_DES' undeclared (first use in >> >> > this function) >> >> > muscleTool.c:1197: error: `MSC_CAPABLE_3DES_2KEY' undeclared >> (first use >> >> > in this function) >> >> > muscleTool.c:1208: error: >> `MSC_CAPABLE_SIGNATURE_DES_MAC4_ISO9797_M1' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:1211: error: >> `MSC_CAPABLE_SIGNATURE_DES_MAC4_ISO9797_M2' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:1214: error: `MSC_CAPABLE_SIGNATURE_DES_MAC4_NOPAD' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:1217: error: `MSC_CAPABLE_SIGNATURE_DES_MAC4_PKCS5' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:1220: error: >> `MSC_CAPABLE_SIGNATURE_DES_MAC8_ISO9797_M1' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:1223: error: >> `MSC_CAPABLE_SIGNATURE_DES_MAC8_ISO9797_M2' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:1226: error: `MSC_CAPABLE_SIGNATURE_DES_MAC8_NOPAD' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:1229: error: `MSC_CAPABLE_SIGNATURE_DES_MAC8_PKCS5' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:1232: error: >> >> > `MSC_CAPABLE_SIGNATURE_DES_MAC4_ISO9797_1_M2_ALG3' undeclared (first >> >> use >> >> > in this function) >> >> > muscleTool.c:1235: error: >> >> > `MSC_CAPABLE_SIGNATURE_DES_MAC8_ISO9797_1_M2_ALG3' undeclared (first >> >> use >> >> > in this function) >> >> > muscleTool.c:1243: error: `MSC_CAPABLE_CIPHER_DES_CBC_ISO9797_M1' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:1246: error: `MSC_CAPABLE_CIPHER_DES_CBC_ISO9797_M2' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:1249: error: `MSC_CAPABLE_CIPHER_DES_CBC_NOPAD' >> undeclared >> >> > (first use in this function) >> >> > muscleTool.c:1252: error: `MSC_CAPABLE_CIPHER_DES_CBC_PKCS5' >> undeclared >> >> > (first use in this function) >> >> > muscleTool.c:1255: error: `MSC_CAPABLE_CIPHER_DES_ECB_ISO9797_M1' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:1258: error: `MSC_CAPABLE_CIPHER_DES_ECB_ISO9797_M2' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:1261: error: `MSC_CAPABLE_CIPHER_DES_ECB_NOPAD' >> undeclared >> >> > (first use in this function) >> >> > muscleTool.c:1264: error: `MSC_CAPABLE_CIPHER_DES_ECB_PKCS5' >> undeclared >> >> > (first use in this function) >> >> > muscleTool.c:1641: error: >> >> > `MSC_SUPPORTED_FUNCTIONS_OFFSET_KEY_USE_AND_MANAGEMENT' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:1645: error: `MSC_SUPPORT_MOVEKEY' undeclared (first >> >> use in >> >> > this function) >> >> > muscleTool.c:1653: error: `MSC_SUPPORT_DELETEKEY' undeclared >> (first use >> >> > in this function) >> >> > muscleTool.c:1656: error: `MSC_SUPPORTED_FUNCTIONS_OFFSET_EXT_AUTH' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:1666: error: `MSC_SUPPORT_DELETEID' undeclared >> (first use >> >> > in this function) >> >> > muscleTool.c:1675: error: >> >> > `MSC_SUPPORTED_FUNCTIONS_OFFSET_OBJECT_USE_AND_MANGEMENT' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:1677: error: `MSC_SUPPORT_MOVEOBJECT' undeclared (first >> >> use >> >> > in this function) >> >> > muscleTool.c:1687: error: `MSC_SUPPORTED_FUNCTIONS_OFFSET_STATUS' >> >> > undeclared (first use in this function) >> >> > muscleTool.c: In function `doUnblockPIN': >> >> > muscleTool.c:1862: error: too many arguments to function >> >> `MSCUnblockPIN' >> >> > muscleTool.c:1879: error: too many arguments to function >> >> `MSCUnblockPIN' >> >> > muscleTool.c: In function `doMakePIN': >> >> > muscleTool.c:1909: error: `MSC_TAG_CAPABLE_PIN_TRIES' undeclared >> (first >> >> > use in this function) >> >> > muscleTool.c: In function `doCrypt': >> >> > muscleTool.c:2392: error: `MSC_KEY_AES' undeclared (first use in >> this >> >> > function) >> >> > muscleTool.c:2425: error: `MSC_KEY_EC_F2M_PRIVATE' undeclared (first >> >> use >> >> > in this function) >> >> > muscleTool.c:2426: error: `MSC_KEY_EC_FP_PRIVATE' undeclared >> (first use >> >> > in this function) >> >> > muscleTool.c:2438: error: `MSC_KEY_EC_F2M_PUBLIC' undeclared >> (first use >> >> > in this function) >> >> > muscleTool.c:2439: error: `MSC_KEY_EC_FP_PUBLIC' undeclared >> (first use >> >> > in this function) >> >> > muscleTool.c:2589: error: `MSC_MODE_CIPHER_DES_CBC_NOPAD' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:2595: error: `MSC_MODE_CIPHER_DES_ECB_NOPAD' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:2601: error: `MSC_MODE_CIPHER_DES_CBC_ISO9797_M1' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:2603: error: `MSC_MODE_CIPHER_DES_CBC_ISO9797_M2' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:2605: error: `MSC_MODE_CIPHER_DES_ECB_ISO9797_M1' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:2607: error: `MSC_MODE_CIPHER_DES_ECB_ISO9797_M2' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:2609: error: `MSC_MODE_CIPHER_DES_CBC_PKCS5' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:2611: error: `MSC_MODE_CIPHER_DES_ECB_PKCS5' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:2639: error: `MSC_MODE_CIPHER_AES_BLOCK_128_CBC_NOPAD' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:2650: error: `MSC_MODE_CIPHER_AES_BLOCK_128_ECB_NOPAD' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:2662: error: `MSC_MODE_CIPHER_RSA_NOPAD' undeclared >> (first >> >> > use in this function) >> >> > muscleTool.c:2672: error: `MSC_MODE_CIPHER_RSA_PKCS1' undeclared >> (first >> >> > use in this function) >> >> > muscleTool.c:2674: error: `MSC_MODE_CIPHER_RSA_ISO9796' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:2676: error: `MSC_MODE_CIPHER_RSA_ISO14888' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:2678: error: `MSC_MODE_CIPHER_RSA_PKCS1_OAEP' >> undeclared >> >> > (first use in this function) >> >> > muscleTool.c:2715: error: `MSC_MODE_SIGNATURE_DES_MAC4_NOPAD' >> >> undeclared >> >> > (first use in this function) >> >> > muscleTool.c:2721: error: `MSC_MODE_SIGNATURE_DES_MAC4_ISO9797_M1' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:2723: error: `MSC_MODE_SIGNATURE_DES_MAC4_ISO9797_M2' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:2725: error: `MSC_MODE_SIGNATURE_DES_MAC4_PKCS5' >> >> undeclared >> >> > (first use in this function) >> >> > muscleTool.c:2727: error: `MSC_MODE_SIGNATURE_DES_MAC8_NOPAD' >> >> undeclared >> >> > (first use in this function) >> >> > muscleTool.c:2733: error: `MSC_MODE_SIGNATURE_DES_MAC8_ISO9797_M1' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:2735: error: `MSC_MODE_SIGNATURE_DES_MAC8_ISO9797_M2' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:2737: error: `MSC_MODE_SIGNATURE_DES_MAC8_PKCS5' >> >> undeclared >> >> > (first use in this function) >> >> > muscleTool.c:2739: error: >> >> > `MSC_MODE_SIGNATURE_DES_MAC4_ISO9797_1_M2_ALG3' undeclared (first >> >> use in >> >> > this function) >> >> > muscleTool.c:2741: error: >> >> > `MSC_MODE_SIGNATURE_DES_MAC8_ISO9797_1_M2_ALG3' undeclared (first >> >> use in >> >> > this function) >> >> > muscleTool.c:2751: error: `MSC_MODE_SIGNATURE_AES_MAC_128_NOPAD' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:2766: error: `MSC_MODE_SIGNATURE_RSA_MD5_PKCS1' >> undeclared >> >> > (first use in this function) >> >> > muscleTool.c:2768: error: `MSC_MODE_SIGNATURE_RSA_SHA_PKCS1' >> undeclared >> >> > (first use in this function) >> >> > muscleTool.c:2770: error: `MSC_MODE_SIGNATURE_RSA_SHA_ISO9796' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:2772: error: `MSC_MODE_SIGNATURE_RSA_RIPEMD160_ISO9796' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:2774: error: `MSC_MODE_SIGNATURE_RSA_RIPEMD160_PKCS1' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:2776: error: `MSC_MODE_SIGNATURE_RSA_SHA_RFC2409' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:2778: error: `MSC_MODE_SIGNATURE_RSA_MD5_RFC2409' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:2780: error: `MSC_MODE_SIGNATURE_RSA_MD5_PKCS1_PSS' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:2782: error: >> `MSC_MODE_SIGNATURE_RSA_RIPEMD160_PKCS1_PSS' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:2784: error: `MSC_MODE_SIGNATURE_RSA_SHA_PKCS1_PSS' >> >> > undeclared (first use in this function) >> >> > muscleTool.c:2807: error: `MSC_MODE_SIGNATURE_ECDSA_SHA' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:2822: error: `MSC_MODE_SIGNATURE_DSA_SHA' undeclared >> >> (first >> >> > use in this function) >> >> > muscleTool.c: In function `doListKeys': >> >> > muscleTool.c:2932: error: `MSC_KEY_AES' undeclared (first use in >> this >> >> > function) >> >> > muscleTool.c:2935: error: `MSC_KEY_EC_F2M_PRIVATE' undeclared (first >> >> use >> >> > in this function) >> >> > muscleTool.c:2938: error: `MSC_KEY_EC_F2M_PUBLIC' undeclared >> (first use >> >> > in this function) >> >> > muscleTool.c:2941: error: `MSC_KEY_EC_FP_PRIVATE' undeclared >> (first use >> >> > in this function) >> >> > muscleTool.c:2944: error: `MSC_KEY_EC_FP_PUBLIC' undeclared >> (first use >> >> > in this function) >> >> > muscleTool.c:2957: error: structure has no member named `keyFlags' >> >> > muscleTool.c:3044: error: structure has no member named `keyFlags' >> >> > muscleTool.c: In function `doImportKey': >> >> > muscleTool.c:3153: error: `MSC_KEYPOLICY_DIR_ANY' undeclared >> (first use >> >> > in this function) >> >> > muscleTool.c:3154: error: structure has no member named >> >> `cipherCipherMode' >> >> > muscleTool.c:3154: error: `MSC_KEYPOLICY_MODE_CIPHER_ANY' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:3155: error: structure has no member named >> >> > `cipherSignatureMode' >> >> > muscleTool.c:3155: error: `MSC_KEYPOLICY_MODE_SIGNATURE_ANY' >> undeclared >> >> > (first use in this function) >> >> > muscleTool.c:3178: error: too many arguments to function >> `MSCImportKey' >> >> > muscleTool.c: In function `doGenKeys': >> >> > muscleTool.c:3211: error: `MSC_GEN_ALG_EC_FP' undeclared (first >> use in >> >> > this function) >> >> > muscleTool.c:3215: error: `MSC_GEN_ALG_EC_F2M' undeclared (first >> use in >> >> > this function) >> >> > muscleTool.c:3219: error: `MSC_GEN_ALG_AES' undeclared (first use in >> >> > this function) >> >> > muscleTool.c:3249: error: `MSC_KEYPOLICY_DIR_ANY' undeclared >> (first use >> >> > in this function) >> >> > muscleTool.c:3250: error: structure has no member named >> >> `cipherCipherMode' >> >> > muscleTool.c:3250: error: `MSC_KEYPOLICY_MODE_CIPHER_ANY' undeclared >> >> > (first use in this function) >> >> > muscleTool.c:3251: error: structure has no member named >> >> > `cipherSignatureMode' >> >> > muscleTool.c:3251: error: `MSC_KEYPOLICY_MODE_SIGNATURE_ANY' >> undeclared >> >> > (first use in this function) >> >> > muscleTool.c:3253: error: structure has no member named >> >> `cipherCipherMode' >> >> > muscleTool.c:3254: error: structure has no member named >> >> > `cipherSignatureMode' >> >> > muscleTool.c:3255: error: structure has no member named >> >> `privateKeyFlags' >> >> > muscleTool.c:3256: error: structure has no member named >> >> `publicKeyFlags' >> >> > muscleTool.c: In function `doFormat': >> >> > muscleTool.c:3497: error: `MSC_PIN_POLICY_SIZE' undeclared (first >> >> use in >> >> > this function) >> >> > muscleTool.c:3516: error: `MSC_PIN_POLICY_CHARSET' undeclared (first >> >> use >> >> > in this function) >> >> > muscleTool.c:3522: error: `MSC_PIN_CHARSET_UC_LETTERS' undeclared >> >> (first >> >> > use in this function) >> >> > muscleTool.c:3528: error: `MSC_PIN_CHARSET_LC_LETTERS' undeclared >> >> (first >> >> > use in this function) >> >> > muscleTool.c:3534: error: `MSC_PIN_CHARSET_NUMBERS' undeclared >> (first >> >> > use in this function) >> >> > muscleTool.c:3540: error: `MSC_PIN_CHARSET_OTHERS' undeclared (first >> >> use >> >> > in this function) >> >> > muscleTool.c:3549: error: `MSC_PIN_POLICY_MIXED' undeclared >> (first use >> >> > in this function) >> >> > muscleTool.c:3555: error: `MSC_PIN_MIXED_UC_LETTERS' undeclared >> (first >> >> > use in this function) >> >> > muscleTool.c:3561: error: `MSC_PIN_MIXED_LC_LETTERS' undeclared >> (first >> >> > use in this function) >> >> > muscleTool.c:3567: error: `MSC_PIN_MIXED_NUMBERS' undeclared >> (first use >> >> > in this function) >> >> > muscleTool.c:3573: error: `MSC_PIN_MIXED_OTHER' undeclared (first >> >> use in >> >> > this function) >> >> > muscleTool.c:3706: error: structure has no member named `adminCHV' >> >> > muscleTool.c:3707: error: structure has no member named >> `adminCHVLen' >> >> > muscleTool.c:3709: error: structure has no member named >> >> `adminCHVUnblock' >> >> > muscleTool.c:3710: error: structure has no member named >> >> > `adminCHVUnblockLen' >> >> > muscleTool.c:3724: error: structure has no member named >> `adminCHVTries' >> >> > muscleTool.c:3725: error: structure has no member named >> >> > `adminCHVUnblockTries' >> >> > muscleTool.c:3735: error: structure has no member named >> `pinPolicies' >> >> > muscleTool.c:3736: error: structure has no member named `pinMaxSize' >> >> > muscleTool.c:3737: error: structure has no member named `pinMinSize' >> >> > muscleTool.c:3738: error: structure has no member named `pinCharset' >> >> > muscleTool.c:3739: error: structure has no member named `pinMixType' >> >> > make[2]: *** [muscleTool-muscleTool.o] Error 1 >> >> > make[2]: Leaving directory >> >> > `/usr/local/src/musclecard/muscleTools-svn/trunk/muscleTool' >> >> > make[1]: *** [all-recursive] Error 1 >> >> > make[1]: Leaving directory >> >> > `/usr/local/src/musclecard/muscleTools-svn/trunk/muscleTool' >> >> > make: *** [all] Error 2 >> >> > >> >> > Any id? >> >> > >> >> > Pierre Cassimans >> >> > >> >> >> From: "kammi cazze" <[EMAIL PROTECTED]> >> >> >> Reply-To: MUSCLE <[email protected]> >> >> >> To: [email protected] >> >> >> Subject: [Muscle] muscleTools >> >> >> Date: Thu, 22 Dec 2005 10:14:52 +0000 >> >> >> >> >> >> Hi, >> >> >> >> >> >> i want to use the MuscleTools on a gemXpresso card, but muscleTools >> >> >> segfaults. I'm using the last downloadable version from the project >> >> >> site: 0.9.2. >> >> >> >> >> >> Maybe the svn trunk version would do it better, but i don't know >> how >> >> >> to check out the version. >> >> >> >> >> >> i tried svn co http://svn.debian.org/wsvn/muscleapps/trunk , but >> >> >> without a result. >> >> >> >> >> >> What is the right way to check it out? >> >> >> >> >> >> Regards, >> >> >> >> >> >> Pierre Cassimans >> >> >> >> >> >> >> >> >> _______________________________________________ >> >> >> 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 >> >> _______________________________________________ >> 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
