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

pcsclite constructor stalls on a fresh windows 10 system what never had a card reader connected #37

Open
hawajrambo opened this issue Oct 4, 2020 · 1 comment

Comments

@hawajrambo
Copy link

Dear Developer,

This simple code stalls on the constructor of pcsclite on a fresh windwos 10 system,
as long as no card reader is connected at least once.

It stalls even as started from an administrator privilegized command shell.

Once any reader is connected, the code works fine, even after reboot, even as strarted as non-admin user.

const pcsclite = require('@pokusew/pcsclite');
console.log('start');
const pcsc = pcsclite(); // <<< stalls here
console.log('never reaches here');

Gabor

@martinpaljak
Copy link

I suspect this is a generic issue with windows SCard API rather than this implementation

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