Add a small test application for kcheckpass
ClosedPublic

Authored by graesslin on Feb 25 2017, 2:59 PM.

Details

Summary

This is just a small tool to help development on kcheckpass.
A minimal qtquick gui which uses the Authenticator to test whether
the authentication of provided password fails/succeeded.

It uses the kcheckpass in the build directory. Thus it is not
required to install kcheckpass to perform tests. This was a problem
during development as it allows to lock unself out if kcheckpass breaks
and the screen locks.

Diff Detail

Repository
R133 KScreenLocker
Branch
kcheckpass-testapp
Lint
No Linters Available
Unit
No Unit Test Coverage
graesslin created this revision.Feb 25 2017, 2:59 PM
Restricted Application added a project: Plasma. · View Herald TranscriptFeb 25 2017, 2:59 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
sebas accepted this revision.Feb 26 2017, 10:14 PM
This revision is now accepted and ready to land.Feb 26 2017, 10:14 PM
This revision was automatically updated to reflect the committed changes.

Greetings,

I'm working on a machine that uses kcheckpass with libpam-poldi for authentication. This allows for the usage of GPG smart cards at login.

There is a bug somewhere at the boundary of kcheckpass and libpam-poldi that I can't pinpoint without running kcheckpass through GDB.

These test applications look useful, but I don't see documentation on how to build an run these tools. I also have trouble running kcheckpass directly from the command line with the debugger.

Is there documentation on how to debug kcheckpass effectively?

Would you point me in the right direction?

I'm having great difficulty finding any discussion of how to proceed here.

Thanks,
Jason Franklin