assemblyline-v4-service 4.6.1.dev68__py3-none-any.whl → 4.6.1.dev72__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of assemblyline-v4-service might be problematic. Click here for more details.
- assemblyline_v4_service/VERSION +1 -1
- assemblyline_v4_service/updater/updater.py +5 -2
- {assemblyline_v4_service-4.6.1.dev68.dist-info → assemblyline_v4_service-4.6.1.dev72.dist-info}/METADATA +1 -1
- {assemblyline_v4_service-4.6.1.dev68.dist-info → assemblyline_v4_service-4.6.1.dev72.dist-info}/RECORD +7 -7
- {assemblyline_v4_service-4.6.1.dev68.dist-info → assemblyline_v4_service-4.6.1.dev72.dist-info}/WHEEL +0 -0
- {assemblyline_v4_service-4.6.1.dev68.dist-info → assemblyline_v4_service-4.6.1.dev72.dist-info}/licenses/LICENCE.md +0 -0
- {assemblyline_v4_service-4.6.1.dev68.dist-info → assemblyline_v4_service-4.6.1.dev72.dist-info}/top_level.txt +0 -0
assemblyline_v4_service/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.6.1.
|
|
1
|
+
4.6.1.dev72
|
|
@@ -177,7 +177,8 @@ class ServiceUpdater(ThreadedCoreBase):
|
|
|
177
177
|
return 0
|
|
178
178
|
|
|
179
179
|
def get_local_update_hash(self) -> str:
|
|
180
|
-
|
|
180
|
+
with open(self._update_tar, "rb") as tar_file:
|
|
181
|
+
return hashlib.sha256(tar_file.read()).hexdigest()
|
|
181
182
|
|
|
182
183
|
def status(self):
|
|
183
184
|
return {
|
|
@@ -584,7 +585,9 @@ class ServiceUpdater(ThreadedCoreBase):
|
|
|
584
585
|
source.name: {'classification': source['default_classification'].value}
|
|
585
586
|
for source in self._service.update_config.sources
|
|
586
587
|
}
|
|
587
|
-
|
|
588
|
+
|
|
589
|
+
with open(os.path.join(new_directory, SIGNATURES_META_FILENAME), 'w') as meta_file:
|
|
590
|
+
meta_file.write(json.dumps(signature_map, indent=2))
|
|
588
591
|
|
|
589
592
|
try:
|
|
590
593
|
# Tar update directory
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
assemblyline_v4_service/VERSION,sha256=
|
|
1
|
+
assemblyline_v4_service/VERSION,sha256=hkkVBwREanIeuDkHYl0NyVCT_i6g9v3RQvs-I2o4kCE,12
|
|
2
2
|
assemblyline_v4_service/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
assemblyline_v4_service/healthz.py,sha256=3QGBg0EZuXC6UN411HFwpLNEop9UvS9feFhvBUTP-k4,1576
|
|
4
4
|
assemblyline_v4_service/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -23,8 +23,8 @@ assemblyline_v4_service/updater/app.py,sha256=Mtmx4bkXfP4nFqqa5q15jW8QIXr4JK84lC
|
|
|
23
23
|
assemblyline_v4_service/updater/client.py,sha256=tLY84gaGdFBVIDaMgRHIEa7x2S8jBl7lQLzp4seC6aI,11200
|
|
24
24
|
assemblyline_v4_service/updater/gunicorn_config.py,sha256=p3j2KPBeD5jvMw9O5i7vAtlRgPSVVxIG9AO0DfN82J8,1247
|
|
25
25
|
assemblyline_v4_service/updater/helper.py,sha256=GeXrfuPQL0RB5IGcgvx30vcCEehUueorw6SMSExjE9Q,10751
|
|
26
|
-
assemblyline_v4_service/updater/updater.py,sha256=
|
|
27
|
-
assemblyline_v4_service-4.6.1.
|
|
26
|
+
assemblyline_v4_service/updater/updater.py,sha256=XiqabDp89-t_J6C3U33R-RvA5lMIahFW_MsAVUGyXok,31876
|
|
27
|
+
assemblyline_v4_service-4.6.1.dev72.dist-info/licenses/LICENCE.md,sha256=NSkYo9EH8h5oOkzg4VhjAHF4339MqPP2cQ8msTPgl-c,1396
|
|
28
28
|
test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
29
29
|
test/conftest.py,sha256=W3SieQpZsZpGEmtLqY4aIlxREDSsHceyCrFcFsWUM0U,1851
|
|
30
30
|
test/test_healthz.py,sha256=DkeLUlrb7rGx3nZ04aADU9HXXu5mZTf_DBwT0xhzIv4,7
|
|
@@ -40,7 +40,7 @@ test/test_common/test_request.py,sha256=Ceyds8BNO1O0f1kH1VEb84faJcaupvSjVKIrGdHe
|
|
|
40
40
|
test/test_common/test_result.py,sha256=6BiOKxEPrKBjOY44jv3TY-yiXm0qI1ok_CZBnjP9TM4,45447
|
|
41
41
|
test/test_common/test_task.py,sha256=P44mNcSe-3tJgDk9ppN3KbM7oN4LBVIuhONG-Gveh74,19007
|
|
42
42
|
test/test_common/test_utils.py,sha256=TbnBxqpS_ZC5ptXR9XJX3xtbItD0mTbtiBxxdyP8J5k,5904
|
|
43
|
-
assemblyline_v4_service-4.6.1.
|
|
44
|
-
assemblyline_v4_service-4.6.1.
|
|
45
|
-
assemblyline_v4_service-4.6.1.
|
|
46
|
-
assemblyline_v4_service-4.6.1.
|
|
43
|
+
assemblyline_v4_service-4.6.1.dev72.dist-info/METADATA,sha256=xei7fX4EHVsdxr-zosy2g4qznPlHGeIy0WdjJGDMt7E,5624
|
|
44
|
+
assemblyline_v4_service-4.6.1.dev72.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
45
|
+
assemblyline_v4_service-4.6.1.dev72.dist-info/top_level.txt,sha256=LpTOEaVCatkrvbVq3EZseMSIa2PQZU-2rhuO_FTpZgY,29
|
|
46
|
+
assemblyline_v4_service-4.6.1.dev72.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|