girijeshkumar2007 / tunnelblick

Automatically exported from code.google.com/p/tunnelblick
0 stars 0 forks source link

[PATCH] PKCS11 Support for Tunnelblick #89

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

Attachments:

GoogleCodeExporter commented 9 years ago
Added to the trunk as r88.

Original comment by jkbull...@gmail.com on 20 May 2009 at 3:40