.nh .TH "GT-GPG-KEY" "1" "Nov 2026" "gitea-cli" "gitea-cli Manual" .SH NAME gt-gpg-key - Manage GPG keys .SH SYNOPSIS \fBgt gpg-key [flags]\fP .SH DESCRIPTION Manage the GPG public keys of your account, which Gitea uses to mark commits and tags that you signed as verified. .PP Gitea takes a key that names an activated email address of your account, and trusts it for those addresses. A signed token, see gt gpg-key token, adds a key that names none, and trusts a key for all of your activated addresses: gt gpg-key token prints the token and gt gpg-key verify sends the signature. .SH OPTIONS \fB-h\fP, \fB--help\fP[=false] help for gpg-key .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB--debug\fP[=false] Log the method, URL, status, and duration of each HTTP request to stderr .PP \fB--host\fP="" Gitea instance \fBURL\fR, including any base path .PP \fB--interactive\fP[=false] Allow prompts with machine output .PP \fB--no-input\fP[=false] Disable prompts and implicit editor/browser interactions .PP \fB--sudo\fP="" Perform API requests as this \fBuser\fR (requires an administrator account) .PP \fB--user\fP="" Account \fBname\fR on the selected instance .SH SEE ALSO \fBgt(1)\fP, \fBgt-gpg-key-create(1)\fP, \fBgt-gpg-key-delete(1)\fP, \fBgt-gpg-key-list(1)\fP, \fBgt-gpg-key-token(1)\fP, \fBgt-gpg-key-verify(1)\fP, \fBgt-gpg-key-view(1)\fP