esp8266-fastled-webserver icon indicating copy to clipboard operation
esp8266-fastled-webserver copied to clipboard

[DRAFT] Validate pattern/palette index with hash

Open henrygab opened this issue 4 years ago • 2 comments

fixes #230 ... at least in part ... by ensuring that a hash of the name for the palette and pattern match the value stored in EEPROM.

Used MurMurHash3 for speed and applicability to hashing strings in non-security context.

henrygab avatar Dec 15 '21 08:12 henrygab

@jasoncoon -- Just wanted to see if there's interest in either of the two parts of this:

  1. using hash to validate name + index match
  2. default patterns being listed by name (rather than index)

I've not yet figured a way to reliably debug on ESP8266, which is the only known issue holding this up. Testing is non-trivial.

henrygab avatar Jan 10 '22 18:01 henrygab

I wasn't overly concerned about either of these problems, but I have no problem with fixing them or this solution. Thanks!

jasoncoon avatar Jan 10 '22 23:01 jasoncoon