This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to get a secure thread network ?

Hi all,

I am working with Thread SDK v3.1.

When I run mqttsn-client-public and subcribe to make MQTT-SN network use UDP. But it doesn't have DLTS. 

In the topic : https://devzone.nordicsemi.com/f/nordic-q-a/41054/mqttsn-with-dtls , they said, this example is using AES128 and Thread embedded encryption, I tried to find the part using AES128 but I did't see it. 

Data was sent by otUdpSend function, so it doesn't have AES128 secure, I think it only use Thread embedded encryption.

Please show me how to use AES128 in the example ?

Parents
  • Hi,

    All communication inside the Thread network is encrypted using 128-bit AES encryption, as specified in IEEE 802.15.4 MAC layer specification. It should not be necessary to add additional AES encryption on the data inside the thread network. It is possible to establish end-to-end DTLS communication, but as described by Lukasz in the thread you linked, this will require significant changes in both the gateway and the example. Since communication inside Thread network is encrypted, and communication from the gateway in border router to cloud is using TLS, there should be no need to add DTLS in addition.

    Best regards,
    Jørgen

Reply
  • Hi,

    All communication inside the Thread network is encrypted using 128-bit AES encryption, as specified in IEEE 802.15.4 MAC layer specification. It should not be necessary to add additional AES encryption on the data inside the thread network. It is possible to establish end-to-end DTLS communication, but as described by Lukasz in the thread you linked, this will require significant changes in both the gateway and the example. Since communication inside Thread network is encrypted, and communication from the gateway in border router to cloud is using TLS, there should be no need to add DTLS in addition.

    Best regards,
    Jørgen

Children
Related