Hi, I will be releasing a new version of the framework next - fully tested on other platforms, and which works in a multiple application environment.
Currently, RESET's occur automatically, if application B causes a RESET to occur, MuscleCard will automatically call SCardReconnect. The application may choose to use the functions: MSCIsTokenReset() MSCClearReset() to check if the token was reset, and to clear the state if needed. Token removal will produce an error on all functions. A removed token will force the application to Disconnect and Connect to the token when it becomes available again. In PC/SC you have SCardReconnect, this function makes sense since the reader is static. In MuscleCard, the reader is gone, completely abstracted - if the token is removed, nothing exists - there is no reconnection, just disconnect and connect again. I'm testing MuscleCard in a multi-application environment, where PAM logs me into my system, ssh logs me into remote systems, I can manage my card with XCard, and I can use Netscape to send SMIME email. Each application locks the token momentarily - but all co-exist so the token is not only usable in a single application environment. I'm exploring the idea of creating a MuscleCard Plugin for the OpenSC project. PKCS-15 is quite an important plugin for the architecture and the OpenSC guys have done a great job integrating support for PKCS-15. I'll keep you up to date..... Dave *************************************************************** Unix Smart Card Developers - M.U.S.C.L.E. (Movement for the Use of Smart Cards in a Linux Environment) http://www.linuxnet.com/ To unsubscribe send an email to [EMAIL PROTECTED] with unsubscribe sclinux ***************************************************************
