On Sun, 24 Oct 2004, Mathias Sundman wrote:

> I've added support for the new username/password auth method to OpenVPN 
> GUI.
> 
> If you have a setup with double auth (both key/cert and username/password 
> auth), the GUI first prompt for username/password, and after that for 
> the private key passphrase. If --askpass is specified in the config 
> they come in the reverse order of cource. Works perfect...
> 
> But, if the user hits Cancel on the first prompt, I signal the exist 
> event, but OpenVPN does not seem to check this between these two prompts, 
> so the user is still given the second auth dialog, which is a little 
> annoying.
> 
> Do you think this should be fixed in OpenVPN, or should I handle it in the 
> GUI, by simply sending an extra CR for the next prompt?

Yeah, right now the exit event is not checked between username/password 
inputs.  I can probably add that.

James


Reply via email to