-
Notifications
You must be signed in to change notification settings - Fork 222
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
Non-open softAP not supported #1610
Comments
Let's start by stating that I've tried the obvious: copying config values from esp-idf-svc. Unfortunately, it looks like this issue isn't as easy as a misconfigured softAP. |
My $0.02 Can we use this issue to track the implementation, and debugging? And post what bits of code you changed? Or maybe open a Draft PR. |
I guess the problem is that we compile The reason for that is mbed-tls is quite huge and pulls in a lot of stuff from esp-idf This is also causing esp-rs/esp-wifi#109 My ultimate dream solution would be esp-rs/esp-wifi#158 ... but that's a huge thing |
is that basically a no-op thing that makes things compile but break as soon as anything needs crypto? this is essentially what we seem to be experiencing at any rate, this might probably be a blocker for esp-wifi based commercial projects |
TinyCrypt only includes support for a subset of crypto that is needed for more advanced things: https://github.com/intel/tinycrypt/tree/master/lib/source Probably the missing parts are no-ops then Ah seems it's actually not TinyCrypt but some crypto impls in wpa_supplicant itself: https://github.com/espressif/esp-idf/blob/b4268c874a4cf8fcf7c0c4153cffb76ad2ddda4e/components/wpa_supplicant/CMakeLists.txt#L104-L161 |
But the thing about the crypto is just guessing currently - probably we need to test that with an ESP-IDF example and see what config options are really needed |
Just bumping this up in the fresh list. :P |
Is there a workaround for this? Even one that imports an inconveniently-large lib? |
I think the best bet would be to get esp-rs/esp-wifi-sys#394 working, and implement the crypto functions. |
@bjoernQ Now that we support WPA enterprise (which IIRC forced us to pull in the crypto libs), is this more feasible to fix? |
Not yet unfortunately - we have some more crypto functions now but IIRC non-open AP would need mbedtls - but worth to double check definitely |
I know the readme already has a point about not supporting non-open softAP but there is no open issue about the general thing. https://github.com/esp-rs/esp-wifi/issues/454 exists but for WPA2-Enterprise, which is a subset that requires some authmode-specific code.
The text was updated successfully, but these errors were encountered: