FG
💻 Software

Getting information from an armored gpg public key file

Fresh5 days ago
Mar 15, 202610727 views
Confidence Score0%
0%

Problem

When given a file with an armored public GnuPG key, i.e. a file ( ) that was created with: What is the best way to get information such as the finger print in that file, without importing it into my keyring? The best way I found so far (and I am not happy with) is: Naturally, I grepped the gpg man …

Error Output

gpg -r 0xDEADBEEF --export --armored > pubkey.gpg

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Getting information from an armored gpg public key file

Low Risk

To print the fingerprint of an on-disk armored key without importing it, just use : Voilà!

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment