[Muscle] how to make a token supported?
Karsten Ohme
widerstand at t-online.de
Sat Aug 11 10:31:05 PDT 2007
Bart Trojanowski schrieb:
> * Karsten Ohme <widerstand at t-online.de> [070810 21:45]:
>>> I can talk to the token using PCSC, but when I try to
>>> MSCEstablishConnection() it fails with 'Token is unsupported'.
>>>
>>> I need to authenticate with the token and read some filesystem
>>> records. Is it easier to code up something to use APDUs via
>>> PCSC-lite, or to make MUSCLE talk to the token.
>>>
>>> If the latter, what is required to make the token supported?
>> run bundleTool. There is an xml file somewhere. Should also be in
>> /usr/lib/pcsc/. Maybe it is it. I think the card is already
>> recognized. But you must also install the MuscleCard applet on the
>> Java smart card. See the MuscleCard page.
>
> Karsten,
>
> Thanks for replying.
Have you read completely my previous mail? Do you know how the
MuscleCard system works?
Loot at this:
http://www.musclecard.com/musclecard/index.html
MSCEstablishConnection actually only selects the applet on the smart
card. If the AID of your applet is different then it will fail.
>
> I ran bundleTool and I am presented with two choices (I installed all
> PCSC packages on my Debian system)...
>
> 1. mscMuscleCard.bundle
> 2. slbCryptoflex.bundle
>
> I tried both bundles. Both result in the same result: token is not
> supported. So I gather that I have to use PCSC instead....
What do you want to do with PC/SC?
> or is there
> an easy way to teach muscle how this card works?
This is defined in the CardEdge / Musclecard ... protocol. It is not
necessary to use PC/SC directly if the MCardPlugin and MusceCard do it
for you.
> How does one create a
> new "bundle"?
Use the xml (I think it is mscMuscleCard.bundle) file as a template and
insert a name for your bundle and insert the ATR of your smart card in
this file. But this is only necessary of you are developing a new
MuscleCard plugin for a different smart card.
Regards,
Karsten
>
> -Bart
>
More information about the Muscle
mailing list