Skip to contentSkip to conversation

Revisit of a possible compile-time enabled pkcs11-pin option

Openvpn-devel Richard Hartmann 2 participants 4 messages Sep 10, 2007 – Sep 12, 2007

lore
Share & tools
lore
#0 lore raw

Hi all,

as most, if not all, of you will be aware, there is an option to pass the certificate passphrase into OpenVPN if you compile OpenVPN with the correct option, yourself. This Molly Guard enables people who know what they are doing to automate the process a little bit more than would be possible, otherwise.

My request is that the same thing should be offered for the PKCS#11 interface of 2.1. The discussion about the relative merits of the management console and compiling your own OpenVPN binaries notwithstanding, I feel that this approach is more secure, less prone to failure and eases the overall process a _lot_. Furthermore, this question has already been discussed in the mailing list archives and, back then, it was decided to go the path of Bake Your Own to safeguard people against themselves, at least for the passphrase.

Is there any chance that this feature sees the light of day and if yes, is anyone able and/or willing to venture a guess as to when this might be the case?

Thank you for all the work on OpenVPN!
Richard

#1 lore raw

You can always provide your own management interface program that supply static PIN. No need to change anything in OpenVPN.

Alon.

Quoted 35 lines · Richard Hartmann

Hi all,

as most, if not all, of you will be aware, there is an option to pass the certificate passphrase into OpenVPN if you compile OpenVPN with the correct option, yourself. This Molly Guard enables people who know what they are doing to automate the process a little bit more than would be possible, otherwise.

My request is that the same thing should be offered for the PKCS#11 interface of 2.1. The discussion about the relative merits of the management console and compiling your own OpenVPN binaries notwithstanding, I feel that this approach is more secure, less prone to failure and eases the overall process a _lot_. Furthermore, this question has already been discussed in the mailing list archives and, back then, it was decided to go the path of Bake Your Own to safeguard people against themselves, at least for the passphrase.

Is there any chance that this feature sees the light of day and if yes, is anyone able and/or willing to venture a guess as to when this might be the case?

Thank you for all the work on OpenVPN!
Richard

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#2 lore raw
Quoted 2 lines · Alon Bar-Lev

You can always provide your own management interface program that supply static PIN. No need to change anything in OpenVPN.

Yes, that is what I am doing at the moment. Still, I feel that it would be more reliable, less error prone and, yes, more secure to do it via config file.

The argument that you could use the management interface holds true for the passphrase for normal certificates as well, still, after some discussion, the OpenVPN team decided to offer the option with the safety guard of it being a compile time option. I can, of course, not force anyone's hand and make them code or agree to anything, nor would I want to do so even if I could. Still, I would want to ask you _why_ you think this is a bad idea, especially in light of exactly the same thing being available for the established certificate storage system.

Best regards,
Richard

#3 lore raw
Quoted 4 lines · Richard Hartmann

would I want to do so even if I could. Still, I would want to ask you _why_ you think this is a bad idea, especially in light of exactly the same thing being available for the established certificate storage system.

The compile time option was released before the management interface was introduced... I guess that if the management interface would have been available this feature would have never implemented as well.

Alon.