(bugfix) Improve SSH credential validation feedback

Normalize pasted private keys before validation and detect common SSH
credential mistakes, including public keys pasted into the private key
field and public keys that do not match the supplied private key.

Translate OpenSSH libcrypto parse failures into a clearer user-facing
message and disable browser spellcheck/autocomplete on SSH key fields.

Document the native update flow as git pull followed by the
non-interactive installer so deployments refresh cleanly.
This commit is contained in:
2026-05-19 18:35:39 +02:00
parent 38f946d1c4
commit c7cfb603b0
3 changed files with 91 additions and 8 deletions

View File

@@ -154,9 +154,12 @@ From a fresh checkout or the existing app directory:
```
git pull
sudo scripts/install-systemd --app-dir /opt/pobsync/app
sudo scripts/install-systemd --non-interactive
```
The installer preserves an existing `/etc/pobsync/pobsync.env` unless you pass `--force-env`. It refreshes the installed
app, Python dependencies, migrations, static files, and systemd services.
Then check:
```