← Back to section · Standards & Specifications
Putting New Algorithms into X.509: LAMPS' Certificate Encoding Work and Its Unavoidable Details
A certificate is not wrapping paper for an algorithm: how the public key is encoded, whether private keys are stored as seeds or expanded forms, and how OIDs are assigned all decide interoperability. LAMPS is making these calls for ML-DSA, ML-KEM and SLH-DSA, one algorithm at a time.
Certificate migration lags key exchange not for cryptographic reasons but for encoding ones. Before an algorithm can live in the X.509 world, a series of very concrete questions needs answers: in what byte form does the public key appear in SubjectPublicKeyInfo? When a private key is stored in PKCS#8, is it the seed or the expanded structure? Which OID identifies the algorithm? Get any one wrong and two implementations no longer recognise each other. The IETF’s LAMPS working group (which maintains S/MIME and PKIX work) is writing those answers, one algorithm at a time.
One document per algorithm: the LAMPS list
LAMPS works “one algorithm, one document”. Its main current working group drafts include:
- ML-DSA certificates (draft-ietf-lamps-dilithium-certificates): the use of ML-DSA-44/65/87 in certificates, CRLs and PKCS#10 certification requests, including signature algorithm OIDs and public-key encoding.
- ML-KEM certificates (draft-ietf-lamps-kyber-certificates): the form of ML-KEM as a certificate subject public key — note such a certificate vouches for an encapsulation key, not a signing key, and its issue-and-use flow does not map one-to-one onto historical encryption certificates (mostly RSA key transport), so new profile text is needed.
- SLH-DSA certificates: algorithm identifiers and encodings for SLH-DSA’s twelve parameter sets — parameter count being its main difference from ML-DSA.
Alongside sit updates to the X.509 profile itself and companion documents on carrying the new algorithms in certificate management protocols such as CMP and EST. The shared status of the whole list: working group drafts, not yet RFCs. The family shares another easily missed trait: the documents cite NIST’s algorithm standards (FIPS 203/204/205) normatively, yet must independently solve cross-carrier consistency — the same ML-DSA public key must be byte-identical in a certificate, in a CMS signature and in a certification request, and any vagueness in one LAMPS document grows incompatible dialects in downstream protocols. Cross-document checking therefore takes a large share of the family’s review effort, which is why its version counters climb slowly but must climb steadily.
Seed or expanded: the private-key encoding debate
The liveliest argument concerns private-key form. Under FIPS 203/204, both ML-KEM and ML-DSA keys can be deterministically expanded from a 32-byte seed. What should private-key containers (PKCS#8 and friends) store? The accounting differs by camp. Seed-only is most compact and easiest on backup and HSM import, but every consumer must expand it identically — any divergence in expansion detail recovers a different key. Expanded form costs kilobytes (ML-DSA private keys are measured in them) but is what-you-see-is-what-you-get. The drafts compromise by writing every legal form into the ASN.1 structure and giving selection guidance. That exhaustiveness looks pedantic, but it is the entire point of an interoperability document: every gap left open is a future failure to recognise each other.
OIDs: unglamorous, load-bearing registry work
Every algorithm-and-parameter combination needs an object identifier (OID) in the certificate’s algorithm fields. NIST has assigned OID arcs for ML-KEM, ML-DSA and SLH-DSA under its CSOR registry, and the LAMPS documents confirm the exact usage of those OIDs across X.509 structures — including the parameters field, which the new algorithms generally require to be absent rather than an explicit NULL. If two implementations differ on that detail, signature verification fails in the least expected place. History has interoperability incidents caused by exactly such parameter-field ambiguity, and the PQC documents are correspondingly careful.
What drafts allow, and what they do not
For CAs and device vendors, now is the time for experimental issuance and interoperability testing against the drafts — surfacing encoding problems in the lab is the most valuable use of the draft phase. For production systems, public Web PKI issuance is additionally governed by the CA/Browser Forum baseline requirements and root-programme policies; an LAMPS RFC is a necessary condition, not a sufficient one. Timelines that read “issuance the day the RFC lands” are a common planning optimism.
Relation to the certificate profiles
Finally, these algorithm documents do not act alone: they are read together with RFC 5280’s X.509 profile and application-specific certificate profiles (such as TLS’s certificate requirements). Algorithm documents answer “how is it encoded”; profile documents answer “where must or may it appear”. Only when both are present and stable can the ecosystem follow — the structural reason certificate work advances in years.
The other ledger: certificate sizes and the wire
Once encodings are settled, a size ledger awaits the whole ecosystem. ML-DSA public keys run above one to two thousand bytes and signatures in the two-to-four-thousand range; a leaf plus one intermediate makes a certificate chain several times the size of a classical ECDSA chain. That ledger lands in specific places: TLS handshakes carry extra TCP segments (stacked on top of hybrid key exchange growth); certificate transparency logs store several extra kilobytes per certificate, which multiplied by global issuance volume is a real operating cost; OCSP responses signed with PQC algorithms inflate likewise; and smart cards and embedded devices must re-plan certificate storage measured in kilobytes. None of these numbers is the content of LAMPS documents, yet they are the inputs CAs, log operators and browser vendors keep recalculating in policy discussions — the algorithm documents’ “how is it encoded” and the ecosystem’s “can we carry it” are two faces of one migration. Seen against that total ledger, every compactness the LAMPS drafts fight for (the seed-only private-key option, for instance) explains itself.
References
- IETF LAMPS WG, Use of ML-DSA in X.509 (draft-ietf-lamps-dilithium-certificates, working group draft). https://datatracker.ietf.org/doc/draft-ietf-lamps-dilithium-certificates/
- IETF LAMPS WG, Use of ML-KEM in X.509 (draft-ietf-lamps-kyber-certificates, working group draft). https://datatracker.ietf.org/doc/draft-ietf-lamps-kyber-certificates/
- IETF LAMPS WG document list. https://datatracker.ietf.org/wg/lamps/documents/
- IETF, RFC 5280: Internet X.509 Public Key Infrastructure Certificate and CRL Profile, 2008. https://www.rfc-editor.org/rfc/rfc5280
Tags: LAMPSX.509ML-DSAML-KEMCertificates