Skip to content

Detector caching & Arch (v0.1.3) - #27

Merged
vhrabar merged 5 commits into
mainfrom
dev
Jul 23, 2026
Merged

Detector caching & Arch (v0.1.3)#27
vhrabar merged 5 commits into
mainfrom
dev

Conversation

@vhrabar

@vhrabar vhrabar commented Jul 23, 2026

Copy link
Copy Markdown
Owner

This pull request adds official Arch Linux (AUR) packaging for SecureEye, updates the documentation to cover Arch installation and usage, introduces a detector backend cache to improve performance, and makes several minor improvements and bugfixes. The most important changes are grouped below.


Arch Linux packaging and documentation:

  • Added PKGBUILD, .SRCINFO, and secureeye-authd.install files for Arch Linux/AUR, splitting SecureEye into two packages: libpam-secureeye (PAM module) and secureeye-authd (daemon and Python runtime). These handle dependencies, installation, and service setup for both x86_64 and aarch64 architectures. [1] [2] [3]
  • Updated README.md with Arch Linux installation instructions, package details, and PAM configuration steps specific to Arch. [1] [2] [3]

Detector backend performance and reliability:

  • Implemented a thread-safe cache for detector backends in detector_factory.py, so each backend is built only once per configuration, improving performance and avoiding repeated initialization. [1] [2]
  • The daemon (authd/main.py) now warms up (pre-builds and caches) the detector on startup, reducing first authentication latency and logging a warning if warmup fails.

Timeout and deadline handling:

  • Increased the PAM module's client/daemon communication timeout margin for greater reliability, especially on slower systems.
  • Exposed the response margin in the daemon as a constant for clarity and maintainability.

Other improvements:

  • Updated badges in README.md to show Copr build status and removed obsolete workflow badges.
  • Clarified and expanded warnings about running meson install alongside distribution packages to prevent system conflicts.

These changes together make SecureEye easier to install and use on Arch Linux, improve authentication performance, and enhance reliability and documentation.

@vhrabar vhrabar self-assigned this Jul 23, 2026
@vhrabar
vhrabar merged commit 4ac7288 into main Jul 23, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant