cose-wg / HPKE

3 stars 3 forks source link

Conventions for requested `alg` assignments #50

Open OR13 opened 9 months ago

OR13 commented 9 months ago

The current registration requests start at 35 and count up, but the current COSE registry seems to prefer negative values for alg, and counting down (for key agreement).

I assume we chose the positive side because of the conventions around AEAD?

dajiaji commented 9 months ago

I think both options are fine. Whichever we choose, it will not affect the alg length (2 bytes).

I assume we chose the positive side because of the conventions around AEAD?

Probably so. Since the last step of the HPKE is AEAD, I believe there is no problem leaving it as it is.

hannestschofenig commented 9 months ago

Agree with Daisuke