GT-GPG-KEY(1) gitea-cli Manual GT-GPG-KEY(1)

gt-gpg-key - Manage GPG keys

gt gpg-key [flags]

Manage the GPG public keys of your account, which Gitea uses to mark commits and tags that you signed as verified.

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.

-h, --help[=false] help for gpg-key

--debug[=false] Log the method, URL, status, and duration of each HTTP request to stderr

--host="" Gitea instance URL, including any base path

--interactive[=false] Allow prompts with machine output

--no-input[=false] Disable prompts and implicit editor/browser interactions

--sudo="" Perform API requests as this user (requires an administrator account)

--user="" Account name on the selected instance

gt(1), gt-gpg-key-create(1), gt-gpg-key-delete(1), gt-gpg-key-list(1), gt-gpg-key-token(1), gt-gpg-key-verify(1), gt-gpg-key-view(1)

Nov 2026 gitea-cli