Any LoRaWAN device needs keys in order to work. They are an integral part of the protocol and used to keep data secure and to authorise devices to be able to connect to your IoT system. LoRaWAN key management is an important consideration. Nearly all LoRaWAN devices connect to a Network Server using...
22 Oct 2021 By: Kate Figg
Any LoRaWAN device needs keys in order to work. They are an integral part of the protocol and used to keep data secure and to authorise devices to be able to connect to your IoT system. LoRaWAN key management is an important consideration.
Nearly all LoRaWAN devices connect to a Network Server using an Over-The-Air-Activation process referred to as OTAA. Amongst other things, this uses an AppKey to authenticate your device and as a basis for data encryption for all communication between the device and your server.
Currently, whenever you buy a LoRaWAN device you need to be given the AppEUI (or JoinEUI as it is known in LoRaWAN 1.1) and the AppKey. It is important that this is done in a secure way. If someone is able to intercept your keys then they can compromise the security of your IoT system.
At Alliot we care so much about your security that we have built a secure service to deliver keys to our customers.
Our LoRaWAN Key Management System (KMS) is free to use for our customers, whenever you buy sensors from us (whether we have provisioned new keys or the devices are using the manufacturer's default keys), we will load the keys into KMS for you to log in and retrieve whenever you want.

Our KMS system offers the following security features:

This only covers part of the story. It is important that customers are handling keys securely once they have obtained them. Our LoRaWAN Key Management system means you do not even need to attempt to store keys yourself, if you need them again just login to our system at any time. However, it's still important to make sure that when you are loading keys into whatever LoRaWAN platform you use, that it is secure itself. Feel free to speak to us for recommendations.
Lastly, it's worth talking about the standardisation of a secure method of device provisioning and key distribution that the https://lora-alliance.org/ have worked on. This involves manufacturers (or potentially distributors such as ourselves) to operate Join Servers which handle the authentication of devices into any LoRaWAN Network Server. It decouples the authentication and encryption setup process from the Network Server and Application Servers meaning the LNS itself does not need to even know the keys anymore. This will add a whole new level of security to LoRaWAN and is a worthwhile addition to the protocol. But it relies on hardware changes to devices, widespread implementation of LoRaWAN 1.1 on devices and servers and adoption by network providers and manufacturers. So we feel that it will come but it will be some time in the future when all LoRaWAN devices and services are using it. Certainly once it is viable outside of the laboratory, we will be offering it to our customers and we lobby manufacturers to accelerate adoption of new specifications such as this.
The Alliot KMS service is available to any customers buying LoRaWAN devices from us. Please Contact Us to get started.