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

Problem with remote reader on the same PC #146

Closed
hunterra opened this issue Jul 4, 2019 · 2 comments
Closed

Problem with remote reader on the same PC #146

hunterra opened this issue Jul 4, 2019 · 2 comments

Comments

@hunterra
Copy link

hunterra commented Jul 4, 2019

Expected behaviour

I wanted to run some experiments with card relay on the same PC before trying it on several PC's.
So I have installed Bix Virtual Smart Card Reader on my Win10x64 PC. I also connected OMNIKEY 3121 cardreader to USB port
Both readers are recognised with certutil -scinfo command. OMNIKEY reader number is 1.
So I want to relay card inserted in OMNIKEY reader to Virtual reader with command
python vicc.py -vvvvv -t relay --reader 1
but got the error.

Actual behaviour

After runing the command i've got the error message:
d:\Programs\virtualsc\virtualsmartcard-0.7_win32\vpicc>python vicc.py -vvvvv -t relay --reader 1 04.07.2019 21:47:55 [INFO] Connected to card in 'OMNIKEY AG Smart Card Reader USB 0' 04.07.2019 21:47:56 [ERROR] Failed to open socket: [Errno 10061] ╧юфъы■ўхэшх эх єёЄрэютыхэю, 04.07.2019 21:47:56 [ERROR] Is pcscd running at localhost? Is vpcd loaded? Is a firewall blocking port 35963?
There also some converting problems with error message but after decoding the message says "the connection is not established"

Steps to reproduce

  1. Install vpcd_win64\BixVReaderInstaller.msi
  2. Install cert Win8.1Debug_x64\BixVReader-Package.cer (cant find Win10 so used Win81)
  3. Update driver for Unknown Device in SmartCard readers category: Win8.1Debug_x64\BixVReader-Package\BixVReader.inf
    After that there is no unkown device in list but Bix Virtual Smart Card Reader device.
  4. Install Python 2.7 and all dependecies.
  5. Run command python vicc.py -vvvvv -t relay --reader 1

Please help. thank you!

@frankmorgner
Copy link
Owner

vicc fails to connect to your virtual reader. Maybe Bix Virtual Smart Card Reader device failed to open the local port although showing up in your device manager. Please try to reboot (which should re-initialize the driver) and to then connect with vicc.

@hunterra
Copy link
Author

hunterra commented Jul 5, 2019

PC reboot doesn't help, the problem repeats after rebooting. Tryed on my notebook with also Win10x64. the result is the same. Maybe there can be any debug log from Virtual Smart Card Reader to investigate?

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