More descriptive message when signing key recognised by unverified #9319

Open
opened 2025-11-02 08:35:11 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @tecosaur on GitHub (Aug 2, 2022).

Feature Description

At the moment, Gitea does not distinguish between a signed commit's key being:

  • unknown, and
  • recognised from /user/settings/keys, but unverified

In both cases, "No known key found for this signature in database" is shown.

This can be a little confusing when the key is known, just not verified. See #20597.

This is a minor thing, but it would be a UX improvement if the message was "the signing key used is not verified" (or similar) rather than not known at all.

Screenshots

image

Originally created by @tecosaur on GitHub (Aug 2, 2022). ### Feature Description At the moment, Gitea does not distinguish between a signed commit's key being: - unknown, and - recognised from `/user/settings/keys`, but unverified In both cases, "No known key found for this signature in database" is shown. This can be a little confusing when the key *is* known, just not verified. See #20597. This is a minor thing, but it would be a UX improvement if the message was "the signing key used is not verified" (or similar) rather than not known at all. ### Screenshots ![image](https://user-images.githubusercontent.com/20903656/182272649-47ab949d-1c3b-405c-b8f9-1eae4aea9791.png)
GiteaMirror added the type/proposaltype/feature labels 2025-11-02 08:35:11 -06:00
Author
Owner

@twisted-nematic57 commented on GitHub (Nov 15, 2022):

I also can't verify my key for some unknown reason!! Checked the logs, fails with error <nil>

@twisted-nematic57 commented on GitHub (Nov 15, 2022): I also can't verify my key for some unknown reason!! Checked the logs, fails with error `<nil>`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9319