Thanks, Daisuke. That’s also my view.

From: COSE <[email protected]> On Behalf Of AJITOMI Daisuke
Sent: Friday, December 9, 2022 4:27 PM
To: Ilari Liusvaara <[email protected]>
Cc: [email protected]
Subject: Re: [COSE] HPKE versions

Hi Hannes and all,

Just one point for now.

> At the beginning we discussed the following question: Do we need something 
> other than base mode for HPKE when used with COSE?
I have no objection to focusing on the BASE mode this time.

Regards,
Daisuke

2022年12月9日(金) 22:16 Ilari Liusvaara 
<[email protected]<mailto:[email protected]>>:
On Fri, Dec 09, 2022 at 11:17:32AM +0000, Hannes Tschofenig wrote:
> Hi all,
>
> I would like to get some clarity from the version discussion.
>
> At the beginning we discussed the following question: Do we need
> something other than base mode for HPKE when used with COSE?

IMO, not currently. However, we should ensure, that such things can be
added in future without allocating new parameters. Which in turn impiles
that HSI (HPKE Sender Info) is either dictionary or polymorphic.
However, since each mode is its own special snowflake, I do not see need
for IANA registry.


> Then, the discussions moved into how to encode future versions of HPKE
> into the algorithm identifier. To me the discussion is a bit abstract
> since there is (at least to my knowledge) to plan to work on a new
> version of HPKE (given that the current version is not old).

Situation with future versions is even worse than with auth-MAC: With
auth-MAC, one at least knows what information needs to be encoded. But
with future versions, nobody even knows what is needed.

So beyond ensuring HSI parameter is extensible, there is nothing that
can be done.



So in summary:

- Do just HPKE-v1 base mode for now.
  - Possibly other stuff in future.
- Define HSI so that set of fields can change.
  - Parametrized by alg.
  - No need for registry.




-Ilari

_______________________________________________
COSE mailing list
[email protected]<mailto:[email protected]>
https://www.ietf.org/mailman/listinfo/cose
IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
_______________________________________________
COSE mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/cose

Reply via email to