Internet-Draft PQ Migration for Detached Evidence December 2026
Jones Expires 6 June 2027 [Page]
Workgroup:
Network Working Group
Published:
Intended Status:
Informational
Expires:
Author:
V. Jones
Entercation Info Inc.

Post-Quantum Migration for Detached Evidence Handoffs

Abstract

This document describes an experimental transition from Ed25519 to ML-DSA-87 for detached evidence. It specifies which bytes can remain stable, which references must be recomputed, and how recipients report independent findings. A synthetic fixture demonstrates two COSE signatures over the same evidence assertion.

Status of This Memo

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 6 June 2027.

▲

Table of Contents

1. Scope and implementation status

Entercation uses Outerprise to model evidence handoff across independently administered organizations. Its fiscal sponsorship evidence case study (draft-jones-fiscal-sponsorship-evidence) and handoff lifecycle draft (draft-jones-outerprise-handoff-lifecycle) motivate separating source integrity, signature validity, role authority and recipient decision. The implementation reported here is an offline Python/OpenSSL harness with synthetic data. The Entercation AI RMF and TEVV page update documents the experiment in preview. Neither the case study nor the preview demonstrates production ML-DSA issuance.

NIST plans to deprecate quantum-vulnerable signature algorithms, including EdDSA, after 2030 and to disallow them under NIST standards after 2035 [NISTIR8547]. An NSA advisory for national security systems lists EdDSA among algorithms not approved in CNSA 1.0 or CNSA 2.0 and calls for inventory and replacement [NSA-PQC]. This document uses ML-DSA-87, the CNSA 2.0 signature parameter set. Its evidence digest uses SHA-256, which CNSA 2.0 does not list, so this profile does not claim CNSA 2.0 conformance. A conforming variant would also change the digest algorithm and every value derived from it.

2. Byte profile

Freeze the source bytes and hash them with SHA-256. Construct a UTF-8 JSON object, canonicalized per [RFC8785], with exactly two members: profile and sha256. Set profile to "outerprise-migration-v1" and sha256 to the lowercase 64-character source digest. Embed these identical payload bytes in two separate COSE_Sign1 envelopes [RFC9052], each carrying CBOR tag 18 and encoded with deterministic CBOR [RFC8949]. Each envelope has an empty unprotected map, and each signature uses empty external AAD.

The protected header bytes are a10132 for Ed25519, the map {1: -19} with COSE algorithm -19 from [RFC9864], and a1013831 for ML-DSA-87, the map {1: -50} with COSE algorithm -50 from [RFC9964]. Sign the deterministic Sig_structure ["Signature1", protected, h'', payload] for each envelope using its own protected bytes. Use pure ML-DSA [FIPS204] with an empty context string, as profiled by [RFC9964].

The two envelopes have the same source digest and different signing inputs. Changing the signature envelope requires new references wherever a digest covers that entire envelope. A Handshake policy evaluation that binds a complete legacy decision envelope continues to reference that exact envelope. An evaluation of a new envelope is a separate assertion. A migration record can reference both envelope digests without rewriting the existing record chain.

3. Recipient policy and transport

The recipient selects candidate keys through local configuration scoped to issuer, role and profile. Treat a printed QR code as a locator for, or commitment to, a digital bundle. Distribute the full ML-DSA signature in the bundle. Neither a QR code nor package-supplied key material establishes a trust anchor.

Report each of the following independently: format, source digest comparison, per-key signature validity, authority under a named policy at assessment time, SCITT receipt, and recipient disposition. Distinguish a completed mismatch from missing inputs or capability, and both from an intentionally skipped check. A PQ-required policy cannot accept a legacy-only result.

This profile defines no Merkle tree. In companion profiles, signatures can migrate without changing a root only when all committed leaf bytes, their sequence, the hash algorithm and the tree construction stay identical. Changing the hash algorithm, or changing an envelope committed as leaf content, requires new commitments and proofs.

4. Synthetic fixture and observed results

The source is the ASCII string "Outerprise synthetic evidence v1" followed by one LF (0x0a), 33 octets in total. The resulting payload is 113 octets. The key-independent intermediate values below can be checked without the fixture keys.

source-sha256
5ea16354a0a4b0901e4e433fcf4ae0f3b8a84b99e0825452fd45558096065265
payload-hex
7b2270726f66696c65223a226f7574657270726973652d6d6967726174696f6e
2d7631222c22736861323536223a223565613136333534613061346230393031
6534653433336663663461653066336238613834623939653038323534353266
643435353538303936303635323635227d
ed25519-sig_structure  132 octets, sha256
7724acc7cde3b83b2217465a33d4b34805215ebc85b24426d44ba65a615ea031
mldsa87-sig_structure  133 octets, sha256
b530337af1150c63882df6b15b6535a95406bec900f9c01750fce958f3196409
ed25519-envelope       188 octets (64-octet signature)
mldsa87-envelope       4753 octets (4627-octet signature)

Verify the shipped fixture using python3 -I check.py and OpenSSL 3.5.9. The frozen fixture includes two public keys, two signatures and two exact envelopes. The command reconstructs each envelope byte for byte, verifies each signature, and confirms rejection after flipping the low bit of the final signed payload byte (0x7d to 0x7c). The second field of each PASS line is the signature length in octets. The third is the SHA-256 of the complete tagged envelope.

legacy PASS 64
5c5b2da0a95ee190415a1f9ea34b5ce2e086b368d4eaa5f31bf39acbe2ff2ed9
legacy one-bit signed payload mutation rejected
pq PASS 4627
ee07e15f98fac394fd87676393ff971b2acf9a1ded0fd29c3dfc7df0177b25d5
pq one-bit signed payload mutation rejected
source-sha256
5ea16354a0a4b0901e4e433fcf4ae0f3b8a84b99e0825452fd45558096065265
authority, SCITT receipt, production, physical-copy authenticity: NOT
RUN

The harness is a scoped fixture checker. It does not implement a general-purpose COSE parser or validate institutional authority. The test used the same OpenSSL provider for signing and verification. Ed25519 signing is deterministic, so re-signing with the same key reproduces the legacy signature. ML-DSA signing in its default hedged mode is randomized, so re-signing produces a different valid signature and a different envelope digest. Verify the frozen signatures rather than regenerating them.

5. Security Considerations

Separately configured policy is required to prevent acceptance of a legacy-only result where PQ is required. Trust, revocation and authorization need independent recipient evidence. Apply input and resource bounds before verification. Physical-copy authenticity, confidentiality, trusted time and long-term renewal are outside this experiment. Archive original evidence and record new attestations as separate artifacts.

6. IANA Considerations

This document has no IANA actions.

7. Normative References

[FIPS204]
National Institute of Standards and Technology, "Module-Lattice-Based Digital Signature Standard", FIPS PUB 204, , <https://doi.org/10.6028/NIST.FIPS.204>.
[RFC9964]
Prorock, M. and O. Steele, "ML-DSA for JSON Object Signing and Encryption (JOSE) and CBOR Object Signing and Encryption (COSE)", RFC 9964, DOI 10.17487/RFC9964, , <https://www.rfc-editor.org/info/rfc9964>.
[RFC9864]
Jones, M.B. and O. Steele, "Fully-Specified Algorithms for JSON Object Signing and Encryption (JOSE) and CBOR Object Signing and Encryption (COSE)", RFC 9864, DOI 10.17487/RFC9864, , <https://www.rfc-editor.org/info/rfc9864>.
[RFC9052]
Schaad, J., "CBOR Object Signing and Encryption (COSE): Structures and Process", STD 96, RFC 9052, DOI 10.17487/RFC9052, , <https://www.rfc-editor.org/info/rfc9052>.
[RFC8949]
Bormann, C. and P. Hoffman, "Concise Binary Object Representation (CBOR)", STD 94, RFC 8949, DOI 10.17487/RFC8949, , <https://www.rfc-editor.org/info/rfc8949>.
[RFC8785]
Rundgren, A., Jordan, B., and S. Erdtman, "JSON Canonicalization Scheme (JCS)", RFC 8785, DOI 10.17487/RFC8785, , <https://www.rfc-editor.org/info/rfc8785>.

8. Informative References

[NISTIR8547]
Moody, D., Perlner, R., Regenscheid, A., Robinson, A., and D. Cooper, "Transition to Post-Quantum Cryptography Standards", NIST IR 8547, , <https://doi.org/10.6028/NIST.IR.8547>.
[NSA-PQC]
National Security Agency, "Immediate Actions to Push Toward Post-Quantum", Cybersecurity Advisory PP-26-4956, .

Author's Address

Vince Jones
Entercation Info Inc.