yes, there is i think. Look for the musclecard bundle (/usr/local/pcsc). locate or its derivate can help.
On Tue, Dec 29, 2009 at 9:44 PM, Logan X <[email protected]> wrote: > Hi everyone, > > I think I have found a way to solve my problem... Nevertheless I am pretty > sure it is not the good way : what is my mistake ? > > I modify the file musclecardApplet.c because the APDU for applet was > incomplete... > > <code> > > MSC_RV PL_MSCIdentifyToken( MSCLPTokenConnection pConnection ) { > > MSCLong32 rv; > MSCTransmitBuffer transmitBuffer; > MSCPUChar8 apduResponse; MSCPUChar8 pBuffer; > > pBuffer = transmitBuffer.pBuffer; > apduResponse = transmitBuffer.apduResponse; > > pBuffer[OFFSET_CLA] = 0x00; > pBuffer[OFFSET_INS] = 0xA4; > pBuffer[OFFSET_P1] = 0x04; > pBuffer[OFFSET_P2] = 0x00; > /* to remove */ > /*pBuffer[OFFSET_LC] = pConnection->tokenInfo.tokenAppLen; > > memcpy(&pBuffer[OFFSET_DATA], pConnection->tokenInfo.tokenApp, > pConnection->tokenInfo.tokenAppLen); > > transmitBuffer.bufferSize = 5 + pConnection->tokenInfo.tokenAppLen;//*/ > /* to remove */ > > /* begin pierre */ > pBuffer[OFFSET_LC] = 0x06; > > pConnection->tokenInfo.tokenApp[0] = 0xA0; > pConnection->tokenInfo.tokenApp[1] = 0x00; > pConnection->tokenInfo.tokenApp[2] = 0x00; > pConnection->tokenInfo.tokenApp[3] = 0x00; > pConnection->tokenInfo.tokenApp[4] = 0x01; > pConnection->tokenInfo.tokenApp[5] = 0x01; > memcpy(&pBuffer[OFFSET_DATA], pConnection->tokenInfo.tokenApp, 6); > > transmitBuffer.bufferSize = 5 + 6;//*/ > /* end pierre */ > > /* Set up the APDU exchange */ > transmitBuffer.apduResponseSize = MSC_MAXSIZE_BUFFER; > rv = SCardExchangeAPDU( pConnection, &transmitBuffer ); > > if ( rv != SCARD_S_SUCCESS ) { > return convertPCSC(rv); > } > > </code> > > Please help me ? Is there a configuration file to do that ? > > Thank you > > Pierre > > Le 22 déc. 2009 à 09:04, erbalibera erbalibera a écrit : > > can u post the pcscd apdu log? > > On Mon, Dec 21, 2009 at 10:36 PM, Logan X <[email protected]> wrote: > >> Hello, >> >> My boss bought a few Mobile Security Card 3.1 microSD [Giesecke & >> Devrient] and wants now that i try to use it on our Firefox... Don't ask me >> why, sometimes I can't understand what he wants... ;-) I succeed to put the >> muscle applet on the card but when I try the command : >> muscle > format 1 >> with the muscleTool program, I have the following error : >> ERR: EstablishConnection Failed ! (0x9c52 Token is unsupported) >> Has someone ever succeeded to use this type of card ? Can you help me ? >> >> Thank you, >> >> Pierre >> >> >> _______________________________________________ >> 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
