James Ridgway - Software Engineer

Detect smartcard removal

A couple of weeks ago I wanted to setup one of my machines that runs Kubuntu 15.04 to lock the computer when the smartcard is removed from the reader. After reading through a few other articles on this, I came up with the following solution.