Datatypes

OpenPGP key ID

ID pgp_key_id

DatatypeNot PIIidentifierDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

Short identifier of an OpenPGP key, 64 bits written as 16 hexadecimal digits, often after 0x (gpg --keyid-format long): the low-order 64 bits of the fingerprint for version 4 keys and the high-order 64 bits for version 6 keys (RFC 9580). Key IDs can collide; the older 8-digit short key IDs are easy to forge and are not covered.

Categories
Cryptographic identifiers
Countries
Global (not tied to a country)
Languages
Common to most languages
Quality
75/100 · missing: mapping (Wikidata, Schema.org, ...), translation, detector coverage
Metacrafter rules
no detection rule yet
Supported by tools
no tool record lists this type yet

Regular expression

^(?:0x)?[0-9A-Fa-f]{16}$

Python re syntax.

Examples

ValueDescription
8CFDE12197965A9AKey ID of the sample version 4 key of RFC 9580 (the issuer in appendix A.2)
0x8CFDE12197965A9AThe same key ID with the 0x prefix
CB186C4F0609A697Key ID of the sample version 6 key of RFC 9580
97965A9A invalidShort 8-digit key ID

Sources

Use this record