Hi, I am developing a (proprietary) dynamic card driver (Windows). I have the basics setup working, I can load and login. However I am having some troubles with locking (transactions). Any advice is much appreciated.
It appears that the framework calls pcsc_lock before calling my card_select_file/read_binary. That starts a card transaction (SCardBeginTransaction) and locks the card, but I would like to avoid that. I have my own library for communicating with the card, it does secure messaging and what not, so I don't want to re-implement it using OpenSC APIs. At the moment I am ending the transaction before calling my own code, but is using internal APIs, so probably not a very good idea. I've noticed that if I set sc_reader_t.ops.lock/unlock to NULL I could avoid locking but where should I set it? Do I have to implement a reader driver? Or is there a better way to do this? _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel