Skip to content

GPG KEY FAILS IF SEC KEY START FROM 0 #10591

Closed
@phyr0s

Description

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

Description

If GPG key starts from 0, gitea doesn't recognize the key. If the key starts from other numbers it works fine, however if key starts from 0 it does not work.

...

Screenshots

Here is the key added in the config options, as you can see start from 0 the key. That key is extracted from --> gpg --list-secret-keys --keyid-format LONG -->

Captura de pantalla 2020-03-03 a las 14 56 05

This is the commit signed, gitea doesn't recognize the key
Captura de pantalla 2020-03-03 a las 15 00 04

I tried same key in GITHUB and GITLAB and woks perfect. It's means that is a bug from gitea

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions