| GT-GPG-KEY-VERIFY(1) | gitea-cli Manual | GT-GPG-KEY-VERIFY(1) |
NAME
gt-gpg-key-verify - Verify a GPG key with a signed token
SYNOPSIS
gt gpg-key verify <key-id> [<file>] [flags]
DESCRIPTION
Verify a GPG key that Gitea holds as unverified, so that it is trusted for all of your activated email addresses, not only those it names. Sign the token that gt gpg-key token prints with the key, as an ASCII-armored detached signature, and pass the signature as a file or on stdin. The key is named by its GPG key ID, as gt gpg-key list shows it.
JSON FIELDS
can_certify, can_encrypt_comms, can_encrypt_storage, can_sign, created_at, emails, expires_at, id, key_id, primary_key_id, public_key, subkeys, verified
OPTIONS
--dry-run[=false] Show the write requests gt would send, without sending them
-h, --help[=false] help for verify
OPTIONS INHERITED FROM PARENT COMMANDS
--csv[=""] Output CSV with the specified comma-separated fields, or all fields
--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
-q, --jq="" Filter JSON output using a jq expression; implies --json
--json[=""] Output JSON with the specified comma-separated fields, or all fields
--no-input[=false] Disable prompts and implicit editor/browser interactions
--sudo="" Perform API requests as this user (requires an administrator account)
--template="" Format JSON output using a Go template; implies --json (see gt help formatting)
--user="" Account name on the selected instance
EXAMPLE
$ gt gpg-key token | gpg --armor --detach-sign --default-key 3AA5C34371567BD2 > token.asc $ gt gpg-key verify 3AA5C34371567BD2 token.asc
SEE ALSO
| Nov 2026 | gitea-cli |