| Internet-Draft | Post-Quantum CMP Algorithms | December 2026 |
| Liu, et al. | Expires 4 June 2027 | [Page] |
This document updates RFC 9481 by specifying post-quantum algorithm conventions and an opt-in algorithm profile for the Certificate Management Protocol (CMP). It specifies the use of ML-DSA and pure SLH-DSA for CMP signatures, ML-KEM for existing CMP key encapsulation mechanisms, and a certificate-confirmation hash mapping for these signature algorithms. It provides concrete algorithm combinations for message protection, proof of possession, and encrypted delivery using the mechanisms already defined in RFC 9810.¶
The profile reuses existing algorithm identifiers, certificate formats, and CMS recipient structures. It introduces no new CMP messages, ASN.1 types, or algorithm identifiers. Its implementation requirements apply to implementations claiming conformance to this profile; it does not replace the algorithm requirements of RFC 9481 for other CMP deployments.¶
This note is to be removed before publishing as an RFC.¶
This is an individual contribution for discussion in the Limited Additional Mechanisms for PKIX and SMIME (LAMPS) Working Group. It has not been adopted by the working group. The algorithm baseline and certificate-confirmation mapping in this revision are proposals for review, not requirements of an existing IETF standard.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 4 June 2027.¶
Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
The Certificate Management Protocol (CMP) [RFC9810] supports the enrollment and lifecycle management of X.509 certificates. CMP Algorithms [RFC9481] specifies algorithms and algorithm-use profiles for message protection, key management, content encryption, and related operations. Its public-key algorithm descriptions predate the standardization of ML-DSA, SLH-DSA, and ML-KEM.¶
CMP already provides the protocol mechanisms needed to manage post-quantum keys. In particular, [RFC9810] supports KEM certificates, KEM-based message protection, KEM proof of possession (POP), and CMS EnvelopedData containing a KEMRecipientInfo [RFC9629]. The remaining problem addressed here is selecting and encoding concrete algorithms consistently at these existing interfaces.¶
For example, two CMP implementations can both support ML-DSA and ML-KEM but disagree about the digest used in certConf, the KDF used for KEM-based message protection, or the key-wrapping algorithm used for an encrypted certificate. A common profile permits these choices to be configured and tested together. It also distinguishes a request for a post-quantum certificate from a management operation whose own authentication and confidentiality satisfy post-quantum policy.¶
This document specifies pure ML-DSA and pure SLH-DSA signatures over the existing CMP signature inputs. It specifies ML-KEM parameters for existing CMS and CMP mechanisms, defines a certificate-confirmation hash mapping, and establishes a mandatory-to-implement baseline for implementations choosing this profile. Existing public-key and signature encodings are taken from [RFC9881], [RFC9909], and [RFC9935].¶
The key words MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, NOT RECOMMENDED, MAY, and OPTIONAL in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals.¶
DER(X) denotes the Distinguished Encoding Rules encoding of ASN.1 value X. empty denotes a zero-length octet string. Lengths supplied to HKDF, and the len and kekLength fields discussed below, are in octets. BIT STRING signature and MAC values have zero unused bits. An AlgorithmIdentifier with absent parameters is different from one containing an ASN.1 NULL value.¶
This document updates [RFC9481] by adding the conventions in Section 4, Section 5, Section 6, and Section 7, and the opt-in profile in Section 8. The precise update boundaries are collected in Section 10.¶
The profile is for CMP implementations using [RFC9810]. A management operation conforming to this profile MUST use pvno cmp2021(3) from its initial request. Version fallback MUST NOT remove this requirement while the implementation continues to claim that the operation conforms to this profile.¶
This document does not define initial device ownership, establish a new trust anchor, prescribe a certificate issuance policy, or authorize a peer merely because its signature verifies. Such decisions remain subject to the authentication and authorization requirements of CMP and the deployment.¶
The algorithm profile can inform deployments using the Lightweight CMP Profile [RFC9483], but does not update that document. In particular, RFC 9483 describes three key-management techniques for centrally generated private-key delivery; this document does not add a fourth technique to those procedures. A deployment using KEM delivery under RFC 9810 needs to describe that extension explicitly and cannot infer unmodified RFC 9483 conformance from this document.¶
Composite signatures [RFC10073] [RFC10082] and other hybrid migration mechanisms are outside the base profile. They can be selected by separate deployment profiles using their defining specifications. This document does not define a combiner, concatenate independent signatures, or combine KEM secrets.¶
ML-DSA is specified in [FIPS204]. Its identifiers and PKIX encodings are specified in [RFC9881]. ML-DSA-44, ML-DSA-65, and ML-DSA-87 MAY be used for CMP signatures, subject to authorized policy. The base profile requires ML-DSA-65.¶
The signature AlgorithmIdentifier MUST contain the identifier for the actual parameter set, with parameters absent. An implementation MUST NOT encode an ASN.1 NULL parameter or carry a parameter-set selector in the parameters field. Public keys and certificates MUST use the encodings specified in RFC 9881.¶
CMP signatures under this document MUST use pure ML-DSA with an empty context string. HashML-DSA is not specified here. An implementation MUST NOT replace the defined message input with an externally computed digest and then invoke pure ML-DSA on that digest. An implementation using the equivalent external-mu interface described in Appendix D of RFC 9881 MUST produce and verify exactly the same pure-mode signature semantics, including the empty context.¶
SLH-DSA is specified in [FIPS205]. The pure-mode identifiers, key encodings, and signature encodings are specified in [RFC9909]. Any of the twelve pure SLH-DSA parameter sets MAY be used for CMP signatures when explicitly permitted by authorized policy. Support for SLH-DSA is optional and does not replace the ML-DSA-65 implementation requirement of the base profile.¶
The signature AlgorithmIdentifier MUST identify the actual pure SLH-DSA parameter set and have absent parameters. CMP signatures under this document MUST use an empty context string. HashSLH-DSA, although specified for PKIX in RFC 9909, is outside the CMP message-signature and POP conventions defined here.¶
Implementations MUST NOT infer support for a pure-mode signature identifier from support for a pre-hash identifier, or the reverse. They also MUST NOT substitute another parameter set with a similar name. Operators need to account for the substantial differences in signature size and execution cost between SLH-DSA parameter sets.¶
For signature-based CMP message protection, the input to pure ML-DSA or pure SLH-DSA MUST be DER(ProtectedPart), as specified in Section 5.1.3 of [RFC9810]. The signature AlgorithmIdentifier is carried in PKIHeader.protectionAlg. The raw signature octets MUST be placed directly in PKIMessage.protection, with no additional OCTET STRING or SEQUENCE wrapper.¶
For signing-key POP, the input MUST be the DER encoding selected by the POPOSigningKey rules of Section 4.1 of CRMF [RFC4211] and Section 5.2.8.2 of RFC 9810. For the ordinary CertTemplate case, this is CertRequest or POPOSigningKeyInput, as those rules require. An implementation supporting alternative templates MUST also follow RFC 9810's corresponding AltCertTemplate input rules. The raw signature MUST be encoded directly in POPOSigningKey.signature using the matching algorithm identifier and empty signature context.¶
The protection key authenticating a management operation and the newly generated key for which POP is provided are separate roles. Successful message protection MUST NOT be treated as POP for a different requested key. An RA asserting that it verified POP remains subject to the existing CMP and CRMF authorization requirements; this document grants no additional authority to make that assertion.¶
When CMS SignedData is used within CMP, including a signed private-key package, ML-DSA MUST follow [RFC9882] and pure SLH-DSA MUST follow [RFC9814]. The CMP ProtectedPart convention is not a replacement for the CMS signed-content and signed-attribute conventions.¶
The base profile uses ML-DSA-65 and SHA-512 for CMS SignedData. A sender in this profile MUST include signed attributes, including at least content-type and message-digest, and MUST follow the algorithm-protection requirements of [RFC8933]. The message-digest is a SHA-512 digest of the CMS content. The pure ML-DSA signature is computed over the DER encoding of SignedAttrs as specified in RFC 9882, using the SET OF tag required by CMS. It is not a HashML-DSA signature over the message-digest attribute value.¶
For other permitted ML-DSA or pure SLH-DSA parameter sets, the CMS digest algorithm MUST satisfy the corresponding algorithm specification. CMS signer authorization, certificate validation, and validation of all required signed attributes MUST be performed before a delivered private key is accepted.¶
Section 5.3.18 of [RFC9810] permits a hash algorithm to be specified for hashing certificates signed with a particular signature algorithm. Pure ML-DSA and pure SLH-DSA do not expose a unique external message-digest algorithm through their signature identifiers. This section supplies a mapping for the algorithms covered by this document.¶
For a certificate whose outer signatureAlgorithm identifies any of ML-DSA-44, ML-DSA-65, ML-DSA-87, or any of the twelve pure SLH-DSA parameter sets in RFC 9909, the certConf certHash MUST be calculated as:¶
certHash = SHA-512(DER(Certificate))¶
The input is the complete certificate, including its signatureAlgorithm and signatureValue. It is not just TBSCertificate, SubjectPublicKeyInfo, or the public key. The resulting certHash has 64 octets. The choice depends on the certificate's signature algorithm, not on its subject-public-key algorithm or the protection algorithm of the certConf message. For example, an ML-KEM certificate signed with ML-DSA-65 uses this mapping.¶
When this mapping applies, the sender SHOULD omit CertStatus.hashAlg, since the hash is specified by this document. If hashAlg is present, it MUST identify SHA-512. Receivers conforming to this profile MUST support both an absent hashAlg and an explicit SHA-512 hashAlg. Generation and acceptance of SHA-512 AlgorithmIdentifier parameters MUST follow [RFC5754]: senders omit parameters and receivers accept absent or NULL parameters.¶
This mapping does not apply to HashSLH-DSA or other signature algorithms. For a certificate signed with an algorithm outside the mapping, the hash selection and any explicit hashAlg MUST follow Section 5.3.18 of RFC 9810 and the applicable algorithm specification. An implementation MUST NOT guess a hash from the subject key, trial several hashes until one matches, or silently accept a different certHash length.¶
A certConf sender MUST calculate certHash over the certificate it actually accepts. The usual checks of certReqId, transaction state, certificate contents, and message protection remain required. A correct certHash alone does not establish acceptance of the requested subject name, key, extensions, or policy.¶
ML-KEM is specified in [FIPS203]. ML-KEM-512, ML-KEM-768, and ML-KEM-1024 MAY be used in the CMP KEM mechanisms described in this document when permitted by authorized policy. The base profile requires ML-KEM-768.¶
Public-key, private-key, and certificate encodings MUST follow [RFC9935]. An ML-KEM AlgorithmIdentifier MUST use the identifier of the actual parameter set with absent parameters. If a keyUsage extension is present in an ML-KEM certificate, keyEncipherment MUST be the only key-usage bit set, as required by RFC 9935. The use of KEM-based message protection does not change this requirement to digitalSignature or keyAgreement.¶
When a recipient certificate is already available, its certification path, validity, applicable constraints, and authorization for the intended operation MUST be validated under [RFC5280] and RFC 9810. When encrypting a newly issued certificate to the very key whose POP is being established, the request and response processing rules of RFC 9810 apply instead; possession of an already validated certificate for that new key is not a prerequisite.¶
For encrypted delivery using ML-KEM, implementations MUST use the OtherRecipientInfo alternative containing KEMRecipientInfo as specified in [RFC9629] and [RFC9936]. They MUST NOT put an ML-KEM ciphertext into KeyTransRecipientInfo or KeyAgreeRecipientInfo.¶
For the base profile, the fields are:¶
| Field | Required value or rule |
|---|---|
| version | 0 |
| rid | The CMS recipient identifier, populated as required by RFC 9629 and RFC 9810 |
| kem | id-alg-ml-kem-768; parameters absent |
| kemct | A fresh ML-KEM-768 ciphertext, 1088 octets |
| kdf | id-alg-hkdf-with-sha256; parameters absent |
| kekLength | 32 octets |
| ukm | Absent |
| wrap | id-aes256-wrap; parameters absent |
| encryptedKey | The result of wrapping the newly generated CEK |
The KDF identifier is from [RFC8619]. HKDF processing MUST follow [RFC5869] and Section 2.2.1 of RFC 9936: IKM is the ML-KEM shared secret, salt is unused (the empty string), L is 32, and info is DER(CMSORIforKEMOtherInfo). AES key wrapping MUST follow [RFC3394] and [RFC3565].¶
The following relationships describe these existing mechanisms; they do not define an additional KDF:¶
ML-KEM.Encaps(recipientPublicKey) -> (ss, ct)
info = DER(CMSORIforKEMOtherInfo {
wrap = id-aes256-wrap, kekLength = 32, ukm = absent })
KEK = HKDF-Expand(HKDF-Extract(empty, ss), info, 32)
CEK = newly generated 32-octet content-encryption key
encryptedKey = AES-256-Key-Wrap(KEK, CEK)
¶
The Encaps notation above follows FIPS 203's order of shared secret and ciphertext; API argument and return ordering is implementation specific. An implementation MUST identify these values by their meaning rather than assuming that every library uses the same tuple ordering.¶
The secure use of ML-KEM does not require ukm. Its omission here selects a common interoperable configuration and does not prohibit other deployments from using ukm under RFC 9629. The base profile MUST NOT carry a secret PSK in this publicly transmitted field.¶
Encrypted certificates, private-key packages, and other encrypted values MUST use the EnvelopedData placements specified in Section 5.2.2 of [RFC9810]. For these uses, the base profile MUST contain exactly one RecipientInfo, carrying the ML-KEM KEMRecipientInfo described above. EncryptedValue MUST NOT be used in an operation conforming to this profile.¶
The base profile uses AES-256-CBC, already described in RFC 9481, for content encryption. Its AlgorithmIdentifier is id-aes256-CBC, with a freshly and unpredictably generated 16-octet IV encoded as the AES-IV OCTET STRING specified in [RFC3565]. The CEK MUST be freshly generated for each encrypted container. CMS content padding MUST follow [RFC5652].¶
AES-CBC does not authenticate ciphertext. Before decrypting an encrypted value or reporting any decryption-dependent result, a recipient MUST authenticate and authorize the enclosing CMP message and check the transaction binding and the permitted algorithm combination. When an RA terminates and regenerates protection, this requirement applies to each protected hop and the RA is part of the confidentiality and integrity trust boundary.¶
The EnvelopedData structure in the existing CMP placements is not an AuthEnvelopedData structure. This document does not substitute AuthEnvelopedData at those ASN.1 locations or place an AES-GCM tag in an unspecified field. Alternative content-encryption conventions, including the algorithm-binding mechanism of [RFC9709], require a separately agreed configuration and are outside the base profile.¶
If a receiving entity cannot authenticate the enclosing message using independently authorized credentials before decryption, it MUST NOT use this encrypted-delivery configuration. It MUST NOT break that dependency by accepting an unauthenticated plaintext certificate as a new trust anchor.¶
An ML-KEM key cannot produce a digital signature. Its POP MUST follow the KEM-key mechanisms of Section 4.3.4 of [RFC9810]. The common POP method for the base profile is encrypted-certificate confirmation, using keyEncipherment in ProofOfPossession, subsequentMessage in POPOPrivKey, and the encrCert value. Implementations enrolling or issuing ML-KEM certificates under the base profile MUST support this method.¶
The CA encrypts the issued certificate to the requested ML-KEM public key using Section 6.2 and Section 6.3. The EE decapsulates, unwraps the CEK, decrypts the certificate, validates the certificate against its request and issuance policy, and sends a protected certConf containing the certificate hash selected by Section 5.¶
When certConf serves as POP, implicit confirmation MUST NOT be requested or granted. The CA MUST NOT publish or otherwise disclose the complete issued certificate before successful POP confirmation, including through a repository, a certificate-transparency submission, or an unencrypted response. The CA MUST apply the non-disclosure and POP security requirements of Sections 5.2.8.3.2 and 8.11 of RFC 9810.¶
Since rid can refer to the certificate that is still encrypted, the EE MUST retain the transactionID and certReqId association with its requested key. Selection of that key for decryption MUST follow RFC 9810; a missing plaintext copy of the issued certificate is not grounds to omit POP.¶
The direct challenge-response and private-key-archival alternatives remain available under RFC 9810 when explicitly configured. They are not mandatory features of the base profile. A deployment MUST NOT select private-key disclosure or archival merely as a shortcut around implementing KEM POP.¶
Central key generation is optional. An implementation supporting it under this profile MUST follow the signed and encrypted private-key delivery rules of RFC 9810. Private keys MUST be encoded in AsymmetricKeyPackage as specified in [RFC5958] and the relevant algorithm specification. The package MUST be signed by an authorized KGA using the CMS conventions of Section 4.4 and encrypted as described in Section 6.2 and Section 6.3.¶
The KGA's signing certificate and authorization MUST be checked as required by RFC 9810, including the applicable id-kp-cmKGA extended-key-usage requirements. The recipient's KEM delivery key MUST already be authenticated and authorized; the new private key being delivered cannot supply the only credential needed to decrypt its own delivery.¶
A recipient MUST check that the delivered private key corresponds to the certified public key before installing it. Seeds and expanded private keys MUST be interpreted according to the applicable algorithm encoding; arbitrary seed octets MUST NOT be treated as a generic expanded private key.¶
KEM-based message protection is an optional feature of this profile. An implementation claiming this feature MUST implement id-KemBasedMac and KemBMParameter from Section 5.1.3.4 of [RFC9810], using ML-KEM-768 and the following parameters:¶
| Field | Required value |
|---|---|
| kdf | id-alg-hkdf-with-sha256; parameters absent |
| kemContext | Absent |
| len | 32 octets |
| mac | id-hmacWithSHA256 |
HMAC MUST follow [RFC4231]. For generation, the HMAC AlgorithmIdentifier parameters MUST be NULL. Receivers MUST accept NULL or absent HMAC parameters. This parameter rule does not relax the absent-parameters requirements for ML-KEM or HKDF. The full, untruncated 32-octet HMAC value MUST be encoded directly in PKIMessage.protection.¶
The KEM ciphertext MUST be carried using the existing KemCiphertextInfo mechanism. As in RFC 9810, IKM is the KEM shared secret, L is len, and info is the DER-encoded KemOtherInfo containing the PKIFreeText value with the single string CMP-KEM and the transactionID from the message containing the KEM ciphertext. kemContext MUST be absent in this base configuration.¶
info = DER(KemOtherInfo {
staticString = { "CMP-KEM" },
transactionID = transactionID_of_ciphertext_message,
kemContext = absent })
ssk = HKDF-Expand(HKDF-Extract(empty, ss), info, 32)
protection = HMAC-SHA-256(ssk, DER(ProtectedPart))
¶
Both peers MUST use the same zero-length HKDF salt and the exact RFC 9810 context encoding. CMSORIforKEMOtherInfo MUST NOT be substituted for KemOtherInfo. The resulting key MUST NOT be used as a CEK, a KEK, or an application key.¶
A fresh encapsulation MUST be performed for each management operation, as required by Section 8.8 of RFC 9810. The same shared secret and ciphertext MUST NOT be reused for another operation, for CMS encrypted delivery, or to establish protection in the opposite direction. When both peers use KEM credentials, the directional exchanges MUST follow Appendix E of RFC 9810.¶
The identity being authenticated is the authorized holder of the KEM private key, demonstrated to the entity that performed the encapsulation. Anyone with a public KEM key can encapsulate to it; that act does not by itself authenticate the encapsulator. Implementations MUST NOT treat a KEM-MAC exchange as mutual identity authentication without satisfying the separate directional authentication requirements. A KEM-MAC is a shared-secret authenticator, not a publicly verifiable digital signature.¶
This profile does not modify the preliminary message flows of RFC 9810. Any preliminary unprotected message MUST NOT authorize issuance, policy changes, trust-anchor installation, or private-key delivery. Implementations MUST bind subsequent protected messages to the expected peer and operation and enforce the authentication requirements before acting on them.¶
Support for this profile is explicitly selected by authorized policy. It is not implied by support for CMP, RFC 9481, or an individual post-quantum algorithm. The following table specifies the common algorithm choices.¶
| Purpose | Algorithm or choice |
|---|---|
| CMP signature protection and signing-key POP | ML-DSA-65, pure mode, empty context |
| CMS package signature | ML-DSA-65 with SHA-512 signed attributes |
| certConf for signatures covered by the mapping | SHA-512 over the complete DER certificate |
| KEM encrypted delivery and KEM POP | ML-KEM-768 |
| CMS KEM KDF and KEK | HKDF-SHA-256, 32-octet KEK |
| CMS key wrap | AES-256 Key Wrap |
| CMS content encryption | AES-256-CBC with fresh CEK and IV, inside authenticated CMP protection |
| Optional KEM-MAC feature | ML-KEM-768, HKDF-SHA-256, 32-octet key, HMAC-SHA-256 |
An implementation claiming the base profile MUST support ML-DSA-65 signature protection in its send and receive roles, and the certificate-confirmation mapping. It MUST be able to validate the ML-DSA-65 certificate signatures needed for its configured trust paths. A signature-only implementation is not thereby required to implement optional central key generation or KEM-MAC.¶
For an implementation claiming this opt-in profile, the corresponding mandatory algorithm choices of Section 7.1 of RFC 9481 are replaced by this section's requirements for profile operations. Such an implementation need not implement RSA or DH merely to claim this profile. If it also claims conformance to the legacy profile of Section 7.1 of RFC 9481, it MUST separately satisfy that profile's implementation requirements.¶
An implementation supporting encrypted delivery MUST implement the base profile KEM, KDF, wrapping, and content-encryption choices for its originator or recipient role. An implementation enrolling or issuing ML-KEM certificates MUST implement the encrypted-certificate POP method in Section 6.4. An implementation delivering or receiving centrally generated private keys MUST implement Section 6.5. An implementation claiming the KEM-MAC feature MUST implement Section 7.¶
A conformance statement MUST identify the supported operations and roles, including whether encrypted delivery, ML-KEM certificate enrollment, central key generation, or KEM-MAC is supported. It MUST NOT imply support for every CMP operation merely by claiming support for this algorithm profile.¶
Implementations MAY support additional parameter sets permitted in Section 4 and Section 6. Their use requires authorized policy shared by the peers. Optional support for another parameter set does not remove the base profile implementation requirements.¶
For CMS ML-KEM-512, ML-KEM-768, and ML-KEM-1024, KDF support, minimum component strengths, and wrapping-algorithm support MUST follow RFC 9936. An implementation using ML-KEM-1024 with a different KDF still MUST support the HKDF-SHA-256 option required by that RFC. Algorithms, output lengths, and parameter encodings MUST be configured as a complete combination rather than inferred from a KEM parameter-set number.¶
The optional ML-DSA-87 and ML-KEM-1024 parameter sets do not establish a second implicit suite. In particular, their use does not silently change the CMS digest, certConf mapping, KEM-MAC output length, or permitted content-encryption algorithm. A deployment that needs a distinct combination has to specify each choice and its applicable requirements.¶
The choices in this document are not a claim that every component has the same NIST security category or that a particular end-to-end quantum security level follows from a single parameter-set label. Authentication, KEM security, hash properties, and symmetric confidentiality need separate assessment.¶
The base profile name is not a new value of certProfile, an InfoTypeAndValue, or an IANA registry entry. This document defines no profile-negotiation message. Peers MUST obtain the required algorithm combination and security policy from authorized configuration. Existing CMP capability messages MAY be used within their defined semantics, but an unauthenticated capability response MUST NOT override that policy.¶
If policy requires this profile and the peer cannot support the required version or algorithm combination, the operation MUST fail. Timeout, badAlg, unsupportedVersion, or an authentication failure MUST NOT cause automatic fallback to RSA, ECDSA, EdDSA, DH, ECDH, password protection, or another unapproved configuration.¶
A separately authorized legacy enrollment procedure can remain available for migration, but it is a different policy decision and does not conform to this profile. Merely issuing a post-quantum subject key under a classical signature does not make that certificate path post-quantum authenticated. Likewise, enrolling a PQ key over a classically protected management operation does not provide the management operation with post-quantum authentication.¶
For an operation required to provide post-quantum authentication, all certificate signatures and revocation evidence relied on for that authentication, and every RA protection boundary on the relevant path, MUST satisfy the configured post-quantum policy or an independently authorized trust mechanism. Receiving caPubs or extraCerts MUST NOT promote an otherwise untrusted certificate into a trust anchor.¶
Implementations MUST retain the CMP state, nonce, message-type, and certificate-request checks required by RFC 9810. In this profile, the initiating client MUST supply a fresh transactionID with at least 128 bits of randomness. Protected messages MUST include a fresh senderNonce with at least 128 bits of randomness, and recipNonce where required by the applicable CMP flow. Responders MUST preserve and validate the transaction association and nonce linkage.¶
Before an expensive operation, an implementation SHOULD perform bounded syntax, length, and algorithm-policy checks. ML-KEM-768 public keys have 1184 octets and ciphertexts have 1088 octets. ML-DSA-65 public keys have 1952 octets and signatures have 3309 octets. These are raw algorithm values; ASN.1 containers, certificates, and CMP headers require additional space.¶
Algorithm-required key and ciphertext validation MUST be performed. ML-KEM implicit rejection MUST NOT be replaced with a diagnostic that reveals whether an otherwise well-formed ciphertext failed the internal re-encryption check. A derived key or tentative plaintext MUST NOT be accepted until all applicable MAC, wrapping, outer message-protection, and content checks succeed.¶
Where an authenticated CMP error response is permitted, implementations MUST use the failure information defined by RFC 9810. An unsupported algorithm can be reported as badAlg, and an unsupported version as unsupportedVersion. For the decapsulation-error case in KEM-based protection, the badMessageCheck and termination requirements of Section 5.1.3.4 of RFC 9810 apply. This document defines no new failure bit.¶
Externally observable failure behavior MUST NOT distinguish secret-dependent decapsulation, key-unwrapping, or padding failures in a way that creates an oracle. Local diagnostic logs MAY distinguish implementation stages for authorized operators, but MUST NOT contain private keys, seeds, KEM shared secrets, derived keys, or recovered private-key packages.¶
An operation that fails algorithm-policy, authentication, authorization, POP, or certificate-validation checks MUST NOT install a key, accept a certificate, or install new trust-anchor material. Implementations MUST release transaction resources and erase transient secret material when it is no longer needed, including on an aborted operation.¶
This document makes the following additive updates to [RFC9481]:¶
Section 3 is augmented with the ML-DSA and pure SLH-DSA signature conventions in Section 4. For certificates signed with the algorithms listed in Section 5, SHA-512 is specified as the certificate hash for certConf under the rules of RFC 9810.¶
Section 4 is augmented with ML-KEM key-management conventions for the existing CMP and CMS mechanisms, as specified in Section 6. HKDF with the identifiers of RFC 8619 is used with the precise input conventions specified in this document and the cited mechanism specifications.¶
Section 6 is augmented with the concrete ML-KEM, HKDF, and HMAC combination for the id-KemBasedMac mechanism, as specified in Section 7.¶
Section 7 is augmented with the opt-in algorithm profile and conditional implementation requirements in Section 8. For operations under this profile, the corresponding mandatory algorithm choices in Section 7.1 are replaced by Section 8.1. The mandatory and optional algorithm requirements of Sections 7.1 and 7.2 of RFC 9481 for implementations outside this profile are not changed.¶
Section 9 is supplemented by the security considerations in Section 11.¶
The SHA-512, AES-256 Key Wrap, AES-256-CBC, and HMAC-SHA-256 primitives already described in RFC 9481 are reused. This document does not obsolete RFC 9481, change the CMP message grammar, update RFC 9483 procedures, or register a new algorithm identifier.¶
The security considerations of RFC 9481, RFC 9810, and the referenced algorithm and container specifications apply. This document selects algorithms at existing protocol interfaces; it does not establish a new cryptographic security proof for CMP or for a complete deployment.¶
A post-quantum certificate request does not protect the channel on which it is submitted. A classical credential used to authorize a new PQ credential remains part of the migration trust assumption. Operators need to distinguish a migration step that is acceptable before a relevant quantum threat from an operation intended to resist an active quantum-capable adversary.¶
The certificate path, authorized trust anchors, revocation or status evidence, RA and KGA credentials, and administrative provisioning can each limit authentication. A post-quantum subject public key does not compensate for a forgeable issuer signature. A self-signature on a received root certificate does not authenticate the decision to trust it.¶
POP establishes access to the requested private key under the specified method; it does not establish subject identity, device ownership, suitability for issuance, or authorization to receive another entity's key. The policy and role checks of RFC 9810 remain essential.¶
ML-DSA and SLH-DSA signatures provide no confidentiality. Sensitive material encrypted only by a classical key-establishment mechanism can remain vulnerable to an adversary that records traffic and later obtains quantum capability. The algorithms of the actual encrypted-delivery path, including every terminating RA, determine that exposure.¶
Static-recipient ML-KEM encrypted delivery does not provide forward secrecy against later compromise of the recipient's decapsulation key. Recorded ciphertext can be processed after such a compromise. Long-term key protection, lifetime, revocation, and destruction remain necessary even when the KEM is quantum resistant.¶
For the base profile's CBC containers, verified and authorized outer CMP protection is a prerequisite to decryption. Code paths that process a detached encrypted container, expose unauthenticated padding results, or accept an alternative algorithm combination before checking policy can violate that assumption. The use of a signed private-key package adds KGA origin authentication but does not replace the outer-message checks.¶
KEM encapsulation alone does not authenticate its originator. KEM-based message protection has the directional authentication semantics described in Section 7 and RFC 9810. Reusing a shared secret in an unintended direction or across operations can confuse identity and transaction bindings.¶
Encrypted-certificate POP depends on withholding the complete certificate until POP succeeds. Disclosure through an alternate protocol, log, repository, audit artifact, or second response can allow an entity to compute certHash without decapsulating. Implementations need to enforce this dependency across the entire issuance system, not only within the CMP encoder.¶
A KEM POP value and a KEM-MAC value are not interchangeable. Likewise, the CMS key derivation context and the CMP KEM-MAC context are different structures. The separate context and key-use rules in this document prevent implementations from treating a generic KEM shared secret as an application key.¶
Implementations need cryptographically secure randomness for key generation, encapsulation, CEKs, IVs, nonces, and transaction identifiers. Algorithm-required checks, side-channel protections, and correct handling of implicit rejection remain necessary. Expanding a seed with an ad hoc derivation or reusing deterministic test material in production can defeat the intended properties.¶
Post-quantum keys, signatures, chains, and CMP messages can be much larger than their classical counterparts. Implementations SHOULD apply configurable limits on message size, ASN.1 nesting, chain length, concurrent transactions, outstanding POP challenges, and cryptographic work. These limits MUST permit the algorithms and operations the implementation claims to support. This document does not assume that 4 KiB message buffers are sufficient.¶
For CMP over HTTP, transport behavior remains governed by [RFC9811]. Retransmission and polling MUST retain the original CMP transaction semantics and MUST NOT become an algorithm-downgrade mechanism. A transport's confidentiality or authentication properties are separate from those of the CMP profile.¶
This document has no IANA actions. All algorithm identifiers and CMP structures are defined in the referenced specifications. The descriptive base profile name is not an assigned protocol identifier.¶
The following flows illustrate existing CMP exchanges using this profile. They are not new protocol messages or cryptographic test vectors. They assume independently provisioned credentials and an authorized certificate policy. Polling and RA forwarding are omitted.¶
EE RA/CA | | | Generate a new ML-DSA-65 key pair | | ir/cr: CRMF request with ML-DSA-65 signing POP | | pvno = 3; protection = authorized ML-DSA-65 | |------------------------------------------------->| | Authenticate and authorize EE; | | verify POP; issue certificate | | ip/cp: certificate, signed using ML-DSA-65 | | response protection = authorized ML-DSA-65 | |<-------------------------------------------------| | Verify response and certificate; match request | | certConf: SHA-512(DER(issued certificate)) | | hashAlg omitted; protected using ML-DSA-65 | |------------------------------------------------->| | pkiconf: protected using ML-DSA-65 | |<-------------------------------------------------|¶
The credential protecting the initial request is an existing authorized credential. It need not be the newly generated key. This flow does not assume that an unissued key authenticates its own enrollment identity.¶
EE RA/CA | | | Generate a new ML-KEM-768 key pair | | ir/cr: requested ML-KEM public key; | | keyEncipherment -> subsequentMessage: encrCert | | pvno = 3; protection = authorized ML-DSA-65 | |------------------------------------------------->| | Authenticate and authorize EE; | | create but withhold certificate| | encapsulate to requested key | | ip/cp: encrypted certificate in EnvelopedData | | KEMRecipientInfo; AES-256 Key Wrap; AES-256-CBC | | response protection = authorized ML-DSA-65 | |<-------------------------------------------------| | Verify response; decapsulate and decrypt; | | validate certificate against requested key/policy | | certConf: SHA-512(DER(issued certificate)) | | protected using existing ML-DSA-65 credential | |------------------------------------------------->| | Verify confirmation and POP; | | permit certificate publication | | pkiconf: protected using ML-DSA-65 | |<-------------------------------------------------|¶
The SHA-512 mapping applies because the certificate is signed with ML-DSA-65. The subject key is ML-KEM-768 and cannot sign certConf. The EE therefore retains an independently authorized protection credential for this exchange.¶
The hexadecimal values below are DER structural examples for the base profile. They contain no private key, signature, or KEM ciphertext and are not complete CMP test vectors. Whitespace in the displayed hexadecimal is not part of the encoding.¶
ML-DSA-65, parameters absent: 30 0b 06 09 60 86 48 01 65 03 04 03 12 ML-KEM-768, parameters absent: 30 0b 06 09 60 86 48 01 65 03 04 04 02 HKDF-SHA-256, parameters absent: 30 0d 06 0b 2a 86 48 86 f7 0d 01 09 10 03 1c HMAC-SHA-256, parameters NULL: 30 0c 06 08 2a 86 48 86 f7 0d 02 09 05 00 SHA-512, parameters absent: 30 0b 06 09 60 86 48 01 65 03 04 02 03¶
The first value encodes HKDF-SHA-256, absent kemContext, len equal to 32, and HMAC-SHA-256 with NULL parameters. It is the parameters value of id-KemBasedMac, not a complete protectionAlg.¶
KemBMParameter:
30 20
30 0d 06 0b 2a 86 48 86 f7 0d 01 09 10 03 1c
02 01 20
30 0c 06 08 2a 86 48 86 f7 0d 02 09 05 00
KemOtherInfo, transactionID = 00 01 ... 0f:
30 1d
30 09 0c 07 43 4d 50 2d 4b 45 4d
04 10 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
¶
The sequential transactionID is only an encoding example. A live management operation requires the fresh random transactionID specified in Section 9.¶
This appendix identifies evaluation cases for implementers; it does not report completed implementation testing. Algorithm-level and CMS examples in RFC 9881, RFC 9882, RFC 9935, and RFC 9936 can be reused where their parameter choices match. Complete CMP messages need their own independently generated signatures, state, and credentials.¶
| Case | Expected behavior |
|---|---|
| ML-DSA-65 enrollment with a separate protection credential | Validate both the protection signature and signing-key POP, then confirm the issued certificate. |
| ML-KEM-768 encrypted-certificate POP | Decrypt only after outer authentication; confirm before publication; reject implicit confirmation. |
| Mapped certificate with omitted hashAlg or explicit SHA-512 | Use SHA-512 over the complete certificate in both cases. |
| ML-KEM subject certificate signed using another signature algorithm | Select certHash by the issuer signature convention, not by ML-KEM. |
| NULL parameters for ML-DSA, SLH-DSA, ML-KEM, or HKDF | Reject the invalid encoding; do not guess the intended algorithm. |
| Wrong signature context, extra pre-hash, or wrong POP input | Fail verification; do not install the credential. |
| KEM-MAC with a mismatched transactionID or CMS KDF context | Fail protection verification without accepting the operation. |
| Wrong KEM ciphertext size, failed unwrap, or invalid padding | Reject without a secret-dependent diagnostic oracle. |
| Missing trust path or unauthorized KGA | Reject even when the underlying signature is mathematically valid. |
| Peer requests classical fallback after a profile failure | Fail the profile-required operation; do not silently weaken policy. |
| Large chains, forwarding RAs, and polling | Preserve algorithm policy and transaction state within configured resource limits. |