Page MenuHome GnuPG

Add possibility to execute external command on (smart card) usage
Open, LowPublic


There is the scd-event file in the homedir which allows to execute commands on smart card insertion+unlock or removal.
I found no possibility to execute a command when the smart card is used for decryption, signing...

For example YubiKeys blink with their LED.
It would be nice to for example play a sound when such actions happen.
Maybe not even restricted to smart card usage but in general.

Event Timeline

werner added a subscriber: werner.

A smartcard may do several dozen operations per second and thus spawning a tool each time is not the best option. A generic notification scheme would be better. OTOH, notifications about secret key operations may accidentally create an oracle - which is not good.