mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
Ota hashed password (#2292)
* Add option to give ArduinoOTA a hashed value of the password hashed password can be safely stored on flash * Switch to separate method to accept the hash * Calculate the hash of plain passwords at setup * missed line * Remove underscores from local variable
This commit is contained in:
committed by
Ivan Grokhotkov
parent
c4f9f102ce
commit
e83f30a78d
@ -34,6 +34,7 @@ class ArduinoOTAClass
|
||||
void setHostname(const char *hostname);
|
||||
String getHostname();
|
||||
void setPassword(const char *password);
|
||||
void setPasswordHash(const char *password);
|
||||
void onStart(THandlerFunction fn);
|
||||
void onEnd(THandlerFunction fn);
|
||||
void onError(THandlerFunction_Error fn);
|
||||
|
Reference in New Issue
Block a user