Here is a copy for the list....

Deb

---------- Forwarded message ---------
From: Deb Cooley <[email protected]>
Date: Fri, May 1, 2026 at 2:05 PM
Subject: AD comments on draft-ietf-jose-hpke-encrypt
To: <[email protected]>
Cc: <[email protected]>


Thank you very much for your work on this draft.  Below are my comments.
Note:  I've just finished a similar review of  draft-ietf-hpke-hpke (which
you can likely find on the hpke mailing list).

Deb

--------------------------------------
idnits (experimental version):  There are apparently 18 lines which are too
long.  I didn't look for them, and maybe it is in error.  I would suggest
that the authors might take a peek.

General:  While the html version of this draft has a different font for
variable names (zip in Section 7, and others), none of the other formats
have this feature.  Please either use quotes around these structures, or
add a note to the editor to do it for you as part of the editing process.
The section currently titled 'About this Document' can be expanded to
include this note.

Section 3, Key Management Mode:  So many options, where only two are
defined by this specification.  Yet there are mentions of the other in
Section 7.  What are the use cases for all of these modes (more to me,
maybe in the draft).  And why are they here, if they aren't defined?

Section 3, Integrated Encryption:  This is actually used in practice?  I'd
like to see something that explains where this is useful.  And possibly
something in Section 10 about when it is appropriate to use/not use this
mode.

Section 4:  so many options!  2 key management modes, 2 hpke options (base,
psk), 2 serializations where they both aren't applicable to all the other
modes.

Section 5.1, 6.2: 8 options is a lot.  Are there use cases for all of
these?  In particular, why does anyone need P-256 w/ AES 256?  The security
strength of the components is not even close.

Section 5.3:  flattened?  is this the same as JSON serialization?

Section 7.1 and 7.2:  This is a huge list where various key management
modes are all mixed in together.  Would it make more sense to break these
into two sets of steps depending on whether there is one or multiple
recipients?

Section 7.1, step 3-6:  Have these modes been defined?  where?

Section 7.1, step 9:  Clearly this can't happen if Integrated Encryption,
Direct Encryption or Direct Key Agreement is used.

Section 10, para 3:  I would say this the same way that the hpke-hpke draft
does. "Sender authentication: Proof of sender origin for the PSK mode."
 Feel free to word this as a negative statement too.  My real point is that
'authentication' is not as specific as 'proof of sender origin'.

Section 10:  I would replace the reference of RFC4086 with RFC8937.  It is
an Informational RFC but that is certainly fine here.

Section 10.1:  Why not MUST NOT?  What is the exception to the SHOULD NOT?

Section 10.2:  I have draft-ietf-oauth-8725bis in my queue.  We might want
to update this (assuming I get get that draft progressed in a timely
manner).

Section 11.1.1-11.1.8:  Where in draft-ietf-hpke-hpke is the concept of
Integrated Encryption explained?

Section 13.1, IANA.JOSE:  Normally IANA registries are informative
references.
_______________________________________________
jose mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to