Allowing multiple inputs when --non-inter mode is specified

Nikos Mavrogiannopoulos nmav at
Sat Jun 20 03:44:30 PDT 2015

 There was an openwrt user which needed to supply a fixed second
password, but that's not possible currently when --non-inter is
specified. His use case was a mobile phone-based authentication, when a
specific keyword was used in 2FA. You can see more information in [0].

My solution to that problem was the following patch. That allows reading
multiple lines from stdin when --passwd-on-stdin is given, and that
input will be provided to the forms.



More information about the openconnect-devel mailing list