gpg --show-keys alice.asc

Category: Security & Hardening

gpg --show-keys alice.asc

Inspect a key file without importing it

Prints the fingerprint, user IDs, and subkeys of the key in alice.asc without adding it to your keyring. This is the safe way to inspect a key before importing it. Import with gpg --import alice.asc when you are satisfied.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.