Question about status codes passed to "scd-event"

Franklin, Jason jason.franklin at quoininc.com
Wed Nov 20 21:17:11 CET 2019


Greetings,

I am trying to use the "scd-event" script to lock the user session when
a YubiKey is removed.

My script seems to work most of the time, but there are some odd edge
cases that creep in.  For example, if the user removes the key after
login but before answering the pinentry prompt, the screen will lock
when the pinentry prompt is answered, but not before.

I think this may have something to do with only checking for the NOCARD
status and not for any particular value of the previous status.

Where can I find more information on the status codes that are passed to
the "scd-event" script?

-- 
Jason Franklin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20191120/ce72bc60/attachment-0001.sig>


More information about the Gnupg-devel mailing list