assemblyline-v4-service 4.5.1.dev383__py3-none-any.whl → 4.5.1.dev385__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.

@@ -1 +1 @@
1
- 4.5.1.dev383
1
+ 4.5.1.dev385
@@ -192,7 +192,13 @@ def git_clone_repo(source: Dict[str, Any], previous_update: int = None, logger=N
192
192
  ignore_ssl_errors = source.get("ssl_ignore_errors", False)
193
193
  ca_cert = source.get("ca_cert")
194
194
  proxy = source.get('proxy', None)
195
- auth = f'{username}:{password}@' if username and password else None
195
+ auth = None
196
+ if username and password:
197
+ # Basic authentication scheme
198
+ auth = f'{username}:{password}@'
199
+ elif password:
200
+ # Token-based authentication
201
+ auth = f'{password}@'
196
202
 
197
203
  git_env = {}
198
204
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: assemblyline-v4-service
3
- Version: 4.5.1.dev383
3
+ Version: 4.5.1.dev385
4
4
  Summary: Assemblyline 4 - Service base
5
5
  Home-page: https://github.com/CybercentreCanada/assemblyline-v4-service/
6
6
  Author: CCCS Assemblyline development team
@@ -1,4 +1,4 @@
1
- assemblyline_v4_service/VERSION,sha256=g5lhYDTjtOP0Gm3aTkZYsGZaXHZyks1Ie6oEZ-ar6S0,13
1
+ assemblyline_v4_service/VERSION,sha256=vrMwLLD6V1BBX-jB7_cojYRbBIE0spNOdoh5zp9Tjxo,13
2
2
  assemblyline_v4_service/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  assemblyline_v4_service/healthz.py,sha256=sS1cFkDLw8hUPMpj7tbHXFv8ZmHcazrwZ0l6oQDwwkQ,1575
4
4
  assemblyline_v4_service/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -21,7 +21,7 @@ assemblyline_v4_service/updater/__main__.py,sha256=9Os-u8Tf7MD73JSrUSPmOaErTgfve
21
21
  assemblyline_v4_service/updater/app.py,sha256=Mtmx4bkXfP4nFqqa5q15jW8QIXr4JK84lCovxAVyvPs,3317
22
22
  assemblyline_v4_service/updater/client.py,sha256=mmCwNuGSDymbvrMuEXLgTR13vqaUEjs0Jjew-9QkQtM,10848
23
23
  assemblyline_v4_service/updater/gunicorn_config.py,sha256=p3j2KPBeD5jvMw9O5i7vAtlRgPSVVxIG9AO0DfN82J8,1247
24
- assemblyline_v4_service/updater/helper.py,sha256=f0yB6iKExQAqCMkMs0aWPkzcaSy_z9sycgunoCOJlU4,9756
24
+ assemblyline_v4_service/updater/helper.py,sha256=DhxF2TVVpUY6S5dJnjRlTl6eBJrtTqw1uUAcvVWVkhM,9895
25
25
  assemblyline_v4_service/updater/updater.py,sha256=b_vCg9u75Dmp09NWAZXfG-_CriqnS7KeJ7SKjmXmrxI,31299
26
26
  test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
27
  test/conftest.py,sha256=W3SieQpZsZpGEmtLqY4aIlxREDSsHceyCrFcFsWUM0U,1851
@@ -38,8 +38,8 @@ test/test_common/test_request.py,sha256=Ceyds8BNO1O0f1kH1VEb84faJcaupvSjVKIrGdHe
38
38
  test/test_common/test_result.py,sha256=6BiOKxEPrKBjOY44jv3TY-yiXm0qI1ok_CZBnjP9TM4,45447
39
39
  test/test_common/test_task.py,sha256=P44mNcSe-3tJgDk9ppN3KbM7oN4LBVIuhONG-Gveh74,19007
40
40
  test/test_common/test_utils.py,sha256=TbnBxqpS_ZC5ptXR9XJX3xtbItD0mTbtiBxxdyP8J5k,5904
41
- assemblyline_v4_service-4.5.1.dev383.dist-info/LICENCE.md,sha256=NSkYo9EH8h5oOkzg4VhjAHF4339MqPP2cQ8msTPgl-c,1396
42
- assemblyline_v4_service-4.5.1.dev383.dist-info/METADATA,sha256=hwImoXxbm5EoAyvRXdh7LX9PgE1Pq9Oqd09Njerh2Ko,9493
43
- assemblyline_v4_service-4.5.1.dev383.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
44
- assemblyline_v4_service-4.5.1.dev383.dist-info/top_level.txt,sha256=LpTOEaVCatkrvbVq3EZseMSIa2PQZU-2rhuO_FTpZgY,29
45
- assemblyline_v4_service-4.5.1.dev383.dist-info/RECORD,,
41
+ assemblyline_v4_service-4.5.1.dev385.dist-info/LICENCE.md,sha256=NSkYo9EH8h5oOkzg4VhjAHF4339MqPP2cQ8msTPgl-c,1396
42
+ assemblyline_v4_service-4.5.1.dev385.dist-info/METADATA,sha256=T1c-u2DsK0FiXf_FC0Fpkw7qhk2mKOQSPLEphbe6QJ0,9493
43
+ assemblyline_v4_service-4.5.1.dev385.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
44
+ assemblyline_v4_service-4.5.1.dev385.dist-info/top_level.txt,sha256=LpTOEaVCatkrvbVq3EZseMSIa2PQZU-2rhuO_FTpZgY,29
45
+ assemblyline_v4_service-4.5.1.dev385.dist-info/RECORD,,