1

The commands gpg --export and gpg --export-secret-keys can be used to export keys in a binary format.

Is there any command available to examine these exported binary key files? I need to see if the exported files contain some extra fields or any other incompatibility problems.

2
gpg --list-packets keyfile.gpg

Even possible as

gpg --export 0x12345678 | gpg --list-packets
gpg --export-secret-keys 0x12345678 | gpg --list-packets

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.