Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

virtualsmartcard reset feature. #48

Closed
12019 opened this issue May 21, 2015 · 1 comment
Closed

virtualsmartcard reset feature. #48

12019 opened this issue May 21, 2015 · 1 comment

Comments

@12019
Copy link

12019 commented May 21, 2015

Hi,
I am not sure if this is a bug or not.
vicc in relay mode. like bellow.

./vicc -t relay -P 12019 -R -vvv

when I made a tcp connection with port 12019 and just sent 3 bytes. { 0x00,0x01,0x02}

vicc has the following errors.

[root@dell52 vpicc]# ./vicc -t relay -P 12019 -R -vvv
21.05.2015 16:11:34 [INFO] Connected to card in 'Realtek Smart Card Reader Interface 00 00'
21.05.2015 16:11:34 [INFO] Waiting for vpcd on port 12019
21.05.2015 16:12:09 [INFO] Connected to virtual PCD at 172.27.103.30:12019
21.05.2015 16:12:19 [INFO] Reset
Traceback (most recent call last):
File "./vicc", line 161, in
vicc.run()
File "/root/tmp/vsmartcard/virtualsmartcard/src/vpicc/virtualsmartcard/VirtualSmartcard.py", line 804, in run
self.os.reset()
File "/root/tmp/vsmartcard/virtualsmartcard/src/vpicc/virtualsmartcard/VirtualSmartcard.py", line 50, in reset
self.mf.current = self.mf
File "/root/tmp/vsmartcard/virtualsmartcard/src/vpicc/virtualsmartcard/SmartcardFilesystem.py", line 216, in
lambda self: getattr(self, "_"+prop),
AttributeError: 'RelayOS' object has no attribute '_mf'

Thanks
--BL

@frankmorgner
Copy link
Owner

thanks for the report. it should work now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants