node-red-contrib-knx-ultimate icon indicating copy to clipboard operation
node-red-contrib-knx-ultimate copied to clipboard

KNX IP secure and KKNX data secure implementation

Open nanosonde opened this issue 2 years ago • 4 comments

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).

nanosonde avatar Feb 02 '22 08:02 nanosonde

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.

Supergiovane avatar Feb 02 '22 08:02 Supergiovane

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

farmio avatar Feb 25 '22 21:02 farmio

Thank you!

Supergiovane avatar Feb 26 '22 04:02 Supergiovane

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)

Flow86 avatar Aug 01 '22 08:08 Flow86

Hello there, is the secure implementation tested now?

nikosvai avatar Nov 17 '22 06:11 nikosvai

Hi We are working on that, but we need time. We work on that in our free time.

Supergiovane avatar Nov 17 '22 06:11 Supergiovane

Hi Thank you a lot for the update.

nikosvai avatar Nov 17 '22 06:11 nikosvai