node-red-contrib-knx-ultimate
node-red-contrib-knx-ultimate copied to clipboard
KNX IP secure and KKNX data secure implementation
Hi @Supergiovane ,
just in case you are searching for existing implementation of those two secure layers, I would like to point you to my implementation of the KNX data secure layer in this Arduino KNX stack: https://github.com/thelsing/knx/blob/master/src/knx/secure_application_layer.cpp
Here are some learnings from my journey while implementing it: https://github.com/thelsing/knx/issues/57
The data secure implementation was inspired by this one: https://github.com/calimero-project/calimero-core/blob/master/src/tuwien/auto/calimero/secure/SecureApplicationLayer.java
The KNX IP secure layer has not been implemented yet in the above KNX stack. But maybe this helps? https://github.com/calimero-project/calimero-core/blob/master/src/tuwien/auto/calimero/knxnetip/SecureSessionUdp.java
You will definitely want to read the KNX specs. AN158 (Data secure) and AN159 (IP secure).
Hi Nanosonde! Thanks! Yes, i also saw the Calimero implementation and i bought the ISO for KNX Secure. Thank you for pointing me out your Arduino KNX stack, i'll take a look!! I'm working on KNX Secure and i hope to release the first secure implementation before the summer arrives.
Nanosonde seems an italian name.
Hey there!
In case you are looking for an additional IP-Secure implementation, I just got this working with Python in xknx - it's still a draft though. https://github.com/XKNX/xknx/pull/875
There is a file in examples/
that might be helpful. https://github.com/XKNX/xknx/blob/ce1cda0cf6caa30f7bf8d33004e8b37f5da3f7a1/examples/ip_secure_calculations.py
Thank you!
If you need help to test a secure implementation, please feel free to ping me. I tried to connect to my secure KNX router but failed currently (signature verification failed for keyring
)
Hello there, is the secure implementation tested now?
Hi We are working on that, but we need time. We work on that in our free time.
Hi Thank you a lot for the update.