Matthias Barmeier wrote:
> Hi,
> 
> I try to reformat Cyberflex card ready for use with muscle, but I
> encounter some problems.
> When I start the install.sh the first time after the load.sh, from the 
> Muscle Card Applet Loader 0.2.0 package, I always get this message:

No, this only means that on an empty card, the applet cannot be deleted,
 but which is tried, if the card would not be empty (If you load the
applet on the card a second time for some reason.). The error is ignored
and the loading proceeds. The second time the applet was installed, so
the "error" is gone.

> 
> opencard.core.service.CardServiceException:
> opencard.core.service.CardServiceException: Unable to delete AID A0 00
> 00 00 01 01 Response: [EMAIL PROTECTED]
> 0000:  6A 88                                            j.
> 
>         at
> smartcard.OCF.service.CFlexAccessD32Loader.deleteApplication(CFlexAccessD32Loader.java:178)
>         at
> smartcard.OCF.app.LoadCFlexAccess32.install(LoadCFlexAccess32.java:87)
>         at
> smartcard.OCF.app.LoadCFlexAccess32.main(LoadCFlexAccess32.java:222)
> 
> 
> Is this a critical message ?? What can I do avoid this ??
> 
> When I start the install.sh again the message is gone. After running
> setup.sh (no errors) muscleTool
> says that no valid tokens are on the card and xcard tells me that an
> unknown token is on the card.

Strange. If the ATR is correct, the token should be recognized. You can
also use bundleTool to do this. You do not need to add something to the
Towitoko stuff. This file is the only place where the MuscleCard Plug in
is looking for the ATR.

What can cause a problem:

Is the path correct?
Is the ATR correct?
Is the card correct inserted? (Stop pcscd and run "pcscd -f -a -d", if
you insert the card the ATR is shown and some more messages)

Karsten

> 
> I have fixed the entry in
> /usr/lib/pcsc/services/mscMuscleCard.bundle/Contents/Info.plist and ist
> look now
> like this:
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist SYSTEM
> "file://localhost/System/Library/DTDs/PropertyList.dtd">
> <plist version="0.9">
> <dict>
>         <key>CFBundleDevelopmentRegion</key>
>         <string>English</string>
>         <key>CFBundleExecutable</key>
>         <string>mscMuscleCard</string>
>         <key>CFBundleInfoDictionaryVersion</key>
>         <string>6.0</string>
>         <key>CFBundlePackageType</key>
>         <string>BNDL</string>
>         <key>CFBundleSignature</key>
>         <string>????</string>
>         <key>CFBundleVersion</key>
>         <string>0.0.1d1</string>
>         <key>spVendorName</key>
>         <string>MUSCLE</string>
>         <key>spProductName</key>
>         <string>MuscleCard Applet</string>
>         <key>spAtrValue</key>
>         <string>3B751300009C02020102</string>
>         <string>3B759400006202020301</string>
>         <string>3B6500009C02020102</string>
>         <string>3B3B94008065AF030D0174830F9000</string>
>         <string>3F6D000080318065B00501025E83009000</string>
>         <key>spDefaultApplication</key>
>         <string>A00000000101</string>
> </dict>
> </plist>
> 
> Do I have to add the Cyberflex ATR to the towitoko specific plist too ??
> 
> Thanx in advance.
> 
> Ciao
>     Matthias
> 
> _______________________________________________
> Muscle mailing list
> [email protected]
> http://lists.drizzle.com/mailman/listinfo/muscle

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to