This patch-set adds PKCS11 support to Tunneblick (tested on r71 and r87)
At first the patch will enable PKCS11 support for OpenVPN 2.1rc15. This
affects the files in the "third_party" subdirectory.
It also extends Tunnelblick to check if a Security Token (e.g. Aladdin
eToken) is inserted and supply the password to openvpn via the management
interface.
Here are my Step by Step instructions to get things working
1. get the pkcs11-helper Package from the OpenSC project
http://www.opensc-project.org/files/pkcs11-helper/pkcs11-helper-1.07.tar.bz2
2. go to the subdirectory "third_party" and unpack pkcs11-helper-1.07.tar.bz2
3. apply the patch "pkcs11-helper-1.07-configure.diff" to
third_party/pkcs11-helper-1.07
4. apply the patch "tunnelblick-pkcs11.diff". It will modify
third_party/Makefile and tunnelblick/VPNConnection.m
5. Build and Install Tunnelblick as usual
To check my pkcs11-id on an Aladdin eToken, I use following command:
% sudo /Applications/Tunnelblick.app/Contents/Resources/openvpn
--show-pkcs11-ids /usr/local/lib/libeTPkcs11.dylib
Original issue reported on code.google.com by xa...@loppenstedt.de on 18 May 2009 at 1:32
Original issue reported on code.google.com by
xa...@loppenstedt.de
on 18 May 2009 at 1:32Attachments: