Is there any way to make signing faster?
-
I am using signing and whitelisting (the gateway, not all nodes) on all my nodes at the moment as I feel that security really is important. That way noone but me should be able to switch on/off my devices. My problem is that signing used in my RGBW controllers makes them react pretty slow.
With signing enabled its about 0.5-1s between clicking "on" in domoticz and the light turning on. Without signing the reaction is pretty much instant.
In most cases this is no problem but with light(switches) I am used to instant reactions so this gets really annoying really fast.I know this has to be a little slower because several messages are send back and forth but is there any way to make this faster?
-
@LastSamurai are you using software based signing or atsha204a based signing?
Yes signing is slower due to the fact that the current scheme require a nonce exchange for every message (not counting the additional computational cost).
It is currently not possible to reduce the handshaking without compromising security.
New security schemes are being discussed that would be nonce less but they are not finalized.
-
@Anticimex I am using software based signing on atmega 328p based nodes.
I guess I'll wait for the new methods then and just ignore the delay
-
@LastSamurai I am afraid so. Or rely on encryption.
Suggested Topics
-
Update RF24 library to latest version
Bug Reports • 23 Mar 2014, 23:37 • andriej 24 Mar 2014, 22:52 -
Meet in Malmö, Summer 2016?
General Discussion • 1 Feb 2016, 15:34 • bjacobse 4 Mar 2025, 00:29 -
Email notifications received twice
General Discussion • 6 Feb 2023, 16:15 • Jodaille 22 days ago -
Why is the output of ACS712 current measurement module unchanged?
General Discussion • 19 Jul 2021, 09:09 • Tessie T 19 days ago -
Which device I have to use to connect with accelerometer before connecting to my pc?
General Discussion • 24 Jan 2023, 17:16 • Yada Kijsathan 16 Mar 2025, 20:17 -
Is it possible to extract child ID from a just sent message?
General Discussion • 8 Nov 2021, 09:21 • Nigel31 18 days ago