frankmorgner/vsmartcard

vicc dont work

Closed this issue · 2 comments

Hi, sorry for my english
I'm having this problem whent trying to use vicc in ubuntu 23 fresh install:

vicc --type=relay --reader=2 -H=192.168.10.137 -P=35964
Traceback (most recent call last):
File "/usr/bin/vicc", line 161, in
vicc.run()
File "/usr/lib/python3/dist-packages/virtualsmartcard/VirtualSmartcard.py", line 571, in run
self.__sendToVPICC(self.os.getATR())
File "/usr/lib/python3/dist-packages/virtualsmartcard/VirtualSmartcard.py", line 506, in __sendToVPICC
self.sock.sendall(struct.pack('!H', len(msg)) + msg)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
TypeError: can't concat str to bytes

please try python3. if that works, please file a bug at ubuntu's support

Ubuntu use python3, anyway a manage to install it in debian 12 and kali linux is well. I am trying to use https://github.com/julijonas/apdu-intercept but I think it use python2. Anyway, Thank you a lot, Great Job!!!