https://bugs.winehq.org/show_bug.cgi?id=37495
--- Comment #4 from Sebastian Lackner sebastian@fds-team.de --- (In reply to Bruno Jesus from comment #3)
There were many attempts to get wine to support smart cards, I believe the first one was in 2007 by Mounir IDRASSI, a new version was sent in 2008. Then we have Vincent Hardy trying to resent the patches in 2011. I tried too in 2011 by sending [1] but it was ignored due to the fact that its not possible to test in testbot. So we currently have bug 31783 for that.
Ah, I didn't know that you were also working on it. Too bad that upstream Wine has so big restrictions - when not even tests are sufficient it will be impossible to fix that.
We from the Wine Staging team would happily include patches for winscard support - when you have confirmed the correctness of your patches with tests thats even better. As mentioned before, we cannot test them ourself, but at least check for logical correctness. Feel free to send them to us if you're still interested in this functionality.