secubox-deb/packages/secubox-auth
CyberMind-FR 260f0f5d6d fix(auth): ntp_health falls back to timedatectl when chronyc absent (ref #498)
Admin login UI was permanently flagging "Clock not synced" with the
warning "TOTP window widened to ±60s" even when the system clock was
correctly synced. Cause : ntp_health.probe() only knew how to read
chrony, but SecuBox boxes ship systemd-timesyncd by default ; chrony
is the operator-opt-in alternative. On a stock install the probe
caught FileNotFoundError, returned `synced: False`, and the
recommended_totp_window() widened to ±60s on EVERY login.

Added a chrony → timedatectl fallback chain :

  1. Try `chronyc -n tracking` (chrony users).
  2. Fall through to `timedatectl show` reading NTP +
     NTPSynchronized properties (timesyncd users).
  3. Only return the synthetic error if BOTH commands are missing.

The response now carries an extra `source` field
("chrony" / "timedatectl") so the operator can see which backend
answered the probe.
2026-06-08 09:49:51 +02:00
..
api fix(auth): ntp_health falls back to timedatectl when chronyc absent (ref #498) 2026-06-08 09:49:51 +02:00
debian fix(auth): ntp_health falls back to timedatectl when chronyc absent (ref #498) 2026-06-08 09:49:51 +02:00
menu.d feat(navbar): consolidate to 6 charter categories + fix dropped menu entries (closes #306) (#307) 2026-05-21 10:03:05 +02:00
nginx feat: modular nginx config + hub roadmap + new modules 2026-03-21 20:34:01 +01:00
tests fix(auth+users): /auth/status → /preflight (avoid route collision); engine TOTP window parameter; postinst chmod for writes (ref #120) 2026-05-13 10:55:21 +02:00
www feat: Implement 6-Module Design System across all UI components 2026-04-08 18:29:36 +02:00
README.md docs: Add Eye Remote Multigadget skill and wiki 2026-05-10 09:12:42 +02:00

🔐 Auth Guardian

Unified authentication management

Category: Security

Screenshot

Auth Guardian

Features

  • OAuth2
  • LDAP
  • 2FA/TOTP
  • Session management

Installation

# Add SecuBox repository
curl -fsSL https://apt.secubox.in/install.sh | sudo bash

# Install package
sudo apt install secubox-auth

Configuration

Configuration file: /etc/secubox/auth.toml

API Endpoints

  • GET /api/v1/auth/status - Module status
  • GET /api/v1/auth/health - Health check

License

MIT License - CyberMind © 2024-2026