3

Does MQTT-SN provide any encryption like AES-128 etc.? As I know, it's using a simple binary encryption but in my opinion this cannot be seen as a security feature. Many thanks in advance :)

1 Answers1

3

No, MQTT-SN doesn't supply any encryption at a protocol level, but you are free to encrypt the payload yourself how ever you want.

Also since MQTT-SN doesn't make any requirements on what transport is used to carry the packets, but you could build a system that uses DTLS (similar to how CoAPS works)

hardillb
  • 12,553
  • 1
  • 20
  • 34
  • But with using DTLS the size of the header is increasing, that's why it is not really useful for big applications (50k+ sensors). That is the reason why I am searching for an alternative... Thanks anyway! – Pepe Bellin Jul 19 '19 at 08:50
  • with 50k+ sensors on the same LAN segment you are going to have way more other problems – hardillb Jul 19 '19 at 08:51
  • I'm talking about industrial IoT where the carrier provides the infrastructure and the sensors are connected via NarrowBand-IoT to the cell (from there on it is just a software issue). Many thanks for your help! – Pepe Bellin Jul 19 '19 at 08:55