Giter VIP home page Giter VIP logo

Comments (13)

hirotakaster avatar hirotakaster commented on July 17, 2024 1

Hi @jpmens , @baijerry , @mpchst , Now I upload MQTT-TLS library 1st version.
https://github.com/hirotakaster/MQTT-TLS
TLS library is very fat, so I upload to other repo.

from mqtt.

hirotakaster avatar hirotakaster commented on July 17, 2024

Hi @jpmens ,
Oh, your contribution are very helpful and welcome!! SSL/TLS security option is needed in MQTT, but Photon/Spark firmware don't have SSL/TLS library yet. So I think If I implement SSL/TLS with MQTT, simple SSL/TSL(socket library like a OpenSSL) have to include to the MQTT(Photon) source code tree.

from mqtt.

jpmens avatar jpmens commented on July 17, 2024

Indeed, but I think OpenSSL would be much too large. I recently stumbled over wolfSSL (https://www.wolfssl.com/wolfSSL/Home.html) which seems much more suited to embedded hardware.

from mqtt.

hirotakaster avatar hirotakaster commented on July 17, 2024

Thank you. I know wolfSSL now, this is good for embedded system like a Photon.

from mqtt.

baijerry avatar baijerry commented on July 17, 2024

Hi @hirotakaster , any updates on TLS support? Over in the community forums there is buzz about glowfish's httpsclient (https://github.com/glowfishAPI/httpsclient-particle#adhere-to-security) as well as https://tls.mbed.org/

from mqtt.

hirotakaster avatar hirotakaster commented on July 17, 2024

Hi, is this topic? https://community.particle.io/t/https-client-is-here-for-the-photon-by-the-glowfi-sh-team/15934
httpsclient-particle license is based GPL so, maybe hard to use. If you try implement TLS library with MQTT, you would be better to use TropicSSL or PolarSSL.

from mqtt.

mpchst avatar mpchst commented on July 17, 2024

mbed TLS (previously known as PolarSSL) is used in the Photon firmware already: https://github.com/spark/firmware/tree/develop/communication/lib/mbedtls

And using it for MQTT should be feasable as well: https://github.com/MediaTek-Labs/aws_mbedtls_mqtt

from mqtt.

hirotakaster avatar hirotakaster commented on July 17, 2024

Hi @mpchst , thank you for your info. I known mbedTLS in firmware, but Particle's mbedtls header files can't use directly, it need to include all mbedtls files(header/source) into library. MediaTeck-Labs implements are very useful reference.

from mqtt.

hirotakaster avatar hirotakaster commented on July 17, 2024

I try to use Particle mbedTLS, but it's hard to use and having some problems. I use Particle mbedTLS on WebIDE/Desktop IDE, but it can't compile. This issue need long time:)

from mqtt.

hirotakaster avatar hirotakaster commented on July 17, 2024

Hi @mpchst , @jpmens , Now I publish TlsTcpClient : https://github.com/hirotakaster/TlsTcpClient , and I will implements this library to MQTT.

from mqtt.

mpchst avatar mpchst commented on July 17, 2024

Great news, will try it!

from mqtt.

hirotakaster avatar hirotakaster commented on July 17, 2024

Now this use for server certification only I checked on mosquitto TLS server.
And this can not use on Amazon IoT MQTT broker, because of AWS IoT server and client certification with private key processing is very heavy, TLS failed on malloc/calloc in RSA funcation.

from mqtt.

hirotakaster avatar hirotakaster commented on July 17, 2024

Hi there,
MQTT with TLS is please check this repo.
https://github.com/hirotakaster/MQTT-TLS

from mqtt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.