-
Notifications
You must be signed in to change notification settings - Fork 115
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
Section 4.2.2: Keying material #1274
Comments
Related Issue: #1156 |
I hope EKR find the answer in these thoughts: We do not propose to create more message integrity HMAC in the same time with the same IKM, AFAIU
Basicly the "alg:" information is used by the AS to find out the appropriate key length.
WebRTC WG decided to simplify it out and only use a fixed key length.
STUN-bis has some built in bid down protection and Hash Agility Plan that will remove SHA1 in a latter point of time, to somehow control bid down attacks. Actually STUN-bis uses both HMAC-SHA-1 and HMAC-SHA-256 for computation of the message integrity.
As it is discussed here: #1156 |
From EKR: https://lists.w3.org/Archives/Public/public-webrtc/2017May/0166.html
Generally, we try to avoid sharing the same initial keying material
with two hashes, which seems to be explicitly what you propose
here. With that said:
HMAC already has its own shortening algorithm (you hash)
You should use HKDF to generate fresh subkeys for each
hash algorithm.
Note that the OAuth response "key" parameter is a JSON Web Key (JWK)
or a JWK encrypted with a JWE format. Also note that this is the only
OAuth parameter whose value is not used directly, but must be
extracted from the "k" parameter value from the JWK, which contains
the needed base64-encoded "mac_key".
It's been a while since I looked at this piece of OAuth, but what
key is this encrypted with?
Why are you requiring that the access token be self-encrypted rather
than (say) a table lookup. This is a reasonable procedure, but it's
not the only one, and not really the standard's business.
The text was updated successfully, but these errors were encountered: