Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bug: newline append to ssh key #15672

Closed
Closed
Assignees
mtojek
Labels
apiArea: HTTP APIbug riskProne to bugsneed-helpAssign this label prompts an engineer to check the issue. Only humans may set this.
@gjrtimmer

Description

@gjrtimmer

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

Metadata

Metadata

Assignees

Labels

apiArea: HTTP APIbug riskProne to bugsneed-helpAssign this label prompts an engineer to check the issue. Only humans may set this.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp