From f36e9fd39fe8e786a6c0f05c418bb5e1b7bf1c35 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 10 Jun 2024 11:40:36 +0200 Subject: [PATCH] es9p_client: Use a plausible TAC (copy from lpac) Some SM-DP+ (notably Idemia) fail if the TAC is not valid. Change-Id: I48890c4a56147410d0cd5c4e47647b8eb5ad9998 --- contrib/es9p_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/es9p_client.py b/contrib/es9p_client.py index a2210356..987b85ed 100755 --- a/contrib/es9p_client.py +++ b/contrib/es9p_client.py @@ -147,7 +147,7 @@ def do_download(opts): ('ctxParamsForCommonAuthentication', { 'matchingId': opts.matchingId, 'deviceInfo': { - 'tac': b'\x00'*8, + 'tac': b'\x35\x23\x01\x45', # same as lpac 'deviceCapabilities': {}, #imei: }