On Tue, Oct 13, 2026 at 12:38 PM Filip Skokan <[email protected]> wrote:

> Hi Orie,
>
> Thank you for the review.
>
>
> Is this correct?
>
> Yes, your reading is correct. For MLKEM768-P256, the decoded “pub” is the
> 1184-byte ML-KEM-768 encapsulation key followed by the 65-byte uncompressed
> P-256 point. The decoded “priv” is a single 32-byte seed.
>
> I’d keep the serialization definitions in the referenced HPKE
> specifications rather than repeat them. Repeating them here risks drift,
> and we already provide JWK examples for every referenced KEM. I suggest
> adding "The KEM-specific serialization functions are specified in Section
> 3 of [I-D.ietf-hpke-pq] for pure ML-KEM and Section 4 of [I-D.ietf-hpke-pq]
> for PQ/T hybrid KEMs." to make them easier to find.
>

I agree, don't repeat them, just maybe give the user a map to them.


>
> But the algorithms registered are all optional. Does this preference
>> extend to all JOSE based protocols that can use HPKE?
>
> (Subjectively) Yes, the preference can be applied to OAuth and OIDC when
> choosing between the hybrid and pure PQ HPKE algorithms registered here.
> Optional means implementations aren’t required to support these algorithms.
> We can still express a preference among them if we wanted to but ultimately
> protocols will have to make their own calls?
>
> I suggest narrowing the sentence to: "Among the ciphersuites registered
> by this document, PQ/T hybrid ciphersuites are generally preferred for this
> reason during the transition to post-quantum cryptography, subject to
> application requirements and deployment constraints."
>
I don't have a strong preference on this, I just wondered who the
"generally preferred" was aimed at, and are PQ/T encrypted JWTs really
"generally preferred"?

I don't know that a text change is even needed.


> S pozdravem,
> *Filip Skokan*
>
>
> On Mon, 12 Oct 2026 at 16:40, Orie <[email protected]> wrote:
>
>> Hi,
>>
>> Overall the document seems to be in good shape.
>> It defers a lot to the other drafts, which helps keep it short.
>>
>> It might be worth tracing the dependencies once during the read, so
>> readers don't need to crawl through all of them to figure out how pub and
>> priv are packed.
>>
>> 1. draft-ietf-jose-hpke-pq-pqt-01 (entry point). It says pub and priv
>> follow HPKE serialization (SerializePublicKey / SerializePrivateKey). It
>> gives no byte layout itself.
>> 2. draft-ietf-hpke-pq-05, Sections 3 and 4. Serialization is the identity
>> function. pub is the raw KEM encapsulation key and priv is the seed. It
>> gives sizes in Tables 2 and 3 (Sections 8.1 and 8.2) and defers hybrid
>> construction to [CONCRETE] and [GENERIC].
>>    - ML-KEM: Npk is 1184 (768) or 1568 (1024), and Nsk is 64.
>>    - Hybrids: Npk is 1249, 1216 or 1665, and Nsk is 32.
>> 3. draft-irtf-cfrg-concrete-hybrid-kems-03, Section 3 and Appendix A.
>>    - Components: ML-KEM-768 or ML-KEM-1024 paired with P-256, X25519 or
>> P-384.
>>    - Order: Appendix A states PQ then T.
>>    - Encodings: P-256 and P-384 use uncompressed SEC1 points (65 and 97
>> bytes), and X25519 uses 32 raw bytes.
>> 4. draft-irtf-cfrg-hybrid-kems-12, Sections 3 and 5.
>>    - Public key: concat(ek_PQ, ek_T).
>>    - Ciphertext: concat(ct_PQ, ct_T).
>>    - Private key: the 32-byte seed (Ndk = Nseed). Splitting it into
>> component seeds is done by the PRG in Section 5.1.
>> 5. FIPS 203 and SEC1. These define the ML-KEM key and ciphertext bytes
>> (FIPS 203) and the uncompressed point encoding (SEC1, Section 2.3.3).
>>
>> Combined result for MLKEM768-P256:
>> - pub: 1249 bytes = 1184-byte ML-KEM-768 key, then a 65-byte 0x04 || X ||
>> Y point.
>> - priv: a 32-byte seed.
>>
>> Is this correct?
>>
>> There is also this sentence:
>>
>> > PQ/T hybrid ciphersuites are generally preferred for this reason
>> during the transition to post-quantum cryptography.
>>
>> But the algorithms registered are all optional.
>> I'm trying to read this sentence in the context of popular JOSE based
>> protocols like OIDC and OAUTH.
>> Does this preference extend to all JOSE based protocols that can use HPKE?
>>
>> Regards,
>>
>> OS
>>
>>
>>
>>
>>
>>
>> On Mon, Oct 12, 2026 at 5:12 AM Michael P1 <michael.p1=
>> [email protected]> wrote:
>>
>>> Hi JOSE WG,
>>>
>>> At IETF 126 we had some good discussion on draft-ietf-jose-hpke-pq-pqt
>>> <https://datatracker.ietf.org/doc/draft-ietf-jose-hpke-pq-pqt/>. We
>>> wanted to prompt for further review and comments on list to support the
>>> progress of this document.
>>>
>>> Please do make some time to review and share your thoughts.
>>>
>>> Thanks,
>>> JOSE WG Chairs
>>> _______________________________________________
>>> 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]
>>
>
_______________________________________________
jose mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to