Git Product home page Git Product logo

Comments (6)

reklatsmasters avatar reklatsmasters commented on May 26, 2024

@ubx-caloca How about PSK key exchange? Is your device support TLS_PSK_WITH_AES_128_GCM_SHA256 cipher suite?

from dtls.

ubx-caloca avatar ubx-caloca commented on May 26, 2024

it's a requirement ( I wish it wasn't :)). I need to talk to a device that supports both TLS_PSK_WITH_AES_128_CCM_8 and TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 with Raw Public Key.

from dtls.

reklatsmasters avatar reklatsmasters commented on May 26, 2024

AES_128_CCM_8 cipher is deprecated. I do not want to implement deprecated ciphers. I suggest you to choose a cipher without _8 part.

from dtls.

ubx-caloca avatar ubx-caloca commented on May 26, 2024

As I said before, its a requirement, sadly I cannot choose here. Actually, AES_128_CCM_8 is currently used for constraining environments. It's a mandatory-to-implement cipher suite for secure coap (rfc 7252). You can also check the description of the tinydtls project that is target specifically for that scenario (https://projects.eclipse.org/proposals/tinydtls).

It would be nice to have a pure nodejs dtls implementation that we can use to talk to those devices.

from dtls.

reklatsmasters avatar reklatsmasters commented on May 26, 2024

@ubx-caloca RFC8323 explains TLS usage for CoAP. I think i may create TLS_PSK_WITH_AES_128_CCM_8 cipher suite (see RFC7925). This is the simplest way.

The TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 cipher suite required the "cached_info" extension from RFC7924. I do not want to implement any resource management system right now.

In this case, #20 required. I'm working on PSK key exchange.

from dtls.

reklatsmasters avatar reklatsmasters commented on May 26, 2024

@ubx-caloca Sorry, i changed my plans. I will not add new key exchange types in the near future. It’s hard to maintain by oneself.

I suggest you use native bindings.

from dtls.

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.