On Tuesday 13 July 2004 16:21, Mathias Sundman wrote: > On Tue, 13 Jul 2004, Mathias Sundman wrote: > > I'd like to implement a way to hand over the private key passphrase to > > openvpn, to be able to add this feature to my GUI. > > > > We have discussed that this could/should be done via the management > > interface that we've discussed alot. However, I'd like to add the > > passphrase feature now so I wonder which is the best way to do this. > > > > 1. Add a cmd-line option to pass it. (Considered insecure by some). > > > > 2. Use an environment variable. Portable? Secure? > > > > 3. Start the work on this mgmnt interface and add the passphrase passing > > feature as the first cmd. > > > > (1) is easiest to implement and good enough for my use, on single user > > windows machines, but perhaps not good enough for multi-user unix > > systems. On the other hand, no one is forcing anyone to use this cmd-line > > option, so we might start with adding this feature, and then add a way to > > pass the passphrase over the management interface when we have that > > ready. > > I just realized that (1) won't be good enough even for me :-) I can't > figure out a way for how the GUI should know in advance of starting > openvpn wether it has to quiry to user for a passphrase or not. This would > require adding an option to the config-file that enables this, or some > other way of configuring the gui which connections that require a > passphrase. > > I want to avoid having the gui parsing the config-file for options or > having it's own config file because I'd like it to be possible to use > exactly the same config-file with or without the gui. > > So, I suppose my only option left is to begin the work on the management > interface. Have you had time starting the work on this, James?
It's on my list, though I probably won't be able to get to it till I'm done with TCP support for 2.0. James