Skip to contentSkip to conversation

openvpn-2.0.2-pkcs11-20050916.patch

Openvpn-devel Alon Bar-Lev 2 participants 3 messages Sep 18, 2005 – Sep 19, 2005

lore
Share & tools
lore
#0 lore raw

Update:

The patch was tested on Windows (Base, no GUI).

HOWTO was written, can be found on:

http://sourceforge.net/tracker/index.php?func=detail&aid=1293066&group_id=48978&atid=454721

Please feel free to correct my English.

I am waiting for reply regarding your request to merge external include files into root.

Regards,

Alon Bar-Lev.

Quoted 4 lines · James Yonan

On Fri, 16 Sep 2005, Alon Bar-Lev wrote:

This is very cool -- thanks for your efforts. We'll plan on merging this when the 2.1 beta series starts up.

Thanks!

Quoted 1 line

I'd like to see some Windows testing as well.

Do you know a developer with windows environment that uses smartcard? I just don't have a development environment for windows... I can make one if there is no one to test it.
The code it-self was tested under windows, but not as a whole.

If you run openvpn as a service do you get prompted for password (--askpass) by the management component? Does the GUI know to popup this password request? If I understood correctly this what happens...

Quoted 3 lines

If you don't mind, it would also be great if you could put together a mini-HOWTO on this.

I will.

Quoted 4 lines

Make sure that it's easy to #ifdef out all the pkcs11 stuff, if people don't want it. This is mostly for the embedded crowd who are very sensitive to code size. Notice how almost every major non-core option can be selectively disabled:

OK, I will.

Quoted 5 lines

The other minor point is that you add a pkcs11 directory in the source distribution root for some header files. Right now, just to stay consistent with the current source file organization, could you keep those files in the root as well? (I know that means that you'll end up with two pkcs11.h files, so one would need to be renamed)

I've done this intentionally...
The include files in the pkcs11 directory are taken from RSA Security and not part of openvpn development. I think that it is good practice to separate external files for internal ones.
Please tell me if you don't agree so I will merge them into the root.

Best Regards,
Alon Bar-Lev.

#1 lore raw
Quoted 9 lines · Alon Bar-Lev

Update:

The patch was tested on Windows (Base, no GUI).

HOWTO was written, can be found on:

http://sourceforge.net/tracker/index.php?func=detail&aid=1293066&group_id=48978&atid=454721

Please feel free to correct my English.

Thanks, though I was thinking about a document which would contain a full sequence of steps for taking a sample OpenVPN configuration and turning it into a dual-factor setup, using a smartcard.

Something that would integrate as a section in the current 2.0 HOWTO, such as "How to add dual-factor authentication to an OpenVPN configuration using client-side smartcards".

It would answer questions such as:

(1) some discussion about why the smart-cards improve security

(2) which smart-card products are PKCS11-compatible or links to the same

(3) system requirements, such as minimum version of OpenSSL

(4) how to configure the cards

(5) how to modify OpenVPN client and/or server configuration to make use of the cards

(6) While this goes beyond the PKCS11 discussion, some people are going to be interested/confused by the differences between the PKCS11 functionality you've added and the existing Windows Crypto API support, as a means for using smartcards with OpenVPN.

Quoted 2 lines

I am waiting for reply regarding your request to merge external include files into root.

I think it's reasonable to keep the external include files in their own directory if you think it makes the source file organization cleaner.

Just make sure that it doesn't break anything, such as "make dist" to build tarballs, and the Windows build environment.

James