As you said, there is a problem with this version of BELPIC.tokend:
due to an incorrect call during the probing phase, an exclusive lock
is set on the card from the moment the card is inserted.
I filed a bug report for this error (ID 7343359). We created a
modified version of BELPIC.tokend that will be included in the next
version of the Belgium eID Middleware. Download and installation
instructions of the fixed tokend module::
http://code.google.com/p/eid-mw/source/detail?r=65 for the changes we
made to v36720.
Koen De Causmaecker
Fedict (Federal Belgian Government)
2009/11/23 Benoît Allard <email@hidden>:
> Hi there.
> We'are experimenting some trouble due to (we guess) the version 36720 of
> BELPIC.tokend. Our troubles are mainly represented by a
> SCARD_E_SHARING_VIOLATION, or SCARD_W_RESET_CARD.
> We are developing smartcard middleware, are we are seing those error return
> values when we insert a card in a reader. This was not the case with
> previous version (35209: shipped with Leopard) of the BELPIC tokend, and
> disabling it (simply renaming into BELPIC.tokend-disabled) restores the
> behavior we used to have.
> What seems to occur is that the tokend, when probing the inserted smartcard
> is communicating with it using an exclusive connection
> (SCARD_SHARE_EXCLUSIVE). At this point, we are simply wondering about the
> utility of such a connection as it's just about /probing/ the card. I guess
> no one is used to modify the internal state of the card, where it would make
> sense to request a exclusive connection, at probing stage.
> For now, we are systematically disabling BELPIC.tokend during the
> installation of our middleware.
> Do you have any idea of what is causing our trouble, and is there any way to
> have a working situation with both BELPIC and our middleware ?
> Best Regards,
> Benoīt Allard
> Do not post admin requests to the list. They will be ignored.
> Apple-cdsa mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> This email sent to email@hidden
Koen De Causmaecker
+32 476 522 465
Do not post admin requests to the list. They will be ignored.
Apple-cdsa mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden