- Notifications
You must be signed in to change notification settings - Fork928
Description
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
{"user_id":"REDACTED","created_at":"2024-07-12T18:09:58.597203+02:00","updated_at":"2024-11-27T14:15:10.286881+01:00","public_key":"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOBxIYrqi0vuWEnDlL0UzK4rHP/a/oJwF5mV5vkvZ9Gt\n"}
This is a bug, without stripping the newline I cannot add the key to GitLab