You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
An instance created with an empty list of SSH keys has none of its profile's keys #133
Since phorge-fr/Hangar#434 an instance that says nothing about its SSH keys takes its profile's, and an instance that says an empty list has none (sshPublicKeys: [] is "no key"). The API writes sshPublicKeys on instance creation only when the list is not empty, so an instance created with [] on a profile that has keys cannot opt out of them; the PATCH of an instance does write [].
Scope
Tell an absent sshPublicKeys from an empty one on the creation of an instance (the decoding and the store), write [] when the person gave it, and keep leaving the field out when it is absent. Say in the OpenAPI and the reference page what each means. Tests with both. Check what the console sends before changing it: a client that always sends [] would then override every profile's keys, so the console must send the field only when the person typed keys.
Done when
An instance created with sshPublicKeys: [] on a profile that has keys has none of them, and one created without the field has the profile's.
Activity
l-nmch commentedon Nov 11, 2026
/time 2h empty SSH keys on instance creation, by a subagent, reviewed, released as 0.15.1 (estimated)