mirror of
https://github.com/esphome/esphome.git
synced 2025-03-13 22:28:14 +00:00
Fix password md5
This commit is contained in:
parent
00105e5020
commit
21628cd7fa
@ -195,7 +195,7 @@ def perform_ota(sock, password, file_handle, filename):
|
||||
send_check(sock, cnonce, 'auth cnonce')
|
||||
|
||||
result_md5 = hashlib.md5()
|
||||
result_md5.update(password.encode())
|
||||
result_md5.update(password.encode('utf-8'))
|
||||
result_md5.update(nonce.encode())
|
||||
result_md5.update(cnonce.encode())
|
||||
result = result_md5.hexdigest()
|
||||
|
Loading…
x
Reference in New Issue
Block a user