Giter Club home page Giter Club logo

Comments (11)

frankmorgner avatar frankmorgner commented on August 19, 2024

Interesting, I never tested this. Thanks for the great step-by-step guide. I hope, I'll find time to try this soon.

Your stacktrace shows an error that's within a dependent python module, not within one of the virtual smart card modules. Thus, I conclude that your setup is missing some bits.

Have you tried the commandline options suggested in http://stackoverflow.com/questions/32457341/pyinstaller-and-onefile-build-causes-error-loading-python-dll-error-code-14001? There is also some information about debugging this kind of problems here pyinstaller/pyinstaller#1291. You could also try the dependency walker to check which dll is missing http://www.dependencywalker.com/.

from vsmartcard.

joaoguariglia avatar joaoguariglia commented on August 19, 2024

Cool, I'll try and tell you

from vsmartcard.

joaoguariglia avatar joaoguariglia commented on August 19, 2024

Hello good Morning!
I tried in several ways to compile for exe, even with the mentioned tips but nothing worked, I said I do not understand anything about python, programming alias, just curious, my area is infrastructure, if you have a little time to reproduce those steps And help me with this error I'd be grateful, I'm putting together a vpicc client which we can then insert into your site for the new ones if you have interest.

from vsmartcard.

joaoguariglia avatar joaoguariglia commented on August 19, 2024

screenshot
Hello .. Good evening,
To not stay still I made a client in Batch in Windows, because I know a little bit about Batch, it tests on your Windows to see if it works, the source code is inside too.
Test done in Windows 10 64bit

https://1drv.ms/u/s!AnFFaoMvX5FCkGh8mYA8yr-Mb404

If you pass me or implement errorlevel that windows can interpret I think I can mount a service on windows to run in the background and stay monitored when the connection drops and so reconnect again.

from vsmartcard.

frankmorgner avatar frankmorgner commented on August 19, 2024

I hope to get my hands on a Windows machine next week for trying out...

The Windows service is a nice idea! If I'm not mistaken this would even allow windows logon with the virtual card. Maybe you should also look into Windows' builtin virtual smart card that's based on using a key in a TPM. There are several guides available on how to set this up.

The debug level can be chosen by adding -v (multiple times) to the command line. It will be written to stdout.

from vsmartcard.

joaoguariglia avatar joaoguariglia commented on August 19, 2024

1-) Windows logon, ummm I do not understand, the service runs with the SYSTEM account, right?
2-) I work with desktop virtualization if you want I can leave a new windows 10 VM in the cloud for you to do some tests, the access would be via RDP then I will pass the credentials and you do whatever you want.
3-) I have another question, does the VPCD run on windows doing the reverse?
SmartCard - >> Ubuntu (vicc) - >>> Windows - >> VPCD
I mounted the BixVReader driver in Windows what would be the next step?

from vsmartcard.

frankmorgner avatar frankmorgner commented on August 19, 2024
  1. If you run vicc as system service connecting to localhost, this will make the card available even when you're logging out. So the card will be present in the local reader for windows logon. However, thinking about this, this only replaces your password with a PIN, which isn't a big difference.
  2. I have a machine ready with python and dependencies, so I hope I can check your build recipe quickly next week.
  3. Yes, vpcd is available on Windows, Linux and Mac. You can run the virtual smartcard (vicc) on either platform and connect to the virtual driver (vpcd) on either platform. Your next step would be to run vicc --hostname IP_OF_WINDOWS_VPCD. If you want to relay a real card you need to add --type=relay, which would be equivalent of using pcsc-relay --emulator=vpcd --vpcd-hostname=IP_OF_WINDOWS_VPCD --connector=pcsc.

from vsmartcard.

frankmorgner avatar frankmorgner commented on August 19, 2024

Isn't the third point what you did in #86?

from vsmartcard.

frankmorgner avatar frankmorgner commented on August 19, 2024

@joaoguariglia thanks for your detailed description for compiling to an executable. I finally had the chance to verify the procedure on a 32 bit Windows. Note that although I didn't use swig or M2Crypto, I successfully tested vicc.exe --type relay (The problem may still be present, but due to bca53f9 it's limited to the ePassport/Cyberflex emulation, where it's actually needed).
Anyway, I think, for Windows users this is still a gain to quickly get started and I'll include the executable in the next relese.

from vsmartcard.

joaoguariglia avatar joaoguariglia commented on August 19, 2024

Hello Frank, thanks for the feedback, after this Beta I have already developed a GUI and several options, what I did was create a windows tunnel for Linux, I bought an OrangePi Zero and the cards are remote, then with more time I show you , the product is ready for use, I tested it in several companies.

from vsmartcard.

frankmorgner avatar frankmorgner commented on August 19, 2024

sounds nice, I'm excited to have a look!

Note that if you're only using the PC/SC relaying, you should consider using pcsc-relay.exe, which has a much lower footprint...

from vsmartcard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.