Skip to content

Commit

Permalink
Merge pull request #1489 from CastagnaIT/fix_linux
Browse files Browse the repository at this point in the history
Fix MSL manifest xid for linux devices
  • Loading branch information
CastagnaIT authored Oct 30, 2022
2 parents f19748f + 1b2b70e commit cad4a73
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions resources/lib/services/nfsession/msl/msl_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,14 @@ def _build_manifest_v2(self, **kwargs):
# - 'standard' no license data provided in the manifest response
# TODO: Currently on linux only the license type set to "limited" cause this error on ISA:
# License update not successful (no keys)
'licenseType': 'standard',
'xid': kwargs['xid']
'licenseType': 'standard'
}
# 30/10/2022 on linux xid must be specified on the challenge dict
# otherwise ISA raise error: License update not successful (no keys)
if common.get_system_platform() == 'linux':
params['challenges']['default'][0]['xid'] = kwargs['xid']
else:
params['xid'] = kwargs['xid']

endpoint_url = ENDPOINTS['manifest'] + create_req_params('licensedManifest')
request_data = self.msl_requests.build_request_data('licensedManifest', params)
Expand Down

0 comments on commit cad4a73

Please sign in to comment.