[kcheckpass] Drop the throttle handling code

Authored by graesslin on Feb 24 2017, 5:55 AM.

Description

[kcheckpass] Drop the throttle handling code

Summary:
Kcheckpass has code to throttle the invocation to prevent brute force
attack. This code has been broken for years and is never executed.

The condition to go into the throttle path is if the effective uid
doesn't match the uid, that is kcheckpass is a setuid application.
But for a few years now kcheckpass is no longer a setuid (at least
when built with PAM).

Given that I don't think it makes sense to still have this code
around. We don't know whether it works and kcheckpass is only to be
invoked from kscreenlocker_greet anyway.

Reviewers: Plasma

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D4753

Details

Committed
graesslinFeb 24 2017, 5:59 AM
Differential Revision
D4753: [kcheckpass] Drop the throttle handling code
Parents
R133:b69465e5b115: [Greeter] Also clear selection clipboard
Branches
Unknown
Tags
Unknown