vladak / radio2mqtt

RFM69 to MQTT gateweay
0 stars 0 forks source link

enable encryption #3

Closed vladak closed 3 months ago

vladak commented 3 months ago

Not sure how strong the AES encryption used by RFM69 (w.r.t. IV, cipher mode, replay, etc.) is however it would at least obfuscate the message.

vladak commented 3 months ago

Generated pseudo-random key with

"".join([hex(x) for x in random.randbytes(16)]).replace("0x", "\\x")

and set it into the configuration of both the shield and the plug2mqtt Feathers.