Skip to content

OTA Unsigned binary after first one is signed, espota.py reports [INFO]: Result: OK but update fails on esp8266 #7162

Closed
@maribeiro

Description

@maribeiro

I have signed a binary and uploaded via OTA - so next OTA updates should be signed.
Then tried to see if the esp8266 would accept an unsigned binary - it's expected that it should not accept.
So I uploaded via OTA an unsigned binary, and espota.py reported [INFO]: Result: OK
But it actually failed on the esp8266 side with Error[4]: End Failed
First: why is espota reporting OK if it failed?
And second, shouldn't the error on the esp side be UPDATE_ERROR_SIGN ?

  • Hardware: ESP-12e
  • Core Version: latest git hash
  • Development Env: Arduino IDE && Platformio
  • Operating System: Windows

I have used ArduinoOTA sketch for this tests.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions