Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UpdateClass::setMD5 store expected md5 in lowercase #8959

Merged
merged 3 commits into from
Dec 5, 2023

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
38 checks passed
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