Repository navigation
v1.6.3
KTN Enclosure Manager 1.6.3
A security hardening release, based on an independent deep review. There is nothing to configure and no data changes: upgrade or roll back by changing the image tag. It also moves the runtime to Python 3.15.
- Privileged helper: the root helper no longer follows a symlink or any other substitute planted at its lock file. On earlier versions, a web process that had already been compromised could use that to run code as root inside the container. The image's health check now also starts Python isolated, so a planted
.pthorsitecustomizefile is never executed. - Accounts and sign-in: account changes are now serialised and written atomically, so two first-run setups sent at once can no longer both "succeed", and concurrent changes no longer lose each other. A password change now also ends a session whose sign-in was still in progress when the change landed.
- TrueNAS API key: a startup warning when
KTN_TRUENAS_URLishttp://with an API key set. The key would be sent unencrypted, and TrueNAS documents that it revokes such keys. Usehttps://. - Alerts: new optional
KTN_ALERT_DETAIL=minimalsends only the bay number and condition, with no serial, device or pool names. It is meant for webhooks on a third-party host such as a public ntfy.sh topic. The default,full, is unchanged. - Build: the image's Python libraries now come from a hash-pinned lock, so two builds of one release ship identical libraries, and CI tests that same set. A failed install can no longer produce a "successful" image.
- Fixes: Identify on an enclosure whose SCSI generic device has gone away now returns a clean error instead of an internal error with endless retries. A flaky CI smoke check is fixed.
See CHANGELOG.md and SECURITY.md for details.