Hi Ignacio,

For implementers of JOSE, it would be ideal to limit the software library
dependencies needed to support PQ crypto.
The issues you are raising come up frequently, when a new cryptographic
mechanism is first developed in a working group that has a native container
format like PGP, CMS, COSE, JOSE, etc... and then interest in another
container format arises afterward.

In an ideal world, we would have a "raw / pure" crypto layer that everyone
could share. Container formats would then be added only as needed to
support protocols, without introducing additional software supplychain
dependencies. When you build a hybrid using a container format specific
combiner, this ideal world disappears.

I remember discussing this with some lamps folks in person, and I think the
conclusion seemed to be that they did what was natural for them, making it
unnatural for JOSE / COSE.

There was an attempt to head this off via pquip ages ago:

https://datatracker.ietf.org/meeting/119/materials/slides-119-pquip-composite-vs-parallel-signatures-comparison-00

Thanks for raising this topic on the list, I look forward to hearing from
others.

Regards,

OS

On Tue, Jul 21, 2026 at 5:56 AM Ignacio Inglese <[email protected]>
wrote:

> 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]
>
_______________________________________________
jose mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to