clarify encryption keys use field#752
Conversation
|
@QZHelen could i ask for your review as well? Couldn't select you for reviewers (probably because you didn't joint the gh org?). |
fkj
left a comment
There was a problem hiding this comment.
The requirement that the Wallet MUST NOT select a key with the wrong use is new normative text, and surprisingly RFC 7517 does not contain any normative text saying what to actually do with a use parameter (e.g. that you MUST or SHOULD use a use=enc key only for encryption).
So this is technically a breaking change. However, I think any implementation that ignores use will never actually work anyway. So in this case I think we can make an exception. But this should be discussed in the WG. One option is to weaken the MUST NOT to a SHOULD NOT.
|
Looks good to me, many thanks for the work to clarify this! |
There was a problem hiding this comment.
My opinion is that "enc" actually fits well for the Credential Response encryption, while ECDH+MAC-based cryptographic holder binding should actually use sig value or register a new value for the use parameter. I believe the current language is a breaking change which we wanted to avoid.
That is pretty much what the PR says? It just adds a simplification that if |
Co-authored-by: Christian Bormann <chris.bormann@gmx.de>
paulbastian
left a comment
There was a problem hiding this comment.
approved after proper re-reading
|
Multiple positive reviews, sufficient review period, requests for changes all addressed, merging |
Closes #642