Bug 3572 - tlclient does not recognize hotplugged smart card readers
Summary: tlclient does not recognize hotplugged smart card readers
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Smart card (show other bugs)
Version: 3.0.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.10.0
Assignee: Pierre Ossman
URL:
Keywords: relnotes, samuel_tester
Depends on:
Blocks:
 
Reported: 2010-07-01 12:18 CEST by Peter Åstrand
Modified: 2019-03-04 10:43 CET (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Peter Åstrand cendio 2010-07-01 12:18:24 CEST
If you attach a smart card reader while tlclient is running, this reader won't be usable: tlclient will not find any smart cards in this reader. It is necessary to restart tlclient to use the new reader.
Comment 1 Karl Mikaelsson cendio 2018-09-20 17:25:47 CEST
This makes it much more cumbersome to use Yubikeys with ThinLinc, as they can emulate smart card readers with a built-in card.

See also: bug 7253.
Comment 3 Pierre Ossman cendio 2019-02-28 13:22:56 CET
Fixed now. Only tested on Linux so far.
Comment 4 Pierre Ossman cendio 2019-03-01 14:05:02 CET
It doesn't work on Windows if you remove the last reader and re-insert it.

It turns out that modern Windows stops the smart card service when the last reader is removed. Any application then needs to re-establish the context once a reader is backed.

Upstream OpenSC has already fixed this, but it wasn't in the last stable release. So let's apply their fix.
Comment 6 Pierre Ossman cendio 2019-03-01 15:43:45 CET
Fixed.

Tester should make sure to test both with multiple readers and just one.
Comment 7 Samuel Mannehed cendio 2019-03-04 10:43:29 CET
Works well now, tested build 6057 on both Windows 10 and macOS 10.14.

Tested plugging in smart card readers with a card already inserted, tested with both one reader and two at a time.

Note You need to log in before you can comment on or make changes to this bug.