The current method for detecting YubiKeys is extremely inelegant and causes high CPU load, as described under: #13
Currently the slot occupation is polled periodically.
A better approach would be to listen to events thrown by the system.
A fellow developer suggested to have a look into udev rules and dbus events as a potential starting point for implementing such event based approach.
Potentially this might also solve: #2
However, implementing such appproahc is currently beyond my understanding of OSes. Hence, such improvement would require help of other contributors more versed in that matters than I am are.
The current method for detecting
YubiKeysis extremely inelegant and causes high CPU load, as described under: #13Currently the slot occupation is polled periodically.
A better approach would be to listen to events thrown by the system.
A fellow developer suggested to have a look into
udev rulesanddbus eventsas a potential starting point for implementing such event based approach.Potentially this might also solve: #2
However, implementing such appproahc is currently beyond my understanding of OSes. Hence, such improvement would require help of other contributors more versed in that matters than I am are.