Skip to content

GPG keys with revoked email addresses cannot be verified #2213

@mxmehl

Description

@mxmehl
  • Gitea version (or commit ref): dde0052
  • Git version: 2.1.4
  • Operating system: Debian 8
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant

Description

Users cannot add their GPG keys if it contains a revoked email address/UID. Gitea requires them to verify this email address although it's revoked and possible not accessible anymore.

This bug was reported by a user of git.fsfe.org. His key is 0x8018F380D795A951, and the @fastmail.fm UID is revoked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lgtm/need 2This PR needs two approvals by maintainers to be considered for merging.type/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions