OpenPGP

Created

  • 2024-01-19

Last Updated

  • 2026-07-02

Available Formats


OpenPGP String-to-Key (S2K) Types

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Available Formats

IDS2K TypeS2K Field Size (Octets)Generate?Reference
0Simple S2K2NoRFC 9580, Section 3.7.1.1
1Salted S2K10Only when string is high entropyRFC 9580, Section 3.7.1.2
2Reserved valueNoRFC 9580
3Iterated and Salted S2K11YesRFC 9580, Section 3.7.1.3
4Argon220YesRFC 9580, Section 3.7.1.4
5-99Unassigned
100-110Private or Experimental UseAs appropriateRFC 9580
111-255Unassigned

OpenPGP Packet Types

Registration Procedure(s)

  • RFC Required

Reference

Available Formats

IDCriticalPacket Type DescriptionShorthandReference
0YesReserved - this Packet Type ID MUST NOT be usedRFC 9580
1YesPublic Key Encrypted Session Key PacketPKESKRFC 9580, Section 5.1
2YesSignature PacketSIGRFC 9580, Section 5.2
3YesSymmetric Key Encrypted Session Key PacketSKESKRFC 9580, Section 5.3
4YesOne-Pass Signature PacketOPSRFC 9580, Section 5.4
5YesSecret Key PacketSECKEYRFC 9580, Section 5.5.1.3
6YesPublic Key PacketPUBKEYRFC 9580, Section 5.5.1.1
7YesSecret Subkey PacketSECSUBKEYRFC 9580, Section 5.5.1.4
8YesCompressed Data PacketCOMPRFC 9580, Section 5.6
9YesSymmetrically Encrypted Data PacketSEDRFC 9580, Section 5.7
10YesMarker PacketMARKERRFC 9580, Section 5.8
11YesLiteral Data PacketLITRFC 9580, Section 5.9
12YesTrust PacketTRUSTRFC 9580, Section 5.10
13YesUser ID PacketUIDRFC 9580, Section 5.11
14YesPublic Subkey PacketPUBSUBKEYRFC 9580, Section 5.5.1.2
15-16Unassigned
17YesUser Attribute PacketUATRFC 9580, Section 5.12
18YesSymmetrically Encrypted and Integrity Protected Data PacketSEIPDRFC 9580, Section 5.13
19YesReserved (formerly Modification Detection Code Packet)RFC 9580, Section 5.13.1
20YesReservedRFC 9580
21YesPadding PacketPADDINGRFC 9580, Section 5.14
22-39YesUnassigned Critical Packets
40-59NoUnassigned Non-Critical Packets
60-63NoPrivate or Experimental UseRFC 9580

OpenPGP User Attribute Subpacket Types

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Available Formats

IDAttribute SubpacketReference
0ReservedRFC 9580
1Image Attribute SubpacketRFC 9580, Section 5.12.1
2-99Unassigned
100-110Private or Experimental UseRFC 9580
111-255Unassigned

OpenPGP Image Attribute Encoding Format

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Available Formats

IDEncodingReference
0ReservedRFC 9580
1JPEG JFIFRFC 9580
2-99Unassigned
100-110Private or Experimental UseRFC 9580
111-255Unassigned

OpenPGP Signature Subpacket Types

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Available Formats

IDDescriptionReference
0ReservedRFC 9580
1ReservedRFC 9580
2Signature Creation TimeRFC 9580, Section 5.2.3.11
3Signature Expiration TimeRFC 9580, Section 5.2.3.18
4Exportable CertificationRFC 9580, Section 5.2.3.19
5Trust SignatureRFC 9580, Section 5.2.3.21
6Regular ExpressionRFC 9580, Section 5.2.3.22
7RevocableRFC 9580, Section 5.2.3.20
8ReservedRFC 9580
9Key Expiration TimeRFC 9580, Section 5.2.3.13
10Placeholder for backward compatibilityRFC 9580
11Preferred Symmetric Ciphers for v1 SEIPDRFC 9580, Section 5.2.3.14
12Revocation Key (deprecated)RFC 9580, Section 5.2.3.23
13-15ReservedRFC 9580
16Issuer Key IDRFC 9580, Section 5.2.3.12
17-19ReservedRFC 9580
20Notation DataRFC 9580, Section 5.2.3.24
21Preferred Hash AlgorithmsRFC 9580, Section 5.2.3.16
22Preferred Compression AlgorithmsRFC 9580, Section 5.2.3.17
23Key Server PreferencesRFC 9580, Section 5.2.3.25
24Preferred Key ServerRFC 9580, Section 5.2.3.26
25Primary User IDRFC 9580, Section 5.2.3.27
26Policy URIRFC 9580, Section 5.2.3.28
27Key FlagsRFC 9580, Section 5.2.3.29
28Signer's User IDRFC 9580, Section 5.2.3.30
29Reason for RevocationRFC 9580, Section 5.2.3.31
30FeaturesRFC 9580, Section 5.2.3.32
31Signature TargetRFC 9580, Section 5.2.3.33
32Embedded SignatureRFC 9580, Section 5.2.3.34
33Issuer FingerprintRFC 9580, Section 5.2.3.35
34ReservedRFC 9580
35Intended Recipient FingerprintRFC 9580, Section 5.2.3.36
37Reserved (Attested Certifications)RFC 9580
38Reserved (Key Block)RFC 9580
39Preferred AEAD CiphersuitesRFC 9580, Section 5.2.3.15
40-99Unassigned
100-110Private or Experimental UseRFC 9580
111-127Unassigned

OpenPGP Key Server Preference Flags

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Note

This is a variable length bit field.

Available Formats

FlagShorthandDefinitionReference
0x80...No-modifyThe keyholder requests that this key only be modified or updated by the keyholder or an administrator of the key server.RFC 9580

OpenPGP Reason for Revocation (Revocation Octet)

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Available Formats

CodeReasonReference
0No reason specified (Key Revocation or Certification Revocation signatures)RFC 9580
1Key is superseded (Key Revocation signatures)RFC 9580
2Key material has been compromised (Key Revocation signatures)RFC 9580
3Key is retired and no longer used (Key Revocation signatures)RFC 9580
4-31Unassigned
32User ID information is no longer valid (Certification Revocation signatures)RFC 9580
33-99Unassigned
100-110Private UseRFC 9580

OpenPGP Features Flags

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Note

This is a variable length bit field.

Available Formats

FeatureDefinitionReference
0x01...Version 1 Symmetrically Encrypted and Integrity Protected Data packetRFC 9580, Section 5.13.1
0x02...ReservedRFC 9580
0x04...ReservedRFC 9580
0x08...Version 2 Symmetrically Encrypted and Integrity Protected Data packetRFC 9580, Section 5.13.2

OpenPGP New Packet Versions (OBSOLETE)

Registration Procedure(s)

  • Registry closed

Reference

Note

Those wishing to use the removed "New Packet Versions" registry should instead register new versions of the relevant packets in the "OpenPGP Key and Signature Versions", "OpenPGP Key IDs and Fingerprints", and "OpenPGP Encrypted Message Packet Versions" registries.

No registrations at this time.

OpenPGP Key Flags

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Note

This is a variable length bit field.

Available Formats

FlagDefinitionReference
0x01...This key may be used to make User ID certifications (Signature Type IDs 0x10-0x13) or Direct Key signatures (Signature Type ID 0x1F) over other keys.RFC 9580
0x02...This key may be used to sign data.RFC 9580
0x04...This key may be used to encrypt communications.RFC 9580
0x08...This key may be used to encrypt storage.RFC 9580
0x10...The private component of this key may have been split by a secret-sharing mechanism.RFC 9580
0x20...This key may be used for authentication.RFC 9580
0x80...The private component of this key may be in the possession of more than one person.RFC 9580
0x0004...Reserved (ADSK)RFC 9580
0x0008...Reserved (timestamping)RFC 9580

OpenPGP Public Key Algorithms

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Note

The field specifications enclosed in square brackets for PKESK Format represent fields that may or may not be present, depending on the PKESK version.

Available Formats

IDAlgorithmPublic Key FormatSecret Key FormatSignature FormatPKESK FormatReference
0ReservedRFC 9580
1RSA (Encrypt or Sign) FIPS186MPI(n), MPI(e) RFC 9580, Section 5.5.5.1MPI(d), MPI(p), MPI(q), MPI(u)MPI(m^d mod n) RFC 9580, Section 5.2.3.1MPI(m^e mod n) RFC 9580, Section 5.1.3RFC 9580
2RSA Encrypt-Only FIPS186MPI(n), MPI(e) RFC 9580, Section 5.5.5.1MPI(d), MPI(p), MPI(q), MPI(u)N/AMPI(m^e mod n) RFC 9580, Section 5.1.3RFC 9580
3RSA Sign-Only FIPS186MPI(n), MPI(e) RFC 9580, Section 5.5.5.1MPI(d), MPI(p), MPI(q), MPI(u)MPI(m^d mod n) RFC 9580, Section 5.2.3.1N/ARFC 9580
4-15Unassigned
16Elgamal (Encrypt-Only) ELGAMALMPI(p), MPI(g), MPI(y) RFC 9580, Section 5.5.5.3MPI(x)N/AMPI(g^k mod p), MPI(m * y^k mod p) RFC 9580, Section 5.1.4RFC 9580
17DSA (Digital Signature Algorithm) FIPS186MPI(p), MPI(q), MPI(g), MPI(y) RFC 9580, Section 5.5.5.2MPI(x)MPI(r), MPI(s) RFC 9580, Section 5.2.3.2N/ARFC 9580
18ECDH public key algorithmOID, MPI(point in curve-specific point format), KDFParams RFC 9580, Section 9.2.1, 5.5.5.6MPI(value in curve-specific format) RFC 9580, Section 9.2.1N/AMPI(point in curve-specific point format), size octet, encoded key RFC 9580, Section 9.2.1, 5.1.5, 11.5RFC 9580
19ECDSA public key algorithm FIPS186OID, MPI(point in SEC1 format) RFC 9580, Section 5.5.5.4MPI(value)MPI(r), MPI(s) RFC 9580, Section 5.2.3.2N/ARFC 9580
20Reserved (formerly Elgamal Encrypt or Sign)RFC 9580
21Reserved for Diffie-Hellman (X9.42, as defined for IETF-S/MIME)RFC 9580
22EdDSALegacy (deprecated)OID, MPI(point in prefixed native format) RFC 9580, Section 11.2.2, 5.5.5.5MPI(value in curve-specific format) RFC 9580, Section 9.2.1MPI, MPI RFC 9580, Section 9.2.1, 5.2.3.3N/ARFC 9580
23Reserved (AEDH)RFC 9580
24Reserved (AEDSA)RFC 9580
25X2551932 octets RFC 9580, Section 5.5.5.732 octetsN/A32 octets, size octet, encoded key RFC 9580, Section 5.1.6RFC 9580
26X44856 octets RFC 9580, Section 5.5.5.856 octetsN/A56 octets, size octet, encoded key RFC 9580, Section 5.1.7RFC 9580
27Ed2551932 octets RFC 9580, Section 5.5.5.932 octets64 octets RFC 9580, Section 5.2.3.4RFC 9580
28Ed44857 octets RFC 9580, Section 5.5.5.1057 octets114 octets RFC 9580, Section 5.2.3.5RFC 9580
29Unassigned
30ML-DSA-65+Ed2551932-octet Ed25519 public key Table 6, 1952-octet ML-DSA-65 public key Table 732-octet Ed25519 secret key Table 6, 32-octet ML-DSA-65 secret key Table 764-octet Ed25519 signature Table 6, 3309-octet ML-DSA-65 signature Table 7N/ARFC 9980, Section 5
31ML-DSA-87+Ed44857-octet Ed448 public key Table 6, 2592-octet ML-DSA-87 public key Table 757-octet Ed448 secret key Table 6, 32-octet ML-DSA-87 secret key Table 7114-octet Ed448 signature Table 6, 4627-octet ML-DSA-87 signature Table 7N/ARFC 9980, Section 5
32SLH-DSA-SHAKE-128s32-octet public key Table 864-octet secret key Table 87856-octet signature Table 8N/ARFC 9980, Section 6.1
33SLH-DSA-SHAKE-128f32-octet public key Table 864-octet secret key Table 817088-octet signature Table 8N/ARFC 9980, Section 6.1
34SLH-DSA-SHAKE-256s64-octet public key Table 8128-octet secret key Table 829792-octet signature Table 8N/ARFC 9980, Section 6.1
35ML-KEM-768+X2551932-octet X25519 public key Table 3, 1184-octet ML-KEM-768 public key Table 432-octet X25519 secret key Table 3, 64-octet ML-KEM-768 secret key Table 4N/A32-octet X25519 ciphertext, 1088-octet ML-KEM-768 ciphertext, 1 octet remaining length, [1-octet algorithm ID in the case of v3 PKESK,] n octets wrapped session key RFC 9980, Section 4.3.1RFC 9980, Section 4
36ML-KEM-1024+X44856-octet X448 public key Table 3, 1568-octet ML-KEM-1024 public key Table 456-octet X448 secret key Table 3, 64-octet ML-KEM-1024 secret key Table 4N/A56-octet X448 ciphertext, 1568-octet ML-KEM-1024 ciphertext, 1 octet remaining length, [1-octet algorithm ID in the case of v3 PKESK,] n octets wrapped session key RFC 9980, Section 4.3.1RFC 9980, Section 4
37-99Unassigned
100-110Private or Experimental Use
111-255Unassigned

OpenPGP Symmetric Key Algorithms

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Note

When registering a new symmetric cipher with a block size of 64 or 128 bits and a key size that is a multiple of 64 bits, no new considerations are needed.

If the new cipher has a different block size, there needs to be additional documentation describing how to use the cipher in CFB mode.

If the new cipher has an unusual key size, then padding needs to be considered for X25519 and X448 key wrapping, which currently needs no padding.

Available Formats

IDAlgorithmReference
0Plaintext or unencrypted dataRFC 9580
1IDEA IDEARFC 9580
2TripleDES (or DES-EDE) SP800-67 with 168-bit key derived from 192RFC 9580
3CAST5 with 128-bit key RFC 2144RFC 9580
4Blowfish with 128-bit key, 16 rounds BLOWFISHRFC 9580
5ReservedRFC 9580
6ReservedRFC 9580
7AES with 128-bit key AESRFC 9580
8AES with 192-bit keyRFC 9580
9AES with 256-bit keyRFC 9580
10Twofish with 256-bit key TWOFISHRFC 9580
11Camellia with 128-bit key RFC 3713RFC 9580
12Camellia with 192-bit keyRFC 9580
13Camellia with 256-bit keyRFC 9580
14-99Unassigned
100-110Private or Experimental UseRFC 9580
111-252Unassigned
253-255Reserved to avoid collision with Secret Key Encryption (see the OpenPGP Secret Key Encryption (S2K Usage Octet) registry and RFC 9580, Section 5.5.3)RFC 9580

OpenPGP Hash Algorithms

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Note

When registering a new hash algorithm, if the algorithm is also to be used with RSA signing schemes, it must also have an entry in the "OpenPGP Hash Algorithm Identifiers for RSA Signatures' use of EMSA-PKCS1-v1_5 Padding" registry.

Available Formats

IDAlgorithmText NameV6 Signature Salt SizeReference
0ReservedRFC 9580
1MD5 RFC 1321"MD5"N/ARFC 9580
2SHA-1 FIPS180"SHA1"N/ARFC 9580
3RIPEMD-160 RIPEMD-160"RIPEMD160"N/ARFC 9580
4-7ReservedRFC 9580
8SHA2-256 FIPS180"SHA256"16RFC 9580
9SHA2-384 FIPS180"SHA384"24RFC 9580
10SHA2-512 FIPS180"SHA512"32RFC 9580
11SHA2-224 FIPS180"SHA224"16RFC 9580
12SHA3-256 FIPS202"SHA3-256"16RFC 9580
13ReservedRFC 9580
14SHA3-512 FIPS202"SHA3-512"32RFC 9580
15-99Unassigned
100-110Private or Experimental UseRFC 9580
111-255Unassigned

OpenPGP Compression Algorithms

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Available Formats

IDAlgorithmReference
0UncompressedRFC 9580
1ZIP RFC 1951RFC 9580
2ZLIB RFC 1950RFC 9580
3BZip2 BZ2RFC 9580
4-99UnassignedRFC 9580
100-110Private or Experimental UseRFC 9580
111-255UnassignedRFC 9580

OpenPGP Secret Key Encryption (S2K Usage Octet)

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Available Formats

S2K Usage OctetShorthandEncryption Parameter FieldsEncryptionGenerate?Reference
0Unprotected-v3 or v4 keys: [cleartext secrets || check(secrets)] v6 keys: [cleartext secrets]YesRFC 9580
Known symmetric cipher algo ID (see RFC 9580, Section 9.3)LegacyCFBIVCFB(MD5(passphrase), secrets || check(secrets))NoRFC 9580
253AEADparams-length (v6-only), cipher-algo, AEAD-mode, S2K-specifier-length (v6-only), S2K-specifier, nonceAEAD(HKDF(S2K(passphrase), info), secrets, packetprefix)YesRFC 9580
254CFBparams-length (v6-only), cipher-algo, S2K-specifier-length (v6-only), S2K-specifier, IVCFB(S2K(passphrase), secrets || SHA1(secrets))YesRFC 9580
255MalleableCFBcipher-algo, S2K-specifier, IVCFB(S2K(passphrase), secrets || check(secrets))NoRFC 9580

OpenPGP Signature Types

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Available Formats

IDNameReference
0x00Binary SignatureRFC 9580, Section 5.2.1.1
0x01Text SignatureRFC 9580, Section 5.2.1.2
0x02Standalone SignatureRFC 9580, Section 5.2.1.3
0x03-0x0FUnassigned
0x10Generic Certification SignatureRFC 9580, Section 5.2.1.4
0x11Persona Certification SignatureRFC 9580, Section 5.2.1.5
0x12Casual Certification SignatureRFC 9580, Section 5.2.1.6
0x13Positive Certification SignatureRFC 9580, Section 5.2.1.7
0x14-0x17Unassigned
0x18Subkey Binding SignatureRFC 9580, Section 5.2.1.8
0x19Primary Key Binding SignatureRFC 9580, Section 5.2.1.9
0x1A-0x1EUnassigned
0x1FDirect Key SignatureRFC 9580, Section 5.2.1.10
0x20Key Revocation SignatureRFC 9580, Section 5.2.1.11
0x21-0x27Unassigned
0x28Subkey Revocation SignatureRFC 9580, Section 5.2.1.12
0x29-0x2FUnassigned
0x30Certification Revocation SignatureRFC 9580, Section 5.2.1.13
0x31-0x3FUnassigned
0x40Timestamp SignatureRFC 9580, Section 5.2.1.14
0x41-0x4FUnassigned
0x50Third-Party Confirmation SignatureRFC 9580, Section 5.2.1.15
0x51-0xFEUnassigned
0xFFReservedRFC 9580, Section 5.2.1.16

OpenPGP Signature Notation Data Subpacket Notation Flags

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Available Formats

Flag PositionShorthandDescriptionReference
0x80000000 (first bit of the first octet)human-readableNotation value is UTF-8 textRFC 9580

OpenPGP Signature Notation Data Subpacket Types

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Note

Notation names are arbitrary Unicode strings encoded in UTF-8. They reside in two namespaces: the IETF namespace and the user namespace.

This registry documents the IETF namespace. The names in this registry MUST NOT contain the "@" character (0x40), since the presence of that character indicates the user namespace.

Notation NameData TypeAllowed ValuesReference
No registrations at this time.

OpenPGP Key IDs and Fingerprints

Registration Procedure(s)

  • RFC Required

Reference

Note

When a new key version is defined, the "OpenPGP Key and Signature Versions" registry should also be updated.

Available Formats

Key VersionFingerprintFingerprint Length (Bits)Key IDReference
3MD5(MPIs without length octets)128low 64 bits of RSA modulusRFC 9580, Section 5.5.4.1
4SHA1(normalized pubkey packet)160last 64 bits of fingerprintRFC 9580, Section 5.5.4.2
6SHA256(normalized pubkey packet)256first 64 bits of fingerprintRFC 9580, Section 5.5.4.3

OpenPGP Image Attribute Versions

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Available Formats

VersionReference
1RFC 9580, Section 5.12.1

OpenPGP Armor Header Lines

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Available Formats

Armor HeaderUseReference
BEGIN PGP MESSAGEUsed for signed, encrypted, or compressed files.RFC 9580
BEGIN PGP PUBLIC KEY BLOCKUsed for armoring public keys.RFC 9580
BEGIN PGP PRIVATE KEY BLOCKUsed for armoring private keys.RFC 9580
BEGIN PGP SIGNATUREUsed for detached signatures, OpenPGP/MIME signatures, and cleartext signatures.RFC 9580

OpenPGP Armor Header Keys

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Available Formats

KeySummaryReference
VersionImplementation informationRFC 9580, Section 6.2.2.1
CommentArbitrary textRFC 9580, Section 6.2.2.2
HashHash algorithms used in some v4 cleartext signed messagesRFC 9580, Section 6.2.2.3
CharsetCharacter setRFC 9580, Section 6.2.2.4

OpenPGP ECC Curve OIDs and Usage

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Note

When a new elliptic curve is registered for use with OpenPGP, it should also be added to the "OpenPGP ECC Curve-specific Wire Formats" registry. If it is used for ECDH, also add it to the "OpenPGP ECDH KDF and KEK Parameters" registry.

Available Formats

ASN.1 Object IdentifierOID LenCurve OID OctetsCurve NameUsageField Size (fsize)Reference
1.2.840.10045.3.1.782A 86 48 CE 3D 03 01 07NIST P-256ECDSA, ECDH32RFC 9580
1.3.132.0.3452B 81 04 00 22NIST P-384ECDSA, ECDH48RFC 9580
1.3.132.0.3552B 81 04 00 23NIST P-521ECDSA, ECDH66RFC 9580
1.3.36.3.3.2.8.1.1.792B 24 03 03 02 08 01 01 07brainpoolP256r1ECDSA, ECDH32RFC 9580
1.3.36.3.3.2.8.1.1.1192B 24 03 03 02 08 01 01 0BbrainpoolP384r1ECDSA, ECDH48RFC 9580
1.3.36.3.3.2.8.1.1.1392B 24 03 03 02 08 01 01 0DbrainpoolP512r1ECDSA, ECDH64RFC 9580
1.3.6.1.4.1.11591.15.192B 06 01 04 01 DA 47 0F 01Ed25519LegacyEdDSALegacy32RFC 9580
1.3.6.1.4.1.3029.1.5.1102B 06 01 04 01 97 55 01 05 01Curve25519LegacyECDH32RFC 9580

OpenPGP ECC Curve-Specific Wire Formats

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Available Formats

CurveECDH Point FormatECDH Secret Key MPIEdDSA Secret Key MPIEdDSA Signature first MPIEdDSA Signature second MPIReference
NIST P-256SEC1integerN/AN/AN/ARFC 9580
NIST P-384SEC1integerN/AN/AN/ARFC 9580
NIST P-521SEC1integerN/AN/AN/ARFC 9580
brainpoolP256r1SEC1integerN/AN/AN/ARFC 9580
brainpoolP384r1SEC1integerN/AN/AN/ARFC 9580
brainpoolP512r1SEC1integerN/AN/AN/ARFC 9580
Ed25519LegacyN/AN/A32 octets of secret32 octets of R32 octets of SRFC 9580
Curve25519Legacyprefixed nativeinteger RFC 9580, Section 5.5.5.6.1.1N/AN/AN/ARFC 9580

OpenPGP Hash Algorithm Identifiers for RSA Signatures' Use of EMSA-PKCS1-v1_5 Padding

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Available Formats

Hash AlgorithmOIDFull Hash PrefixReference
MD51.2.840.113549.2.50x30, 0x20, 0x30, 0x0C, 0x06, 0x08, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x02, 0x05, 0x05, 0x00, 0x04, 0x10RFC 9580
SHA-11.3.14.3.2.260x30, 0x21, 0x30, 0x09, 0x06, 0x05, 0x2B, 0x0E, 0x03, 0x02, 0x1A, 0x05, 0x00, 0x04, 0x14RFC 9580
RIPEMD-1601.3.36.3.2.10x30, 0x21, 0x30, 0x09, 0x06, 0x05, 0x2B, 0x24, 0x03, 0x02, 0x01, 0x05, 0x00, 0x04, 0x14RFC 9580
SHA2-2562.16.840.1.101.3.4.2.10x30, 0x31, 0x30, 0x0D, 0x06, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x05, 0x00, 0x04, 0x20RFC 9580
SHA2-3842.16.840.1.101.3.4.2.20x30, 0x41, 0x30, 0x0D, 0x06, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x02, 0x05, 0x00, 0x04, 0x30RFC 9580
SHA2-5122.16.840.1.101.3.4.2.30x30, 0x51, 0x30, 0x0D, 0x06, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x03, 0x05, 0x00, 0x04, 0x40RFC 9580
SHA2-2242.16.840.1.101.3.4.2.40x30, 0x2D, 0x30, 0x0D, 0x06, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x04, 0x05, 0x00, 0x04, 0x1CRFC 9580
SHA3-2562.16.840.1.101.3.4.2.80x30, 0x31, 0x30, 0x0D, 0x06, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x08, 0x05, 0x00, 0x04, 0x20RFC 9580
SHA3-5122.16.840.1.101.3.4.2.100x30, 0x51, 0x30, 0x0D, 0x06, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x0a, 0x05, 0x00, 0x04, 0x40RFC 9580

OpenPGP AEAD Algorithms

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Available Formats

IDNameNonce Length (Octets)Authentication Tag Length (Octets)Reference
0ReservedRFC 9580
1EAX EAX1616RFC 9580
2OCB RFC 72531516RFC 9580
3GCM SP800-38D1216RFC 9580
4-99Unassigned
100-110Private or Experimental UseRFC 9580
111-255Unassigned

OpenPGP Encrypted Message Packet Versions

Registration Procedure(s)

  • RFC Required

Reference

Note

When a new version of SEIPD, PKESK, or SKESK are defined, consider also adding a corresponding flag to the "OpenPGP Features Flags" registry.

Available Formats

Version of Encrypted Data PayloadVersion of Preceding Symmetric Key ESK (If Any)Version of Preceding Public Key ESK (If Any)Generate?Reference
SED RFC 9580, Section 5.7-v2 PKESK RFC 2440NoRFC 9580
SED RFC 9580, Section 5.7v4 SKESK RFC 9580, Section 5.3.1v3 PKESK RFC 9580, Section 5.1.1NoRFC 9580
v1 SEIPD RFC 9580, Section 5.13.1v4 SKESK RFC 9580, Section 5.3.1v3 PKESK RFC 9580, Section 5.1.1YesRFC 9580
v2 SEIPD RFC 9580, Section 5.13.2v6 SKESK RFC 9580, Section 5.3.2v6 PKESK RFC 9580, Section 5.1.2YesRFC 9580

OpenPGP Key and Signature Versions

Registration Procedure(s)

  • RFC Required

Reference

Note

When a new key version is defined, the "OpenPGP Key IDs and Fingerprints" registry should also be updated.

Available Formats


OpenPGP Elliptic Curve Point Wire Formats

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Available Formats

NameWire FormatReference
SEC10x04 || x || yRFC 9580, Section 11.2.1
Prefixed native0x40 || nativeRFC 9580, Section 11.2.2

OpenPGP Elliptic Curve Scalar Encodings

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Available Formats

TypeDescriptionReference
integerAn integer encoded in big-endian format as a standard OpenPGP MPIRFC 9580, Section 3.2
octet stringAn octet string of fixed length that may be shorter on the wire due to leading zeros being stripped by the MPI encoding and may need to be zero-padded before useRFC 9580, Section 11.3.1
prefixed N octetsAn octet string of fixed length N, prefixed with octet 0x40 to ensure no leading zero octetRFC 9580, Section 11.3.2

OpenPGP ECDH KDF and KEK Parameters

Registration Procedure(s)

  • Specification Required

Expert(s)

  • Daniel Kahn Gillmor, Andrew Gallagher, Heiko Schäfer

Reference

Available Formats

CurveHash AlgorithmSymmetric AlgorithmReference
NIST P-256SHA2-256AES-128RFC 9580
NIST P-384SHA2-384AES-192RFC 9580
NIST P-521SHA2-512AES-256RFC 9580
brainpoolP256r1SHA2-256AES-128RFC 9580
brainpoolP384r1SHA2-384AES-192RFC 9580
brainpoolP512r1SHA2-512AES-256RFC 9580
Curve25519LegacySHA2-256AES-128RFC 9580