<table><tr><td style="">jfranklin created this revision.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />jfranklin requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D23734">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>I'm a new contributor to kscreenlocker, so I thought I'd start with something very simple to see how the process goes. I hope I'm in line with standard procedures for proposing a change.</p>
<p>I've been spending a lot of time working with the kscreenlocker code in an attempt to debug its conversation with Poldi, which is a PAM module for allowing authentication with GnuPG smart cards. In this time, I've built up some familiarity with the code, and I'd like to submit a few patches over the next couple of weeks to improve things.</p>
<p>This change is pretty simple, and it makes a great deal of sense to me. I'd be very curious to know if there is a reason for having a <tt style="background: #ebebeb; font-size: 13px;">fail_delay()</tt> function that performs no action. Just let me know!</p>
<p>Otherwise, the relevant explanation is in the commit message itself.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>The current tests don't seem to cover the delay from a failure to <tt style="background: #ebebeb; font-size: 13px;">pam_authenticate()</tt>. If one needs to be added, I'd like to help! I've spent a lot of time learning how this project works, and I'd be happy if one of the maintainers here could help me get the test suite up and running.</p>
<p>This patch should change no functionality and, thus, will need no changes in the test code.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R133 KScreenLocker</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D23734">https://phabricator.kde.org/D23734</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kcheckpass/checkpass_pam.c</div></div></div><br /><div><strong>To: </strong>jfranklin<br /><strong>Cc: </strong>plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>