Lucas, Tiru, Lucas, thank you for the correction. I had read the ctx in Section 4.1 as the ML-DSA component context rather than the application context, and Section 3.2 of the LAMPS draft says plainly that there are two. My mistake. I will record your answer in the -02, where my draft currently leaves the question open.
Tiru, you are right and I withdraw the request. Section 6.2 carries it, and I should have read it as closely as the section I quoted. Nothing needed on my account. Thank you both. Uppalapati On Fri, Oct 30, 2026 at 6:07 AM tirumal reddy <[email protected]> wrote: > Hi Lucas, > > Thanks. Sections 6.2 and 6.3 already cover this, so I don’t think the > extra sentence is needed. > > Regards, > Tiru > > On Thu, 29 Oct 2026 at 21:00, Lucas Prabel <lucas.prabel= > [email protected]> wrote: > >> Hi Venkata, >> >> >> >> Thanks for the review, and I agree with your analysis. >> >> >> >> One correction, though, is that the Label is still passed as the ML-DSA >> context. The empty ctx in Section 4.1 is the application context passed to >> Composite ML-DSA, but internally, as in the LAMPS draft, the ML-DSA >> component is computed with the Label as its context. So a separated ML-DSA >> component doesn’t verify as an RFC 9964 signature, and only the traditional >> component seems concerned. >> >> >> >> Also, for long-lived records, this only matters against classical >> adversaries, since a quantum adversary can directly forge a standalone >> classical signature. So what protects such records is that the verifier >> rejects traditional-only algorithms. >> >> >> >> And finally, to answer your question, I would rather not state this >> property in the document, as JOSE and COSE keys are also used outside JWS >> and COSE objects. But I can add a sentence to Section 6.3 noting that the >> format of M' makes such a use unlikely with JWS and COSE, while making >> clear that component keys must never be reused anyway, whatever the format. >> However, I'm open to whatever option the working group might prefer. >> >> >> >> Thanks again, >> >> Lucas >> >> >> >> *From:* V.K. Uppalapati <[email protected]> >> *Sent:* 13 October 2026 06:12 >> *To:* [email protected] >> *Subject:* [jose] Separated components and JOSE/COSE object validity >> (draft-ietf-jose-pq-composite-sigs-05, Section 6.3) >> >> >> >> Hi all, >> >> A question arising from the -05, specifically the sentence added to >> Section 6.3: >> >> "The label, specific to each composite algorithm, helps protect against >> component signatures being removed from the composite and used in another >> context. However, it does not fully prevent it as the traditional component >> still verifies under the traditional algorithm as a signature over M', >> which is why key reuse is forbidden." >> >> I agree with that, and I am not asking to change the weak >> non-separability classification. My question is a narrower one that I think >> the sentence leaves open. >> >> A separated traditional component verifies over M' as a raw signature. >> That is what Section 6.3 says. What a relying party processes is not a raw >> signature over an arbitrary byte string, but a JWS or a COSE object, and >> the two are not the same check. So: >> >> M' = Prefix || Label || 0x00 || PH(M) >> >> Is there any JWS signing input (compact or JSON serialization, payload >> encoded or not per RFC 7797), or any COSE signing input (Sign1, Sign, or >> countersignature), equal to M'? >> >> I believe not, barring a collision in the component algorithm's hash: >> - Every JWS signing input consists of base64url characters up to the "." >> that follows the protected header. The Prefix and Label are also base64url >> characters, but they are followed by a zero byte, which falls outside that >> alphabet before any "." appears. >> - Every COSE signing structure is a CBOR array beginning 0x84, 0x85 or >> 0x86 (RFC 9052 Section 4.4; RFC 9338 for countersignatures). M' begins 0x43 >> ("C"). >> >> If that is right, then a separated component verifies as a signature but >> cannot be presented as a valid JOSE or COSE object, and the residual risk >> Section 6.3 describes is bounded in a way the text does not currently say. >> >> Two things in the -05 make this worth asking now. The Label is no longer >> passed to the component as its context, so the structure of M' is what >> distinguishes a component signature made inside a composite from one made >> outside it. And Section 6.4 sets out the limitations an application should >> weigh, where a reader deciding whether a separated component is a problem >> for them would expect to find this. >> >> Would the working group consider stating in Section 6.3 or 6.4 whether a >> separated component can verify as a JOSE or COSE object, either way? A >> negative statement would let requirements documents rely on the existing >> serializations rather than asking for a new construction; a positive one >> would tell applications something they need to know. >> >> >> >> The question comes from Section 8.2 of >> draft-uppalapati-wimse-pq-agent-identity-00, an individual draft on >> post-quantum requirements for agent identity. It matters there because of >> long-lived evidence: for a delegation record kept and checked years later, >> the verifier may be an auditor with only the record to go on, and "it >> verifies as a signature" and "it is a valid object" come apart exactly >> there. >> >> Corrections to the analysis are very welcome. >> >> Thanks, >> Venkata Karunakar Uppalapati >> _______________________________________________ >> 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]
