Repository navigation
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://orws://. 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=truerestores the old behaviour. - Privileged helper: the root IDENT helper now starts Python isolated (
python -I -S), so no.pth,sitecustomizeorPYTHON*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 byuvicornwithuvloopandhttptools; PyYAML and watchfiles are gone. - Accounts and sign-in: new accounts start at a random session epoch, so deleting
users.jsonand 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/diagnosticsshowsKTN_TRUENAS_URLas scheme, host and port only, never a path, query oruser:password@. - Fixes: upper-case URL schemes and URLs with surrounding whitespace are handled.
See CHANGELOG.md and SECURITY.md for details.