Karsten Ohme ha scritto:
I have just uploaded some new versions I had here at home. This error
should be gone. Please download everything again. May this version work.
I'll try, thanks.
I have never updated the PKCS#11 module. There will be a lot of
problems. You can try to fix it.
[...]
What is the attached log? I thinks, this happens if the old applet is
used with the new MCardPlugin.
The pcscd log segment on the bottom was repeating forever, while using the P#11 from Firefox. Ok, I had surely a mismatch between the P#11 and MuscleCard I was actually using (later I discovered I had both libmusclecard.so.1 and libmusclecard.so.2 on the system), and on-card Applet. Though, I guess in case of such errors while talking to the card everything should be stopped at a certain point. It's pointless keeping retrying forever... maybe there's some bad loop in libmusclecard.

Now I'm looking deeper into your changes, and I guess most of them should be embedded in the stable branch ASAP, like the capability querying. Maybe some other changes were a little bit too much drastic, like the ACL behavior (from AND- to OR- semantics). Concerning this, let me ask you one question: how many alternative identities do you think may ever need to use the same on-card resource ? I suspect this number is at most equal to 2 for most applications (the user or the card-issuer, right ?). On the other hand, for multiple identities at once you can have user PIN, application key, fingerprint (can't really see cases where you need more than 3 identities at once for accessing a resource). In this case, I would suggest adding an alternate ACL and managing it through separate APDUs,
instead of changing the original APDUs' semantics.

   T.
Regards,

   T.

--
winscard.c:1375:SCardTransmit() Send Protocol: T=0
APDU: 00 A4 04 00 07 A0 00 00 03 23 01 01
T=0 -> 0 a4 4 0 7 a0 0 0 3 23 1 1
Length to send is 7
T=0 <- 6a 82
SW: 6A 82
winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 6
winscard.c:620:SCardDisconnect() Active Contexts: 1
winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 6
winscard.c:123:SCardConnect() Attempting Connect to SCM SCR 301 00 00
using protocol: 3
winscard.c:231:SCardConnect() Active Protocol: T=0
winscard.c:238:SCardConnect() hCard Identity: 1ad09
winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 6
winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 6
winscard.c:1375:SCardTransmit() Send Protocol: T=0
APDU: 00 A4 04 00 07 A0 00 00 03 23 01 01
T=0 -> 0 a4 4 0 7 a0 0 0 3 23 1 1
Length to send is 7
T=0 <- 6a 82
SW: 6A 82



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

Reply via email to