smartcard polling (performance)
I notice on rhel8 that firefox is unusable with an inserted smartcard:
https://bugzilla.mozilla.org/show_bug.cgi?id=1759158
I tried to isolate the problem and found out, that gsd-smartcard using a polling approach as well.
- rhel8 uses gnome-settings-daemon-3.32, which does insane polling
- I compiled gnome-settings-daemon-40.0, which does less insane polling(1s)
Is it possilbe to do a blocking call?
Why cant SCardGetStatusChange be used?
For every poll I see as well:
- BEGIN TRANSACTION,
- TRANSMIT,
- END TRANSACTION
This should be not necessary, for reader states.
Is it possible to change gsd-smartcard to a blocking interface?
(For an exported pcsc interface like MS-RDPESC every one of these mini TLV packets travels synchronously over the network, this sums up, and at the end its not usable.)
Edited by Martin Vogt