hub + installer (unreleased): fixes after an independent review of the night's code — per-thing mail cooldown, a box's input bounded and checked, both off-site account types on a reset, a quiet first run, strict-mode installer

Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
admin committed 2026-11-14 19:08:55 +01:00
1 parent a044eb8c16
commit f618c591eb
31 files changed
+796 -88

No files matched your search

+6
View File
@@ -1,5 +1,11 @@
## Unreleased (2026-11-14 night) — the installer: a new box trusts Proxmox by a copy of its own root CA (R-1380, D80) — on `main`, NOT tagged, so NOT published
- **Installer, after review (2026-11-14, not tagged):** `resolve_pve_trust` under `set -euo pipefail` — the installer's
own mode. A failed pipeline inside `fp=$(…)` ended the whole installer when Proxmox did not answer; now it leaves
the fingerprint empty and goes on (test `test_pve_trust_no_answer_from_proxmox_does_not_end_the_installer`, seen
red). The proof reads openssl's answer whole and searches it after, in place of a pipe into `grep -q` (reasoned by
the reviewer as a way to read a good copy as „not verified”; NOT reproduced). The trust tests now run the function
under strict mode.
- `felhom-host-install.sh` `resolve_pve_trust` (new, called by `step_agent_config`): copy `/etc/pve/pve-root-ca.pem` to
`/etc/felhom-agent/pve-root-ca.pem` when it is one unexpired CA certificate; prove a TLS handshake to
`127.0.0.1:8006` with the copy alone; then write `proxmox.tls.ca_file` and NO fingerprint. Anything else: the served