Page MenuHome GnuPG

PC/SC change: monitoring card status changes (possibly also for new reader)
Open, WishlistPublic

Description

I start an experiment at: https://dev.gnupg.org/source/gnupg/repository/gniibe%252Fpcsc-get-status/

It has a thread to monitor card status change (it's just like in-stock CCID driver for card readers with USB INTERRUPT transfer feature).

This change will allow monitoring for new reader/token easily.

Event Timeline

gniibe renamed this task from PC/SC change monitoring card status changes (possibly also for new reader) to PC/SC change: monitoring card status changes (possibly also for new reader).May 13 2021, 6:15 AM
gniibe triaged this task as Wishlist priority.
gniibe created this task.

I am testing with rGccfb5e0a7dc6: scd: Use SCardStatus for pcsc_get_status. on GNU/Linux.

Unfortunately, it seems that current implementation of PC/SC-lite holds lock for context when SCardGetStatusChange is blocked (sleep for waiting external events) inside.