platformio / platform-espressif8266

Espressif 8266: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/espressif8266
Apache License 2.0
325 stars 219 forks source link

Over-the-Air (OTA) update when using password hash fails #159

Open imavroukakis opened 5 years ago

imavroukakis commented 5 years ago

When using the ArduinoOTA.setPasswordHash to setup OTA authentication, it is not possible to perform OTA updates. However, when using ArduinoOTA.setPassword, which sets the password in the clear, OTA updates work.

ivankravets commented 5 years ago

Does it work with Arduino IDE?

imavroukakis commented 5 years ago

That's correct

On Mon, 2 Sep 2019 at 19:39, Ivan Kravets notifications@github.com wrote:

Does it work with Arduino IDE?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/platformio/platform-espressif8266/issues/159?email_source=notifications&email_token=AANO45PWLK7OUKIW7L5NZMDQHU6TXA5CNFSM4HWHUB62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5WHLII#issuecomment-527201697, or mute the thread https://github.com/notifications/unsubscribe-auth/AANO45OF5PFZN3IQFNKMNOLQHU6TXANCNFSM4HWHUB6Q .

albertskog commented 4 years ago

I had a quick look at this and noticed the hash has to be in lower case. Could that be the issue?