Compare commits

..

No commits in common. "520545b6ded38b42c788362871364010da734a96" and "b8f87469f3f2899824b4bfc65fbbc112b778dd44" have entirely different histories.

2 changed files with 2 additions and 4 deletions

View File

@ -6,4 +6,4 @@ brotlicffi; implementation_name!='cpython'
certifi
requests>=2.31.0,<3
urllib3>=1.26.17,<3
secretstorage; sys_platform=='linux' and (implementation_name!='pypy' or implementation_version>='7.3.10')
secretstorage; sys_platform=='linux' and (implementation_name!='pypy' or python_version>='3.10')

View File

@ -475,9 +475,7 @@ class Updater:
f'The requested tag {self.requested_repo}@{update_info.tag} does not exist', True)
return self._report_network_error(f'fetch updates: {e}', tag=update_info.tag)
if not update_info.checksum:
self._block_restart('Automatically restarting into unverified builds is disabled for security reasons')
elif hashlib.sha256(newcontent).hexdigest() != update_info.checksum:
if hashlib.sha256(newcontent).hexdigest() != update_info.checksum:
return self._report_network_error('verify the new executable', tag=update_info.tag)
try: