dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/34325?usp=email ) Change subject: pySim-shell: fix commandline option -a (verify_adm) ...................................................................... pySim-shell: fix commandline option -a (verify_adm) The commandline option -a, which does an ADM verification on startup, does no longer work since the verify_adm method is no longer available in the card base classes (cards.py). Let's use the verify_chv method from SimCardCommands instead. Related: RT#68294 Change-Id: Ic1e54d0e9e722d64b3fbeb044134044d47946f7c --- M pySim-shell.py 1 file changed, 16 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/25/34325/1 diff --git a/pySim-shell.py b/pySim-shell.py index af7dbca..c7b2607 100755 --- a/pySim-shell.py +++ b/pySim-shell.py @@ -1049,7 +1049,7 @@ if not card: print("Card error, cannot do ADM verification with supplied ADM pin now.") try: - card.verify_adm(h2b(pin_adm)) + card._scc.verify_chv(card._adm_chv_num, h2b(pin_adm)) except Exception as e: print(e) -- To view, visit https://gerrit.osmocom.org/c/pysim/+/34325?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: Ic1e54d0e9e722d64b3fbeb044134044d47946f7c Gerrit-Change-Number: 34325 Gerrit-PatchSet: 1 Gerrit-Owner: dexter <pmaier@sysmocom.de> Gerrit-MessageType: newchange