Find a file
Thomas Kolb 24ba2242a4 Load sensitive data from the SPIFFS
Sensitive data are WiFi Logins and authentication data. This is done in
preparation for the OTA update, where the firmware image will be
transferred unencrypted and therefore passwords could be extracted from
a dumped image.
2019-11-26 22:03:44 +01:00
data Load sensitive data from the SPIFFS 2019-11-26 22:03:44 +01:00
include Load sensitive data from the SPIFFS 2019-11-26 22:03:44 +01:00
scripts Load sensitive data from the SPIFFS 2019-11-26 22:03:44 +01:00
src Load sensitive data from the SPIFFS 2019-11-26 22:03:44 +01:00
.gitignore Load sensitive data from the SPIFFS 2019-11-26 22:03:44 +01:00
platformio.ini Initial commit: SK6812 LED Fader, HTTP Server 2019-11-17 16:28:09 +01:00
README.md Load sensitive data from the SPIFFS 2019-11-26 22:03:44 +01:00

ESP32 firmware for an SK6812-based lamp

Setup notes

Authentication data for WiFi connections and OTA firmware updates is stored in the SPIFFS. You must create the following files:

data/etc/wlan

This file contains WiFi logins. Each entry consists of two lines: The first line contains the SSID to connect to, the second the password.

data/etc/auth

This file configures the authentication at the device. For now, this is used for OTA updates.

The file contains two lines: First the password, second the salt.

The salt must be known to any client performing OTA updates and can be stored in a local configuration file. The password should never be stored in any config file.