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

[OSX 10.10] After connect and SCardReconnect, SCardTransmit raises card reset #133

Open
macosforgebot opened this issue Oct 28, 2014 · 1 comment

Comments

@macosforgebot
Copy link

@macosforgebot macosforgebot commented Oct 28, 2014

harningt@… originally submitted this as ticket:136

  • Keywords: 10.10
  • Cc: thomas_harning@…

In the following flow, the end state of the system w/ SCardReconnect is wrong.

SCardConnect(...)
SCardReconnect(..., SCARD_RESET_CARD, ...)
SCardTransmit(...) # Returns SCARD_W_RESET_CARD

SCardReconnect is supposed to 'clear out the state' such as if the card were reset by an external agent and leave the handle in a good state.

The following "works":
SCardConnect(...)
SCardReconnect(..., SCARD_RESET_CARD, ...)
SCardReconnect(..., SCARD_LEAVE_CARD, ...)
SCardTransmit(...)

Not sure if this is the correct bug-board for PCSC on 10.10 due to lack of source release, let me know if/where I should repost.

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Oct 29, 2014

@LudovicRousseau originally submitted this as comment:1:⁠ticket:136


Hello Thomas,

Now that Yosemite is out this is the good place to report bugs (no need to keep them secret). I hope the source code of the SmartCardServices? to be released "soon" by Apple here and at https://opensource.apple.com/.

You should also open a radar bug at http://bugreport.apple.com/ to help Apple set the bug fixing priorities.

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

No branches or pull requests

2 participants