Let scdaemon exit when no reader is available

Werner Koch wk at gnupg.org
Wed Nov 21 10:12:06 CET 2012


On Wed, 21 Nov 2012 02:37, gniibe at fsij.org said:

> Here is a patch which let scdaemon exit when it detects removal of a
> card reader.  It is to discuss the issue of scdaemon keeps polling
> (for insertion) after removal of a card reader.  It is not yet to
> handle card removal.

Thus your patch is a hack which works because gpg-agent will start
scdaemon anyway if it requires it.

We can give it a try for 2.1.  Can you please add a comment in the code,
explaining why it is useful to exit.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-devel mailing list