Re: [Openvpn-devel] Issues with challenge-response when user/pass is read from a file

2015-12-17 Thread Wayne Davison
On Thu, Dec 17, 2015 at 1:22 PM, Selva Nair wrote: > (a) leave as is and document that challenge-response is incompatible with > user and pass from file > If people lean this way I think the code would still need to be changed to fail instead of endlessly looping, sending bad answers back to the

[Openvpn-devel] Issues with challenge-response when user/pass is read from a file

2015-12-17 Thread Selva Nair
Hi, While reviewing the series of patches from Wayne Davison, I've come to realize that, until the recent changes in get_user_pass_cr, the use of challenge-response was incompatible with reading auth-user-pass from a file. As this goes back to early 2.3-alpha, it may be by design, but not document

Re: [Openvpn-devel] [PATCH 1/3] Fix CR prompting when user & pass are read from a file.

2015-12-17 Thread Wayne Davison
On Tue, Dec 15, 2015 at 7:09 PM, Selva Nair wrote: > This doesn't work: it messes up any response already read from the > management interface. > Given what options? I tested --management with --management-query-passwords without issue. Are you combining that with --auth-user-pass FILENAME? I c