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

BearSSL Support WiFiNINA Firmware #222

Open
com98 opened this issue Jun 27, 2022 · 0 comments
Open

BearSSL Support WiFiNINA Firmware #222

com98 opened this issue Jun 27, 2022 · 0 comments
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@com98
Copy link

com98 commented Jun 27, 2022

Hey there!

I've recently bought a Arduino UNO WIFI Rev 2 and I'm using the WifiNINA firmware and this library to interact with my W102. Everything works just fine and I'm able to successfully connect to websites using SSL and this library.

The next step for me now was to securely connect to a MQTT broker (e.g. AWS IOT) using client authentication. Thanks to the ECC608 module onboard and various tutorials out there using the BearSSL this seemed like an easy task to do. Unfortunately though the UNO Wifi Rev 2 only comes with very little memory, which doesn't allow me to use the BearSSL library on the ATmega. After researching a bit I found out that there is a pull request in the WiFiNINA firmware offloading the BearSSL and ECC608 library to the W102: arduino/nina-fw#57. Plus as far as I can tell the firmware also supports using the BearSSL client already - at least I've found various references in the CommandHandler file there (https://github.com/arduino/nina-fw/blob/master/main/CommandHandler.cpp).

Please correct me if I'm wrong, but to me it looks like BearSSL is ready to use from the firmware side but it looks like the WifiNINA library has not fully implemented that BearSSL support yet.

Hence my question: Am I correct with the statement above? And do you have any plans on integrating BearSSL client authentication (or other BearSSL features) to the WifiNINA library? I think this would be a very cool feature boosting boards like the UNO WIFI Rev 2 and giving them the ability to securely connect to MQTT brokers with client authentication.

PS: I'm pretty new on the whole topic of microcontrollers, so please feel free to correct me in case I misunderstand something!

Thanks a lot in advance! And thanks for also maintaining the WifiNINA library and firmware, awesome work!

Best regards,
Lukas

@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

2 participants