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
When requesting the user's SSH Key with the API (using Terraform script, curl), the response has a newline is appended to the SSH key, which is a bug to me because I have to remove it by hand for the key to work.
Is this new behavior? If not then this is not a bug.
Is it difficult for you to remove the newline using e.g. shell commands? I would consider this a breaking change to force every consumer of this API to now manually add the newline back if necessary for it's intended use case.
Is this new behavior? If not then this is not a bug.
Is it difficult for you to remove the newline using e.g. shell commands? I would consider this a breaking change to force every consumer of this API to now manually add the newline back if necessary for it's intended use case.
I do not know if this is new behavior, but if it is intended, please make sure you put a warning note in the documentation that the API is appending a new line. I understand that it might break things, but adding a new line to a key does not seem right to me because the API's value is the SSH key itself, which should represent the key and not any modified data, which it now does due to the added new line. When using the ssh key, users should expect that it only contains the key not additional characters. Debugging was a pain because it was not documented.
When requesting the user's SSH Key with the API (using Terraform script, curl), the response has a newline is appended to the SSH key, which is a bug to me because I have to remove it by hand for the key to work.
API Endpoint: /api/v2/users/me/gitsshkey
This is a bug, without stripping the newline I cannot add the key to GitLab
The text was updated successfully, but these errors were encountered: