+1 to COSE_HPKE_Sender agree to need for a bit more text on AAD and info struct.
Mike Prorock CTO, Founder https://mesur.io/ On Thu, Mar 2, 2023 at 3:45 AM Hannes Tschofenig <[email protected]> wrote: > Hi Laurence, > > > thanks for your additional notes. > > > Regarding the name "encapsulated_key": In Daisuke's proposal we used the > term "COSE_HPKE_Sender" for the data structure, which I also prefer. If you > are OK with it, we switch back to it. > > Regarding the aad and the info structure: This is indeed something I need > to add extra text about in the draft since various people tripped over it > already and confuse the AAD input from the different layers. > > > Ciao > Hannes > > > Am 01.03.2023 um 19:28 schrieb Laurence Lundblade: > > This is probably not quite ready for detailed comments, but I did look it > over pretty carefully. I’ve sent comments to Hannes private, but here’s two > that may be of general interest. > > *Rename encapsulated_key* > The main CBOR structure being defined here is “encapsulated_key”. I think > it should at least have “HPKE” in its name because it clearly is only for > HPKE. It will sit in the COSE registry. It’s clearly not any general COSE > mechanism for encapsulating keys. > > *Inputs to SealBase in two-layer mode* > I think an Enc_structure (5.3 in 9052) with context “Enc_Recipient” is > what should be given to SealBase for the aad parameter. This is not super > clear from 9052, but I think it is right. I’ve also been reading Jim’s code > and I think that is what it does. (There’s a few layers and occurrences of > AAD here — the external AAD input to COSE, the AAD input to the AEAD and > the AAD input to SealBase — none of these are the same). > Also, I think the info parameter to SealBase here should be “”. > > LL > > > On Feb 27, 2023, at 10:57 AM, Hannes Tschofenig <[email protected]> > wrote: > > Hi all, > > > I have just submitted version -03 of the COSE-HPKE draft capturing the > feedback on the mailing list from the last 6 months: > > https://datatracker.ietf.org/doc/html/draft-ietf-cose-hpke > > > Please let me know if you think that this version is heading into the > right direction. > > > Ciao > > Hannes > > > > > _______________________________________________ > COSE mailing list > [email protected] > https://www.ietf.org/mailman/listinfo/cose > > > > _______________________________________________ > COSE mailing [email protected]https://www.ietf.org/mailman/listinfo/cose > > _______________________________________________ > COSE mailing list > [email protected] > https://www.ietf.org/mailman/listinfo/cose >
_______________________________________________ COSE mailing list [email protected] https://www.ietf.org/mailman/listinfo/cose
