PGP – Public Key – Viewing Metadata

Background

Let us quickly touch on tools we can use to view information in Public keys.

Tools

Outline

  1. OpenPGP
    • GPG4Win
      • GNU Private Assistant
  2. PGP Corporation
    • PGP Command Line
      • PGP

In depth

GPG4Win

GNU Private Assistant

Outline
  1. Load Public key
  2. Select Public Key
  3. View Key Information
Images
Image – Key Manager

KeyManager.20190211.0314PM.PNG

PGP Corporation

PGP Command Line

Outline
Syntax
Syntax – Display Key

pgp.exe --list-packets [keyfile]

Syntax – Display Key – Grep on Key ID

pgp.exe --list-packets [keyfile] | find /I "Key ID"<span id="mce_SELREST_start" style="overflow:hidden;line-height:0;"></span>

Output
>"F:\PGP Corporation\PGP Command Line"\pgp.exe --list-packets Prod_public.asc | find /I "Key ID"
        Key ID - 0xB7587153C4818072
        Sub: issuer key ID(sub 16)(8 bytes)
                Key ID - 0xB7587153C4818072
        Key ID - 0xF91B56A899D9CBEE
                Sub: issuer key ID(sub 16)(8 bytes)
                        Key ID - 0xF91B56A899D9CBEE
        Sub: issuer key ID(sub 16)(8 bytes)
                Key ID - 0xB7587153C4818072
        Key ID - 0x2E9493F0BADB7C37
        Sub: issuer key ID(sub 16)(8 bytes)
                Key ID - 0x2E9493F0BADB7C37
Prod_public.asc:dump packets (0:packets decoded successfully)     Key ID - 0xD7447ADF906B1C98

                Sub: issuer key ID(sub 16)(8 bytes)
                        Key ID - 0xD7447ADF906B1C98
        Sub: issuer key ID(sub 16)(8 bytes)
                Key ID - 0x2E9493F0BADB7C37

>

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s