exit_event not check between key password auth username
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?
Signature · 4 lines
_____________________________________________________________ Mathias Sundman (^) ASCII Ribbon Campaign OpenVPN GUI for Windows X NO HTML/RTF in e-mail http://www.nilings.se/openvpn / \ NO Word docs in e-mail
Quoted 8 lines · Mathias Sundman
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...
Quoted 7 lines
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