anthonykirby / lora-packet

LoRa radio packet decoder
MIT License
261 stars 83 forks source link

Correct a bug with Join Accept encryption #43

Closed ngraziano closed 4 years ago

ngraziano commented 4 years ago

When trying to use this library to simulate response to a device to make some test with a modified LMIC I find that Join accept are not correctly encrypted.

CryptoJS.AES.decrypt want a base64 encoded value for decrypt.

Also add a test.