Project

General

Profile

Bug #7657

OpenVPN incorrectly read passwords from stdin

Added by Alexander Pyhalov almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-12-09
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

OpenVPN seems to read passwords from stdin incorrectly. When they are specified in password file, they work.

History

#1

Updated by Al Slater almost 3 years ago

I made the following change when I compiled openvpn to allow passwords > 8 chars

--- console.c.orig Thu May 1 11:35:20 2014
+++ console.c Fri Dec 9 08:12:11 2016
@ -223,7 +223,7 @
}
else {
- char *gp = getpass (prompt);
+ char *gp = getpassphrase (prompt);
if (gp) {
strncpynt (input, gp, capacity);

#2

Updated by Alexander Pyhalov almost 3 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF