FreeRDP-old
FreeRDP-old copied to clipboard
reinserting smartcard
The implementation of smartcard support in Freerdp has the old bug from rdesktop. It is described here: http://sourceforge.net/tracker/?func=detail&aid=2777237&group_id=24366&atid=381347 http://sourceforge.net/tracker/?func=detail&aid=2789331&group_id=24366&atid=381347
Briefly what is happening: If I plug in the USB smartcard (for example, eToken Pro Java), then start xfreerdp, I see PIN code request. If I unplug the smartcard, PIN request disappears and normal user/password form is shown. BUT: if I insert the smartcard again, nothing happens. If I use smartcard reader and separate smartcard, everything works like a charm. When I reinsert smartcard, login dialog changes. Problem only appears with USB smartcards like eToken, where the reader and smartcard is in one body (where the reader is detached at the same time as smartcard).
The first link has some interesting information ... it seems that we need to raise an event on a new device is plugged to force the reconnection.
I can reproduce this in the new codebase, so let's track it here https://github.com/FreeRDP/FreeRDP/issues/153