Skip to content

v1.6.4

Latest

Choose a tag to compare

@MechanicalCoderX MechanicalCoderX released this 18 Nov 13:53
af69bfe

KTN Enclosure Manager 1.6.4

A security hardening release that follows up the 1.6.3 reviews. No data changes, and nobody is signed out: upgrade or roll back by changing the image tag. One behaviour change to check first: if your KTN_TRUENAS_URL is http:// or ws://, TrueNAS integration is off after the upgrade until you switch it to https:// (see Upgrading in the changelog).

  • TrueNAS API key: the key is no longer sent over http:// or ws://. TrueNAS documents that it revokes a key presented over insecure HTTP, so such a setup very likely had a revoked key already. The reason shows in the "TrueNAS unavailable" notice and on the Diagnostics tab; the drive map, telemetry and Identify keep working. KTN_TRUENAS_ALLOW_INSECURE=true restores the old behaviour.
  • Privileged helper: the root IDENT helper now starts Python isolated (python -I -S), so no .pth, sitecustomize or PYTHON* variable runs at its start. CI now starts the real helper in the built image.
  • Build: the image's Python dependencies install from wheels only. uvicorn[standard] is replaced by uvicorn with uvloop and httptools; PyYAML and watchfiles are gone.
  • Accounts and sign-in: new accounts start at a random session epoch, so deleting users.json and setting up again can no longer bring back sessions that a password change or "Sign out everywhere" had ended. Creating an account under an existing name is refused.
  • Diagnostics: /api/diagnostics shows KTN_TRUENAS_URL as scheme, host and port only, never a path, query or user:password@.
  • Fixes: upper-case URL schemes and URLs with surrounding whitespace are handled.

See CHANGELOG.md and SECURITY.md for details.