Hello GitLab,
I can’t set a SSH key using the API. The returned JSON is {“message”:{“fingerprint”:[“cannot be generated”]}}
I’m running a fresh install of gitlab from docker, and setting the SSH key from Firefox works OK. I get the same API message regardless of whether I attempt to set the key using a root token or a user token.
Here’s a link to some minimal node.js which reproduces the problem:
Edit: The problem was that the public key got mangled when I separated it into parts.