eclipse-hono / hono

Eclipse Hono™ Project
https://eclipse.dev/hono
Eclipse Public License 2.0
450 stars 138 forks source link

Missing (D)TLS IoT oriented features in Java world ? #3645

Open sbernard31 opened 2 months ago

sbernard31 commented 2 months ago

I'm the main maintainer of Leshan project : a Java LwM2M implementation hosted by Eclipse Foundation.

Until now we are using Scandium (a java DTLS 1.2 implementation hosted Eclipse foundation from Californium project) but recently I need to look at TLS 1.2 for Leshan (because we try to add coaps+tcp support) and I came to the conclusion that :

There is not so good choice in Java world for DTLS and TLS for IoT.

I ask myself if my assumption :

I created a github repository and begin to summarize some information about that : https://github.com/sbernard31/thermos

The idea would be to :

sophokles73 commented 2 months ago

I am not sure if I understand correctly. Do you want to improve the existing DTLS implementation in OpenJDK?

sbernard31 commented 2 months ago

Uups, bad point for me it will be hard to involve people if I'm not clear. I should consider to review my text to improve this.

So try to summarize better.

My understanding :

Do you want to improve the existing DTLS implementation in OpenJDK?

This could be a way (lobbying to change OpenJDK TODO list and/OR try to help pushing code). But maybe not the only one possible solution, we could also imagine to try to add needed API in OpenJDK and push implementation in BouncyCastle. OR maybe work on a durable project which host an mbedTLS java binding?

I don't know exactly :shrug: But first we must be sure that IoT Java Developers agree about the situation and collects their needs then later see how we can solve it.

(Note that I'm not just talking about DTLS but also TLS in version 1.2 and/or 1.3)

Do not hesitate to ask again if still not clear :slightly_smiling_face: