Closed jin-qin closed 1 week ago
I tried this, and it worked. One thing is different. In step 3, it is a bash command, how did you execute it in Windows? I adjust it to:
./gpg.exe -a --default-key <key-id>--detach-sig <file-which-contains-token-generated-by-gitea>
Then it will generate a *.asc
file in the same folder, then copy the content, and verify.
ps: once it failed, it seems that the token generated by gitea will be changed, you should update it. ps: I can only download 2.4.5 now, there should (maybe) have no big differences I think.
We close issues that need feedback from the author if there were no new comments for a month. :tea:
Description
To reproduce:
gpg
(downloaded form https://gnupg.org/download/) on windows to generate ECC or RSA GPG key (rungpg --full-generate-key
).Verify
button, runecho "<token-generated-by-gitea>" | gpg -a --default-key <key-id> --detach-sig
The provided GPG key, signature and token do not match or token is out-of-date.
GPG version
Gitea Version
1.22.1
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.25.1
Operating System
Ubuntu 20.04.3
How are you running Gitea?
Through Docker
Database
SQLite