Skip to content

Conversation

P-R-O-C-H-Y
Copy link
Member

@P-R-O-C-H-Y P-R-O-C-H-Y commented Dec 5, 2023

Description of Change

As calculated MD5 checksum is always lowercase, force UpdateClass::setMD5 to store the expected MD5 in lowercase as some servers may return the MD5 in uppercase.

Tests scenarios

Tested forcing Arduino OTA to receive Uppercase MD5 by espota.py. Working as expected with MD5 lowercase or uppercase.

Related links

Closes #8945

@P-R-O-C-H-Y P-R-O-C-H-Y added this to the 3.0.0-Aplha3 milestone Dec 5, 2023
@P-R-O-C-H-Y P-R-O-C-H-Y self-assigned this Dec 5, 2023
@P-R-O-C-H-Y P-R-O-C-H-Y requested a review from me-no-dev December 5, 2023 09:10
@me-no-dev me-no-dev merged commit 7ecde87 into espressif:master Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

Update.setMD5() should downcase the MD5 string

2 participants