Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COSE_Recpient header protection #44

Open
laurencelundblade opened this issue Oct 30, 2023 · 1 comment
Open

COSE_Recpient header protection #44

laurencelundblade opened this issue Oct 30, 2023 · 1 comment

Comments

@laurencelundblade
Copy link
Contributor

In the two-layer option, there is a COSE_Recipient which has a protected header that must be protected.

One option is to use an Enc_structure of type "Enc_Recipient". Another option is to use Context Info Structure like ECDH alg ID -29 does.

This is probably wrapped up with how Context Info Structure is optional or not.

@dajiaji
Copy link
Contributor

dajiaji commented Nov 4, 2023

I only implemented "Enc_Recipient" and I don't see the need to add support for the latter for now.

From the perspective of simplicity and interoperability of the COSE-HPKE spec, I think it would be better to make it clear that the use of KDF_Context_Info is not recommended for COSE-HPKE. At least, I think it should be optional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants