mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-16 18:38:32 +03:00
pySim-fairwaves-prog: Read a selected A3/A8 algorithm.
Change-Id: I757ea725bd5616dbd6ef329ea5981063fd780761
This commit is contained in:
@@ -104,6 +104,13 @@ def program_sim_card(card, sim_db, opts):
|
||||
else:
|
||||
print("Ki: Can't read, response code = %s" % (sw,))
|
||||
|
||||
# Read EF.A3A8
|
||||
(a3a8, sw) = card.read_a3a8()
|
||||
if sw == '9000':
|
||||
print("A3/A8: %s" % (a3a8,))
|
||||
else:
|
||||
print("A3/A8: Can't read, response code = %s" % (sw,))
|
||||
|
||||
print("Programming...")
|
||||
|
||||
# Update SPN
|
||||
|
||||
Reference in New Issue
Block a user