PCSC on macOS Sierra

Hello,


On macOS Sierra 10.12 GM, pcsctest well recognized a Smart Card reader.

But when I run a PCSC sample provided by Ludovic Rousseau,

I have the error "Transaction Failed” (SCARD_E_NOT_TRANSACTED) on first “SCardTransmit”.

"SCardEstablishContext", "SCardListReaders" and "SCardConnect" succeed.


This sample runs successfully on macOS Yosemite 10.10 and macOS El Capitan 10.11.


Do you have an idea about this issue ?

Has PCSC framework changed in macOS Sierra ?

Thanks.


Frédéric


Replies

Has PCSC framework changed in macOS Sierra ?

10.12 has lots of changes related to smart cards, not least of which is the introduction of CryptoTokenKit. This was touched on in WWDC 2016 Session 706 What’s New in Security. Alas, it’s not really my field, so I don’t have any advice on your specific issue. If no one else chimes in my recommendation is that you open a tech support incident and talk to DTS’s smart card expert.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"