Share the saved admin password across ESP32 management services
Use the committed node credential for setup WiFi, WebConfig and browser OTA. Add persistent ESP32 WiFi Companion management credentials without changing preferences layouts, revoke stale browser sessions on rotation, retain scoped save receipts, and coordinate credential changes with flash uploads. Keep external-service credentials and trusted TCP protocol compatibility independent. Update live join QR codes, failure handling and documentation. Validated 51 native cases, 158 related host and browser methods, and serial Full V4 Companion, Station G3 Repeater, ESP32-C6 Room Server and V4 Sensor firmware builds.
This commit is contained in:
1 parent
a6a3cb5ebc
commit
cd02e55824
58 files changed
+5749
-2439
No files matched your search
@@ -1,6 +1,9 @@
|
||||
#include "Mesh.h"
|
||||
#include <helpers/ManagementReport.h>
|
||||
#include <SHA256.h>
|
||||
#ifdef ESP_PLATFORM
|
||||
#include <helpers/esp32/ManagementPassword.h>
|
||||
#endif
|
||||
#include "helpers/ota/OtaFormat.h" // request types used by TempRadio relay-pressure tracking
|
||||
//#include <Arduino.h>
|
||||
#if defined(ENABLE_OTA)
|
||||
@@ -407,6 +410,9 @@ void Mesh::loop() {
|
||||
if (_ota_forwarded[0].valid && !isAnyTempRadioActive()) resetOtaForwardCache();
|
||||
Dispatcher::loop();
|
||||
serviceLoopMaintenance();
|
||||
#ifdef ESP_PLATFORM
|
||||
esp32::managementPassword::service(millis());
|
||||
#endif
|
||||
#if defined(ENABLE_OTA) && defined(ESP32_PLATFORM) && \
|
||||
(defined(WIFI_OTA_SEEDER) || defined(WIFI_SSID))
|
||||
ota::WiFiOtaSeeder::loop();
|
||||
|
||||
Reference in new issue
Block a user