Files
Pulse/docs/release-control
rcourtman 4bb27b463b Refuse short API tokens at setup and name the host install type (#4435)
Quick setup takes the API token from the caller and makes it a
full-access token, but only checked that it was not empty. A scripted
install following the API reference (example value `token`) sent
`automation` and it was accepted.

- `POST /api/security/quick-setup` now returns `400` for an `apiToken`
shorter than 32 characters, before anything is saved. The setup wizard
sends 48 and is unaffected.
- `POST /api/agent-install-command` names `host` with `pve` and `pbs`
when it refuses an unknown type.
- The API reference explains that `apiToken` is the secret itself,
describes the host token response, and links the scripted first run.

A script that sends a shorter token to quick setup will now get `400`
with the minimum length.
2026-11-15 14:32:18 +00:00
..