Hello everyone
Tunnelblick seems to not detect an already inserted smart card on macOS Sierra. The same setup worked on OSx Mavericks, as discussed and fixed here:
https://groups.google.com/forum/#!topic/tunnelblick-discuss/f6RT9eT1SJY/Applications/Tunnelblick.app/Contents/Resources/openvpn/openvpn-2.3.14-openssl-1.0.2j/openvpn --config /Library/Application\ Support/Tunnelblick/Users/user/config.tblk/Contents/Resources/config.ovpn
This is the log output from Tunnelblick:
2016-12-20 10:55:35 OpenVPN 2.3.14 x86_64-apple-darwin [SSL (OpenSSL)] [LZO] [PKCS11] [MH] [IPv6] built on Dec 7 2016
2016-12-20 10:55:35 library versions: OpenSSL 1.0.2j 26 Sep 2016, LZO 2.09
...
(a)2016-12-20 10:55:35 PKCS#11: Adding PKCS#11 provider '/usr/local/lib/opensc-pkcs11.so'
2016-12-20 10:55:35 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
(b) 2016-12-20 10:55:39 MANAGEMENT: CMD 'needok 'token-insertion-request' ok'
(c) 2016-12-20 10:55:47 MANAGEMENT: CMD 'needok 'token-insertion-request' cancel'
It stops at line (a) and a popup request "Please insert token". I press "ok" (b) on the popup and as it doesn't re-act, then "cancel" (c).
As the included openVPN succeeds in connecting with the smart card, I suspect something going in how Tunnelblick queries for the pin.
What are your guys thoughts?
Thank you for your great work!