gpg-agent has to be restarted after GnuPG SmartCard pulled from reader
gnupg-users.dirk at o.banes.ch
gnupg-users.dirk at o.banes.ch
Fri Jan 6 10:51:26 CET 2017
Hi Kristian,
it is not the reader (USB Device) which is removed. It is the Card in
the reader.
I would not know how to monitor this with udev. Is this possible ?
Best regards
Dirk
On 06.01.2017 10:30, Kristian Fiskerstrand wrote:
On 01/06/2017 10:06 AM, gnupg-users.dirk at o.banes.ch wrote:
> p.s. in the meantime a made a script which tails the scdaemon.log and
> waits for "Removal of a card:"
> and then kills the gpg-agent. Not a proper solution - but working so far.
Why not use udev rule to watch for removal event?
More information about the Gnupg-users
mailing list