Package: openvpn Version: 2.4.7-1 Severity: normal It seems that openvpn does not handle SIGINT correctly when in client mode with option auth-user-pass enabled. If I press ^C when presented with prompt "Enter Auth Username: ", the terminal settings are not reset to a usable state.
Steps to reproduce: 1. Have a working config.ovpn with option auth-user-pass set 2. # openvpn config.ovpn 3. Press ^C 4. Press Enter (for empty password) and let the authentication fail Openvpn client terminates and the client does not echo input. Output of stty from that terminal: speed 38400 baud; line = 0; min = 1; time = 0; -brkint -imaxbel iutf8 -icanon -echo Output of stty from a new working terminal: speed 38400 baud; line = 0; -brkint -imaxbel iutf8 -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.4.0-4-amd64 (SMP w/2 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages openvpn depends on: ii debconf [debconf-2.0] 1.5.73 ii iproute2 5.5.0-1 ii libc6 2.30-2 ii liblz4-1 1.9.2-2 ii liblzo2-2 2.10-2 ii libpam0g 1.3.1-5 ii libpkcs11-helper1 1.25.1-2 ii libssl1.1 1.1.1d-2 ii libsystemd0 244.3-1 ii lsb-base 11.1.0 Versions of packages openvpn recommends: ii easy-rsa 3.0.6-1 Versions of packages openvpn suggests: ii openssl 1.1.1d-2 pn openvpn-systemd-resolved <none> pn resolvconf <none> -- debconf information excluded