• v1.34.0 992b856771

    LDAP WebGUI v1.34.0
    All checks were successful
    Tests / pytest (newest CPython, warning only) (push) Has been skipped
    Tests / Scope (push) Successful in 2s
    Tests / shellcheck (install.sh, update.sh, bootstrap-ldap.sh, webupdate.sh, get_ldap-webgui.sh, setup.sh, config-backup.sh, certtool.sh, accesstool.sh) (push) Successful in 33s
    Tests / pytest (Python 3.13) (push) Successful in 22m2s
    Tests / pytest (Python 3.14) (push) Successful in 23m30s
    Tests / Publish release (push) Successful in 4s
    Stable

    Lyra released this 2026-11-09 19:43:42 +01:00 | 3 commits to main since this release

    Upgrade notes

    • The nginx vhost changes, and the update rolls it out by itself — no
      manual step.
      What nginx does differently afterwards:
      • TLS 1.3 only. Browsers, curl and Zabbix's HTTP agent with
        OpenSSL 1.1.1 or newer connect as before; a poller on an older TLS
        library no longer does (docs/monitoring.md → Troubleshooting).
      • Stricter headers: a Content-Security-Policy without
        'unsafe-inline' and with object-src 'none';
        Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy
        same-origin; a wider Permissions-Policy; X-XSS-Protection is
        no longer sent.
      • Login rate limit in nginx: POST /login and POST /2fa/verify
        at 10 a minute per client address, a burst of 20 — over it nginx
        answers 429 with its own page. Opening the login page is not counted.
      • The app gets Host as nginx's normalised name, and
        X-Forwarded-For holds the client address only.
    • Downgrade to 1.33.0: its update renders 1.33's own vhost. If that
      rollout fails or is skipped (a lock still held, …), the 1.33 web UI
      runs under the new CSP, which blocks its inline scripts — it stays
      broken until sudo ldap-webgui-update --vhost-only.

    Added

    • HSTS, set on the command line only: install.sh --hsts 300|86400|31536000 / --no-hsts, or HSTS and HSTS_MAX_AGE in
      /etc/ldap-webgui/vhost.env plus --vhost-only. Never
      includeSubDomains or preload. Refused while the certificate does
      not verify
      for every server name against this host's trust store
      (self-signed refused even when trusted); an update then renders the
      vhost without HSTS and names the manual step. Settings → Certificates
      shows the state read-only. docs/upgrade-1.33.md, section 9: the
      lockout cases, the way back (browsers keep the policy until max-age
      runs out), the IP-address emergency route.
    • While HSTS is on, a new nginx certificate that does not verify is
      refused
      — by the certificate runner, and for an upload with its key
      already in Settings → Certificates, before the password is asked for.

    Changed

    • The web UI has nothing inline any more — no inline scripts, event
      handlers, <style> blocks or style= attributes — so the CSP needs
      neither 'unsafe-inline' nor hashes. Markdown tables (docs, release
      notes) align with align=.

    Update without git access: download the source tar.gz below, extract it, then run the update.sh it contains:
    sudo bash <extracted-dir>/update.sh --archive <tarball>

    Downloads