project-chip / connectedhomeip

Matter (formerly Project CHIP) creates more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
https://buildwithmatter.com
Apache License 2.0
7.34k stars 1.97k forks source link

[Documentation] Encryption Keys, how to find it ? #33094

Open tuppulix opened 4 months ago

tuppulix commented 4 months ago

Documentation issues

Anyone know how to take the Encryption Keys to decrypt packet in wireshark using the dissector ? I try all in my knowledge but I'm not having success.

My scenario: I have a Matter plug, and i use the chip-tool to connect with it. Everything work right, but my goal is create the IM for wireshark. And my problem is being able to find the decryption key.

Thank you very much for everyone who will help me in this work.

Platform

No response

Anything else?

No response

Chapoly1305 commented 4 months ago

I am digging into the same question, the current progress is reading the code and try to print the key into the log.

For your reference, https://community.silabs.com/s/question/0D58Y0000AhNKGeSQO/how-to-print-the-network-key-of-matter?language=en_US

Let me know if you found anything.