[kscreenlocker] [Bug 415443] New: Wrong password delay should be configurable

2019-12-21 Thread Radon Rosborough
https://bugs.kde.org/show_bug.cgi?id=415443

Bug ID: 415443
   Summary: Wrong password delay should be configurable
   Product: kscreenlocker
   Version: unspecified
  Platform: Manjaro
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: greeter
  Assignee: plasma-b...@kde.org
  Reporter: radon.n...@gmail.com
CC: bhus...@gmail.com
  Target Milestone: ---

SUMMARY
When I type in a wrong password on the KDE lock screen, the input field is
grayed out for three seconds and I must wait to try again. This behavior should
be optional.

STEPS TO REPRODUCE
1. Log in
2. Lock screen
3. Type in wrong password

OBSERVED RESULT
The password field is grayed out for three seconds.

EXPECTED RESULT
I wish for there to be no delay, or equally as good -- a delay of around 100ms.

SOFTWARE/OS VERSIONS
Linux: 4.19.88
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.2

ADDITIONAL INFORMATION
Whenever somebody proposes that the wrong password delay be configurable,
somebody else says "but that's bad security practice". I don't agree. A delay
of three seconds is really annoying from a user perspective, whereas a delay of
100ms is unnoticeable. But both delays will suffice entirely to deter
brute-force attackers.

It would be ideal if the default delay is inherited from PAM, because -- well,
why not? Isn't the whole point of PAM for it to be a central place to configure
this sort of thing? By configuring PAM, I change the security profile of my tty
logins, my sudo prompts, my remote logins, ... but not KDE, it seems.

But really, this should be configurable. What I had to do is patch the source
of kscreenlocker (and it sure did take a while to figure out that kscreenlocker
was the culprit). For other hapless users like myself, the process is as
follows on Manjaro/Arch:

$ yay -G kscreenlocker
$ cd kscreenlocker
$ makepkg --nobuild

Now go into src/ and find the line 'm_graceLockTimer->setInterval(3000);'. Edit
3000 to be 0 instead.

$ makepkg --noextract -si

Log out and back in -- voila!

I originally opened this bug report: https://github.com/sddm/sddm/issues/1218

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 409563] Konsole does not send shift+tab (backtab) to terminal

2019-07-08 Thread Radon Rosborough
https://bugs.kde.org/show_bug.cgi?id=409563

--- Comment #2 from Radon Rosborough  ---
Thanks, I can confirm that fixes the issue. It did not occur to me that there
would be a place for customizing the behavior of the keyboard aside from Edit
Current Profile > Keyboard. I now see that there are several different menu
items for the settings; perhaps they could be unified to avoid confusion.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 409563] New: Konsole does not send shift+tab (backtab) to terminal

2019-07-06 Thread Radon Rosborough
https://bugs.kde.org/show_bug.cgi?id=409563

Bug ID: 409563
   Summary: Konsole does not send shift+tab (backtab) to terminal
   Product: konsole
   Version: 19.04.2
  Platform: Manjaro
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: keyboard
  Assignee: konsole-de...@kde.org
  Reporter: radon.n...@gmail.com
  Target Milestone: ---

SUMMARY
When I type shift+tab in Konsole, nothing happens. The terminal does not
receive any key sequence (verify in Zsh by typing M-x describe-key-briefly and
then shift+tab). This contradicts the default keyboard configuration, which
says that Backtab+Ansi should generate the sequence I would expect, namely
\E[Z. (I use this for cycling backwards through completion candidates in Zsh,
as per https://stackoverflow.com/a/842370/3538165.)

STEPS TO REPRODUCE
1. Open Konsole
2. Run Zsh
3. Type M-x describe-key-briefly and then shift+tab.

OBSERVED RESULT
Nothing happens.

EXPECTED RESULT
I should at least see "undefined-key" from Zsh, indicating that a key sequence
was sent to the terminal.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro, kernel 4.19.49
(available in About System)
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.3

ADDITIONAL INFORMATION
Zsh: 5.7.1
Konsole: 19.04.2

Related but unhelpful bugs:
- https://bugs.kde.org/show_bug.cgi?id=284000
- https://bugs.kde.org/show_bug.cgi?id=402161
- https://bugs.kde.org/show_bug.cgi?id=175476
- https://forum.kde.org/viewtopic.php?f=225=141829

-- 
You are receiving this mail because:
You are watching all bug changes.