1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-20 13:50:12 +01:00

fix verify.py use sha256sum from common

This commit is contained in:
Romain Lebbadi-Breteau 2021-12-04 18:08:16 -05:00
parent b281c4ec82
commit 3576d025fe
No known key found for this signature in database
GPG Key ID: B3F1AB30D413F23F

View File

@ -133,7 +133,7 @@ def write_json_report(url, remote_apk, unsigned_apk, compare_result):
d = hashabledict() d = hashabledict()
output[key] = d output[key] = d
d['file'] = filename d['file'] = filename
d['sha256'] = update.sha256sum(filename) d['sha256'] = common.sha256sum(filename)
d['timestamp'] = os.stat(filename).st_ctime d['timestamp'] = os.stat(filename).st_ctime
d['packageName'], d['versionCode'], d['versionName'] = common.get_apk_id(filename) d['packageName'], d['versionCode'], d['versionName'] = common.get_apk_id(filename)
if compare_result: if compare_result: