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

Support for DTLS? #275

Closed
HendrikVE opened this issue Jan 25, 2022 · 6 comments
Closed

Support for DTLS? #275

HendrikVE opened this issue Jan 25, 2022 · 6 comments
Assignees

Comments

@HendrikVE
Copy link

Since paho.mqtt-sn.embedded-c has support for DTLS it would be awesome if wolfMQTT had support for this as well. Are there any plans for this? As wolfMQTT uses wolfSSL, which supports DTLS, this looks like a perfect fit to me :P

@embhorn embhorn self-assigned this Jan 25, 2022
@embhorn
Copy link
Member

embhorn commented Jan 25, 2022

Hello @HendrikVE

Yes! This is something we are discussing. Do you have any specific requirements for the DTLS encryption? Would you be able to provide feedback / testing?

@HendrikVE
Copy link
Author

Nothing special I guess. Personally I would like to use DTLS for the sn-client using PSK and maybe also RPK which are also the options supported by RIOT and CoAP right now, but the paho gateway seems to only support X.509 at the moment. I hope adding e.g. PSK to paho should not be too complicated and I might take a look at it myself. I would be happy to support you with some testing feedback :)

@fj-blanco
Copy link

fj-blanco commented Oct 3, 2023

Hello @HendrikVE

Yes! This is something we are discussing. Do you have any specific requirements for the DTLS encryption? Would you be able to provide feedback / testing?

I would like to try a DTLS connection between some MQTT-SN clients and a Gateway/RSBM. I'm currently working on an academic project where this feature would be extremely useful. Is there any update on the timeline for DTLS support? I'd be more than happy to provide feedback and participate in testing.

Best ,

@embhorn
Copy link
Member

embhorn commented Oct 3, 2023

Hi @fj-blanco

The wolfMQTT client library for MQTT-SN added support for DTLS in the PR:
#348

We'd love to hear your feedback!

@HendrikVE - I'll go ahead and mark this issue as closed.

@embhorn embhorn closed this as completed Oct 3, 2023
@fj-blanco
Copy link

Hi @fj-blanco

The wolfMQTT client library for MQTT-SN added support for DTLS in the PR: #348

We'd love to hear your feedback!

@HendrikVE - I'll go ahead and mark this issue as closed.

Thanks. The point was, right now wolfSSL seems like the only way to go for DTLS 1.3 (interesting for PQ for example). But wolfSSL's MQTT-SN is just the client, right? As far as I know, there's no Gateway/RSBM/broker that works with wolfSSL for DTLS, so setting up MQTT-SN communication over DTLS 1.3 doesn't seem straightforward. That's why I think DTLS support in wolfMQTT would be interesting.

@embhorn
Copy link
Member

embhorn commented Oct 3, 2023

@fj-blanco

Right! We would need to write our own gateway, or modify the Paho MQTT-SN gateway to support wolfSSL.

I've created a new issue for this #358

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants