Harden kiosk shell: hashed password, verified updates, working watchdog #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/kiosk-hardening"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes the findings collected in NOTWENDIGE_AENDERUNGEN.md, plus three
errors that kept the tree from compiling at all.
Security:
that is not a PHC string comes from an older version: it is compared
once and then replaced by its hash, so existing installs keep working.
sends the user to the settings instead, which insist on a password.
SHA256SUMS asset of the same release before self_replace installs it.
create-release.yml publishes that file now. A missing or mismatching
checksum refuses the update and logs why.
Bugs:
FindWindowA was given the executable's file name, but matches against
the window title, so the watchdog never actually raised anything.
so File::create always failed and no update was ever written. The
self-replace dependency was declared but unused.
without a console: shown in the settings window and appended to
winkioskshell.log next to the configuration.
Watchdog:
it with CPU, memory and disk data every second.
that was not on the kill list.
Build:
separately made the second call overwrite the first, leaving
SettingsWindow out of the generated module.
versions on every CI run is what broke the build on whoami 2.
Co-Authored-By: Claude Opus 5 noreply@anthropic.com