gpg --list-keys

Category: Security & Hardening

gpg --list-keys

List public keys in your keyring

Shows every public key you hold, with the user ID, fingerprint, and creation date of each. These keys let you verify signatures from and encrypt to their owners. Add a key id to show just one, for example gpg --list-keys alice@example.com.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.