Coder Social home page Coder Social logo

Support DTLS encryption about coap-rs HOT 11 CLOSED

covertness avatar covertness commented on July 24, 2024 3
Support DTLS encryption

from coap-rs.

Comments (11)

StEvUgnIn avatar StEvUgnIn commented on July 24, 2024 1

I started working on the implementation based on the latter example. I would like @Covertness to assign this issue to me before I present my PR.

from coap-rs.

Covertness avatar Covertness commented on July 24, 2024

Thank you for your advice. I have the similar idea before. Unfortunately, I haven't enough time to implement this feature.
Of cource , any PR about the feature are welcome.

from coap-rs.

Covertness avatar Covertness commented on July 24, 2024

DTLS written in Rust seems not available. I found two issues about this:
rustls/rustls#40
sfackler/rust-openssl#528
Waiting for the implement.

from coap-rs.

StEvUgnIn avatar StEvUgnIn commented on July 24, 2024

I thought Core CoAP Standard included DTLS 1.2 .

from coap-rs.

StEvUgnIn avatar StEvUgnIn commented on July 24, 2024

I found this code based on tokio-openssl which includes DTLS encryption:
https://github.com/simmons/tokio-dtls-example/blob/master/src/main.rs

Edit:
There are multiple implementations of rust-openssl for using sslMethod::dtls()
I suggest that we take inspiration from this clean example https://github.com/JRF63/DTLS-Example/blob/master/src/main.rs

from coap-rs.

StEvUgnIn avatar StEvUgnIn commented on July 24, 2024

I am working on now after a family member of mine had health issue. Have you tried this project? https://github.com/google/rust-async-coap

from coap-rs.

Covertness avatar Covertness commented on July 24, 2024

sorry for hear that. I noticed it before. It seems only implement some basic functions and haven't contribute for a long time

from coap-rs.

fdeantoni avatar fdeantoni commented on July 24, 2024

Hi guys! Has anybody been able to make progress on this? I looked at this a couple of years ago implementing DTLS with rust-async-coap (see async-coap-dtls) but my very crude attempt is quite clunky. DTLS 1.3 should make things a lot simpler but this is still a draft if I'm not mistaken...

from coap-rs.

Covertness avatar Covertness commented on July 24, 2024

I think it's not easy to implement. I would appreciate if you could finish it.

from coap-rs.

StEvUgnIn avatar StEvUgnIn commented on July 24, 2024

@fdeantoni
Feel free to continue if you are interested.

from coap-rs.

Covertness avatar Covertness commented on July 24, 2024

#88

from coap-rs.

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.