Hi all, Note: I'm sending from my personal address as Microsoft's email policy prevents outbound mail to external mailing lists. I work on Microsoft.IdentityModel at Microsoft.
I'm writing to raise a concern about the ECDSA encoding changes introduced in draft-ietf-jose-pq-composite-sigs-02 and retained in -03, specifically the departure from the LAMPS composite format for ECDSA key and signature encoding. Given that the composite sigs draft is on the IETF 126 agenda tomorrow, I wanted to get this on the list tonight. The change mandates raw fixed-length encodings for the ECDSA component (raw r||s signatures, raw x||y public key, raw scalar private key) rather than the DER structures defined in draft-ietf-lamps-pq-composite-sigs, which is currently in the RFC Editor queue and expected to be published as an RFC imminently. My concern is that this creates two incompatible encodings for the same composite algorithm: one for JOSE/COSE and one for X.509, CMS, and TLS. Implementations that support composite ML-DSA across both contexts would need to maintain two separate encoding paths, increasing implementation complexity and the risk of bugs at the boundary. The OS-level cryptographic libraries implementing composite ML-DSA today, including SymCrypt/CNG on Windows, implement the LAMPS DER format. The JOSE encoding departure is therefore immediately incompatible with existing implementations, and adding a separate JOSE-mode encoding path would require non-trivial changes to OS-level libraries that have already shipped. Additionally, the change appears to have been introduced in -02 without prior mailing list discussion. I would appreciate the WG's view on whether the JOSE-specific re-encoding is necessary and whether aligning with the LAMPS encoding for the ECDSA component is on the table. Ignacio Inglese Microsoft
_______________________________________________ jose mailing list -- [email protected] To unsubscribe send an email to [email protected]
