View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000598 | Other Unix Port | Bug | public | 2014-02-20 10:28 | 2022-09-24 01:20 |
Reporter | Oxyd | Assigned To | psmedley | ||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | x86 | OS | OS/2 | OS Version | ACP2 v 4.52 |
Summary | 0000598: CLI bug in quasselcore.exe in latest version of quassel-IRC | ||||
Description | If I want to add a user or change the user's password in quasselcore have to press Enter after pressing Ctrl-Z + Enter. So the same as entering a password, the password is displayed as plain text | ||||
Steps To Reproduce | [c:\programs\quassel\bin]quasselcore.exe --change-userpass=Oxyd ("QSQLITE") 2014-02-20 14:22:42 Info: SQLite Storage Backend is ready. Quassel Schema Version: 17 Change password for user: Oxyd New Password: helloSmedley [Enter] [Ctrl-z]^Z[Enter] Repeat Password: helloSmedley ^Z Password changed successfully! [c:\programs\quassel\bin] | ||||
Additional Information | Commands for repeat this bug: quasselcore.exe --add-user quasselcore.exe --change-userpass=username | ||||
Tags | No tags attached. | ||||
|
I understand why this happens: #ifdef Q_OS_WIN32 void Core::stdInEcho(bool on) { HANDLE hStdin = GetStdHandle(STD_INPUT_HANDLE); DWORD mode = 0; GetConsoleMode(hStdin, &mode); if (on) mode |= ENABLE_ECHO_INPUT; else mode &= ~ENABLE_ECHO_INPUT; SetConsoleMode(hStdin, mode); } #else void Core::stdInEcho(bool on) { termios t; tcgetattr(STDIN_FILENO, &t); if (on) t.c_lflag |= ECHO; else t.c_lflag &= ~ECHO; tcsetattr(STDIN_FILENO, TCSANOW, &t); } #endif /* Q_OS_WIN32 */ OS/2 is using the tcgetattr/tcsetattr which is not fully implemented in libc |
|
I no long build/maintain quassel |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-02-20 10:28 | Oxyd | New Issue | |
2014-04-03 06:58 | psmedley | Note Added: 0002719 | |
2022-09-24 01:20 | psmedley | Assigned To | => psmedley |
2022-09-24 01:20 | psmedley | Status | new => resolved |
2022-09-24 01:20 | psmedley | Resolution | open => no change required |
2022-09-24 01:20 | psmedley | Note Added: 0004577 |