From 3004059e7a610606781e9777bf8227bbda9304dd Mon Sep 17 00:00:00 2001 From: Trey Moen Date: Mon, 1 Sep 2025 10:46:51 -0700 Subject: [PATCH] wiki --- system/hardware/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/system/hardware/base.py b/system/hardware/base.py index 2e831c4c82..00f4a2bff7 100644 --- a/system/hardware/base.py +++ b/system/hardware/base.py @@ -98,6 +98,7 @@ class LPABase(ABC): return any(iccid.startswith(prefix) for prefix in ('8985235',)) def _validate_iccid(self, iccid: str) -> None: + # https://en.wikipedia.org/wiki/E.118#ICCID assert re.match(r'^89\d{17,18}$', iccid), 'invalid ICCID format. expected format: 8988303000000614227' def _validate_lpa_activation_code(self, lpa_activation_code: str) -> None: