go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
44.19k stars 5.42k forks source link

Auto generated GPG signing keys #27360

Open prologic opened 11 months ago

prologic commented 11 months ago

Feature Description

Hey team 👋 Can we please consider adding an Admin UI option to auto-generate a GPG Signing key for the server and just make that a thing? I really don't want to get in there and do this by hand, and honestly don't feel like that's really necessary.

Screenshots

No response

e-desouza commented 11 months ago

In the interim, it would be great to have instructions of how to generate/consume these keys in an unattended environment. There are various instructions online (e.g using --pinentry-mode=loopback) which don't work with gitea and generate errors like Inappropriate ioctl for device, not a tty device etc.