-
Notifications
You must be signed in to change notification settings - Fork 0
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
[PW_SID:665727] [1/2] handshake: add support to work around buggy OWE APs #122
Conversation
This was using a lambda function as input which runs much too fast for UML to advance the time. Change this to sleep for 100ms between each check. This fixes the random hang in testNetconfig.
The early OWE implementation for hostapd always used SHA256 to calculate the PTK, which violates the spec for group 20 and 21. This bug was in there long enough for the bug to make it into products and now it must be worked around here. If the workaround flag is set, always use SHA256 to calculate the PTK.
If the AP has rejected two 2/4 messages when using OWE assume its buggy and re-dervive the PTK in a way that it (hopefully) expects.
Fetch PR Make Distcheck Build - Configure Make Check Make Check w/Valgrind Incremental Build with patches |
69e5916
to
968311f
Compare
Fetch PR GitLint Make Distcheck Build - Configure Make Check Make Check w/Valgrind Incremental Build with patches Autotest Runner Clang Build |
b88066b
to
715ebbd
Compare
cd80816
to
1081046
Compare
bacae4c
to
bf67c52
Compare
1702cf9
to
d7d43ee
Compare
4dd04ad
to
dc48e01
Compare
a7eb9f8
to
2cb0444
Compare
166654c
to
fe49085
Compare
07478da
to
4cf117b
Compare
bf69279
to
f6eb4cc
Compare
f6eb4cc
to
a434086
Compare
a434086
to
4438e33
Compare
4438e33
to
4c2060a
Compare
4c2060a
to
5d2700c
Compare
5d2700c
to
a434086
Compare
2b8ee3c
to
030468e
Compare
31e670b
to
6ed130b
Compare
6ed130b
to
2993656
Compare
6ed130b
to
3c39bff
Compare
c080c99
to
a655e16
Compare
a655e16
to
a3ddc2d
Compare
0920c1e
to
46a676a
Compare
76ac191
to
b04ae4f
Compare
a550095
to
b0822d9
Compare
The early OWE implementation for hostapd always used SHA256 to calculate
the PTK, which violates the spec for group 20 and 21. This bug was in
there long enough for the bug to make it into products and now it must
be worked around here.
If the workaround flag is set, always use SHA256 to calculate the PTK.
src/handshake.c | 3 ++-
src/handshake.h | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)