Skip to content

Enhancement: Event based architecture #14

@pykong

Description

@pykong

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions