Datatypes

OpenPGP key fingerprint

ID pgp_fingerprint

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).

Fingerprint of an OpenPGP key: 40 hexadecimal digits (SHA-1) for version 4 keys and 64 hexadecimal digits (SHA-256) for version 6 keys of RFC 9580. GnuPG prints a version 4 fingerprint as ten groups of four digits with a double space in the middle. Without spaces a version 4 fingerprint looks like a plain SHA-1 hash: use the field name or context.

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

^(?:[0-9A-Fa-f]{40}|[0-9A-Fa-f]{64}|[0-9A-Fa-f]{4}(?: {1,2}[0-9A-Fa-f]{4}){9})$

Python re syntax.

Examples

ValueDescription
C959 BDBA FA32 A2F8 9A15 3B67 8CFD E121 9796 5A9ASample version 4 key of RFC 9580, appendix A.1, as GnuPG prints it
C959BDBAFA32A2F89A153B678CFDE12197965A9AThe same fingerprint without spaces
CB186C4F0609A697E4D52DFA6C722B0C1F1E27C18A56708F6525EC27BAD9ACC9Sample version 6 key of RFC 9580, appendix A.3
8CFDE12197965A9A invalidKey ID of the version 4 sample key

Sources

Use this record