The "add SSH key" modal had no name field — keys appeared only by comment + fingerprint, so additional keys weren't tellable apart. Add a name field; the name becomes the key's OpenSSH comment (what the server list shows), for both generated and pasted keys. Sanitised (control chars stripped, whitespace collapsed, capped at 64 chars) so a crafted name cannot inject a second authorized_keys line — proven by test, on top of addAuthorizedKey()'s own whitespace-collapse + base64 encoding. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| css | ||
| fonts | ||
| js | ||
| views | ||