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

is it possible to decrypt the BT mesh packets that device key encrypted with nRF 52840 dongle

Hi experts

i am using nRF Sniffer to decrypt the BT Mesh packets with Wireshark, it can work smoothly. However, i tested and found that the packets device key encrypted cannot be decrypted and packets using netkey or appkey are all can be decrypted. the details pls refer to the following snapshots:

can you give me a hand?

many thanks.

Parents
  • The first screen shot seems to have used the device key for the encryption (as you have stated). You will have to input the device keys in wireshark to decrypt the message. The device keys will be in the provisioner JSON file. I am not sure if the device key support was enabled in the Bluetooth Mesh wireshark dissector.

    Can you confirm if the device key has been input into wireshark ?

    Edited: I have confirmed that device keys can be loaded on to the Bluetooth mesh dissector in wireshark v3.4.2, so please verify that you have got the unicast address for the node and the device address and try again. 

Reply
  • The first screen shot seems to have used the device key for the encryption (as you have stated). You will have to input the device keys in wireshark to decrypt the message. The device keys will be in the provisioner JSON file. I am not sure if the device key support was enabled in the Bluetooth Mesh wireshark dissector.

    Can you confirm if the device key has been input into wireshark ?

    Edited: I have confirmed that device keys can be loaded on to the Bluetooth mesh dissector in wireshark v3.4.2, so please verify that you have got the unicast address for the node and the device address and try again. 

Children
Related