secubox-deb/packages/secubox-auth
CyberMind-FR d0a63d49b5 fix(auth+users): /auth/status → /preflight (avoid route collision); engine TOTP window parameter; postinst chmod for writes (ref #120)
- Rename GET /auth/status → /auth/preflight (public) to stop shadowing the
  JWT-protected legacy /auth/status (dashboard voucher/session counts)
- Engine.verify_totp_for_user gains window parameter; _verify_totp_ntp_aware
  now delegates to the engine (atomic write via _save + audit hook)
- postinst: /etc/secubox 0750→0770, users.json 640→660 (group-write for atomic tempfile+rename)
- Add replay-refusal assertion to test_totp_widened_window_accepts_drifted_code
- Update login.html: loadStatus→loadPreflight, /api/v1/auth/status→/preflight

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 10:55:21 +02:00
..
api 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
debian feat(users): debian deps + postinst migrates + seeds admin + hostname (ref #120) 2026-05-13 09:58:19 +02:00
menu.d Add dynamic menu system with menu.d JSON definitions 2026-03-21 16:42:49 +01: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