I have a doubt about LoRaServer implementation. I would like to explain it with an example.
Let’s suppose that I want to deploy LoRaServer in my university to provide LoRaWAN infrastructure to any researcher from different groups. There is a particular group that are researching on a very secret project. Those guys are very jealousy of the data obtained from their sensors out there. According to LoRaWAN specification, Payload is encrypted with AppKey, which is different to NetKey. So I could agree with other researchers on not to share between us. Sensors will have both keys, encrypting payload with AppKey and encrypting packet with NetKey. As soon my network server receive the packet, it uses the NetKey to unencrypt it. Then, it should forward the still encrypted payload to the application server, a different server hosted by that research group. So far, so good.
My question is if that implementation is possible. I couldn’t find how to make it like that in my current LoRaServer implementation.
With best regards