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 SCardGetAttrib on Mac OS X 10.10 (Yosemite) #136

Open
macosforgebot opened this issue Nov 27, 2014 · 2 comments

Comments

Projects
None yet
2 participants
@macosforgebot
Copy link

commented Nov 27, 2014

sourin-v@… originally submitted this as ticket:139

  • Keywords: Yosemite, SCardGetAttrib

With Yosemite PC/SC Framework each call to SCardGetAttrib (dwAttrId == SCARD_ATTR_ATR_STRING) fails with SCARD_F_INTERNAL_ERROR (0x80100001)
FYI, it works well with the latest version of pcsc-lite (version 1.8.13)

Steps to reproduced :

  1. In Xcode, Create a new Command Line Project
  2. Link Project to PCSC Framework
  3. Add main.h & reader.c to the project
  4. Plug an USB Reader & insert a smartcard
  5. Compile & Run

Expected Results :
SCardGetAttrib should returns SCARD_SUCCESS and set variable dwAtrLen to the correct length

Actual Results :
SCardGetAttrib failed with SCARD_F_INTERNAL_ERROR (0x80100001)

@macosforgebot

This comment has been minimized.

Copy link
Author

commented Nov 27, 2014

sourin-v@… originally submitted this as attachment:main.c:⁠ticket:139

  • Attachment main.c (1.9 KB) added
@macosforgebot

This comment has been minimized.

Copy link
Author

commented Nov 27, 2014

sourin-v@… originally submitted this as attachment:reader.h:⁠ticket:139

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.