Skip to content

Misleading SSH verify error message (the verification does succeed) #34738

Open
@harshitghagre08

Description

@harshitghagre08

Description

  • I am trying to do ssh but I am facing error
  • In the ui of the gita is showing that ssh keys are validate also I can see the ssh authorize_key directory
  • But when I check the logs it is showing that it is not validate

Gitea Version

gitea:1.23.8

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

2025/06/12 05:04:45 ...ey/ssh_key_verify.go:38:VerifySSHKey() [E] Unable to validate token signature. Error: ssh: signature did not verify 2025/06/12 05:04:45 ...eb/routing/logger.go:102:func1() [I] router: completed POST /user/settings/keys for , 303 See Other in 15.5ms @ setting/keys.go:46(setting.KeysPost)

Screenshots

Image

Image

Image

Git Version

No response

Operating System

ubuntu lts 24.0.04

How are you running Gitea?

running it on docker container

Database

PostgreSQL

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions