-
Notifications
You must be signed in to change notification settings - Fork 307
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
SSL #108
Comments
SSL on Homie for ESP8266 was a total mess. The main problem is, with PubSubClient and SSL enabled, you cannot subscribe to 5 topics or more, otherwise it crashes. It was basically not stable at all, and firing 10 messages at it in a second would crash it. You agree this is not great for an IoT object to be this sensible. Finally, the SSL fingerprint checking implementation was, well, totally insecure, so it was pretty easy to do a MITM attack. The 2.0 will use a new MQTT asynchronous library which is way, way more stable. Unfortunately, the underlying library does not support SSL ATM, but it is something we're working on. |
I found Homie as a great work so i like its backend idea. |
@ioeverything this would not prevent replay attack and would not allow authentication, it would only hide the payload. Which is the tiniest concern in our case. |
I agree with @marvinroger. Security is something that you have or don't have, there is no such "partial security". I can't think about a IoT framework that does not support security. I understand the actual difficulty do add TLS, but we may thing about other ways to add it to Homie. |
@marvinroger why don't you open homei gitter chat room to have better way to follow such important issue |
Now that ESPAsyncTCP supports SSL, there might actually be a way to make Homie for ESP8266 compatible with SSL/TLS again. I would not rely on it from a security standpoint, though. I am reather busy these days, but SSL/TLS support is on the TO-DO list. 😉 @mkeyno studying / keeping a social life / maintaining the project / answering on issues take time. I basically would have no time to follow a Gitter. But if that's a request, that might maybe be useful for the community (such a weird thing to tell myself Homie now has a community 😇 ) |
Any update on SSL? Homie is truly awesome, but can't really go to production without fixing this rather gaping hole. :) |
@marvinroger its truly promising lib specially written base on me-no-dev awesome async lib , right now I only use async lib and your homie lib in my projects , why not you open the gitter and let your friends which have more time maintain it |
… On Thu, Feb 9, 2017 at 6:47 PM, mehrdad ***@***.***> wrote:
@marvinroger <https://github.com/marvinroger> its truly promising lib
specially written base on me-no-dev awesome async lib , why not you open
the gitter and let your friends which have more time maintain it
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#108 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEyM8ekkMN4RS1mFC6EllSQS4HyZBCyRks5ra6WpgaJpZM4JHkzF>
.
|
esp8266/Arduino 2.3.0 does not ship the needed code for the SSL part of me-no-dev/ESPAsyncTCP to work. So this won't be implemented until at least esp8266/Arduino 2.4.0 is released. |
Hi wondering how progress on mqtt ssl is going ? still waiting for arduino esp8266 2.4.0 ? Any one know when that will be ? |
Update 2.4.0 rc1 (https://github.com/esp8266/Arduino/releases/tag/2.4.0-rc1) has now been released :) |
@marvinroger Any updates on tls? Tim. |
Any update on this? :) |
Has been added to V2.1 |
I tried using SSL/TLS with the current development version of homie. So my platformio.ini looks like:
And the config.json:
Unfortunately, it does not work. I had to add this to my main.cpp:
If I remove setSecure(true), I cannot connect to the MQTT broker. The log file of it says:
With setSecure(true), it works. |
Ok, now I got it: The correspoding patch has not merged yet. Sorry for the noise. |
Hello all, I have a test implementation that works pretty well: https://github.com/TuxCoder/homie-esp8266 The cert check is missing currently. :/ The dev toolchain has the ability to check against a root cert. (used letsencrypt root) |
Sorry guys I'm still committed to homie just really busy ATM. |
It also has worked, but failed sometimes, have to debug more. |
No progress for long time. Closing it. |
I would rather say, that this works again with develop-v3 branch. At least all my devices (5 currently) work with reliable SSL connections to the MQTT broker. |
Hi Marvin,
I have been using your app since version 1.0 and I really like it. However, your new version 2.0 does not handle SSL any more. You stated that you removed this feature due to reliability issue. Can you elaborate what you discovered about this? Also, are you planning to put SSL back in future release? If not, do you have any plans on making this the communication secure?
The text was updated successfully, but these errors were encountered: