Open thelsing opened 5 years ago
Another implementation in Python: https://github.com/XKNX/xknx/pull/875/files
Hi 👋! Since there is no support for Tunnelling at all currently, you may be more interested in Secure Routing. You can find a Python implementation here: https://github.com/XKNX/xknx/blob/5fa7f8b8712ef3c9631fc2617fa0a0996bf9656c/xknx/io/ip_secure.py#L388 This doesn't need Elliptic curve or PBKDF2-HMAC-SHA256 iirc 😃
Note: In xknx we don't expect to have a way to permanently store data, so we refrained from storing the latest timer value and just synchronise to other devices on startup.
xknx now has data secure support: https://github.com/XKNX/xknx/blob/main/xknx/secure/data_secure.py
Crypto stuff required:
AES CBC MAC(already there due to data secure)