Bug #6398 ยป interpreter.patch
pySim/commands.py | ||
---|---|---|
675 | 675 |
raise RuntimeError('Failed to %s chv_no 0x%02X with code 0x%s, %i tries left.' % |
676 | 676 |
(op_name, chv_no, b2h(pin_code).upper(), int(sw[3]))) |
677 | 677 |
if sw != '9000': |
678 |
raise SwMatchError(sw, '9000') |
|
678 |
raise SwMatchError(sw, '9000', self._tp.sw_interpreter)
|
|
679 | 679 | |
680 | 680 |
def verify_chv(self, chv_no: int, code: Hexstr) -> ResTuple: |
681 | 681 |
"""Verify a given CHV (Card Holder Verification == PIN) |