On Tue, May 28, 2024 at 01:22:46PM +0000, Mike Ounsworth wrote: > I'm a bit of a tourist in the JOSE WG and don't follow the detailed > discussions, but if this draft is just adding an HPKE wrapper to JOSE so > that JOSE can automatically inherit everything in the HPKE registry [1], > then I support this draft. If this draft is doing something else, then > please disregard my vote.
It is doing something else. There must be algorithm identifier (string) defined for each HPKE (mode,kem,kdf,aead) tuple that can be used. That is not an automatic process. Then there are two modes, one is well-behaved. The other is very much less so, as JOSE was really not meant to work that way (the current spec flat out invokes Undefined Behavior in JWE). There is similar draft in COSE WG. Earlier versions did have autoinherit everything properties, but it was later changed to be similar identifier mapping (except identifier can be integer or string). That draft only has one mode that is very well-behaved. -Ilari _______________________________________________ jose mailing list -- [email protected] To unsubscribe send an email to [email protected]
