diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2023-07-20 17:28:10 +0200 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2023-07-20 17:36:04 +0200 |
commit | 3175d61eb2746cb7c23f08cc3a6b3031bf5d2413 (patch) | |
tree | 65fe8cee518274f2d7255add3ba6346c0e93719d | |
parent | 38306dfc047c5dabcd4995ce82f1c15099c830de (diff) |
cards: fix swapped PIN mapping number
The constant for _adm_chv_num is swapped. It should be 0x0A, rather than
0xA0
Change-Id: I5680d2deee855ef316a98058e8c8ff8cf4edbbb2
-rw-r--r-- | pySim/cards.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pySim/cards.py b/pySim/cards.py index c6a68fc..c87c488 100644 --- a/pySim/cards.py +++ b/pySim/cards.py @@ -101,7 +101,7 @@ class UiccCardBase(SimCardBase): self._scc.cla_byte = "00" self._scc.sel_ctrl = "0004" # request an FCP # See also: ETSI TS 102 221, Table 9.3 - self._adm_chv_num = 0xA0 + self._adm_chv_num = 0x0A def probe(self) -> bool: # EF.DIR is a mandatory EF on all ICCIDs; however it *may* also exist on a TS 51.011 SIM |