From: James Yonan In-Reply-To: Message-ID: References: MIME-Version: 1.0 Subject: [Openvpn-devel] Re: exit_event not check between key password auth username Sender: openvpn-devel-admin@lists.sourceforge.net Errors-To: openvpn-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat Oct 23 17:01:02 2004 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8bit To: Mathias Sundman Cc: openvpn-devel@lists.sourceforge.net 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