The smartcard implementation in rdesktop is very ugly and fixes has been layered upon a bad base. This would create problems for future and we need to rewrite and clean it up, Pierre suggested to reuse some parts of pcsctun. This need further investigation.
See bug #4067 for more information.
*** This bug has been marked as a duplicate of bug 3404 ***