okay, i tried with python2
sudo python2 osmo-sim-auth.py -r 00000000000000000000000000000000 -a
ec9320c2c2000000e1dd22c1ad3e2d3d
but this is the output
Traceback (most recent call last):
File "osmo-sim-auth.py", line 137, in <module>
handle_usim(options, rand_bin, autn_bin)
File "osmo-sim-auth.py", line 32, in handle_usim
u = USIM()
File "/usr/src/osmo-sim-auth/card/USIM.py", line 53, in __init__
ISO7816.__init__(self, CLA=0x00)
File "/usr/src/osmo-sim-auth/card/ICC.py", line 148, in __init__
cardtype = AnyCardType()
File "/usr/local/lib/python2.7/dist-packages/smartcard/CardType.py",
line 54, in __init__
super().__init__()
TypeError: super() takes at least 1 argument (0 given)
how can i solve this?
On 4/21/22 09:35, Riemer, Björn wrote:
Hi,
The script seems to be python2 and you are running it with python3.
Either the script has to be ported or yust try to use legacy python2.
Björn
Am 21.04.2022 14:13 schrieb msfu <msfu666(a)gmail.com>om>:
hello,
i have this issue with osmo-sim-auth.
if i do
sudo python osmo-sim-auth.py -r 00000000000000000000000000000000 -a
ec9320c2c2000000e1dd22c1ad3e2d3d
the cli repeats:
Traceback (most recent call last):
File "osmo-sim-auth.py", line 27, in <module>
from card.USIM import USIM
File "/usr/src/osmo-sim-auth/card/USIM.py", line 56
print '[DBG] type definition: %s' % type(self)
^
SyntaxError: invalid syntax
maybe it's missing a library for USIM or something else?
can you help me get beyond this issue?
Thank you