Bug 45698

Summary: adding smartcard function to kde
Product: [Unmaintained] kscreensaver Reporter: diomedes
Component: kcheckpassAssignee: Christian Esken <esken>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 3.0   
Target Milestone: ---   
Platform: unspecified   
OS: Solaris   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description diomedes 2002-07-24 11:41:13 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kcheckpass
Version:           3 (using KDE 3.0.1 )
Severity:          wishlist
Installed from:    Unlisted Binary Package
Compiler:          gcc 3.1
OS:                Solaris
OS/Compiler notes: Not Specified

i use suns smartcard auth system it uses PAM auth i would like to see this added to KDE also kcheckpass does not allow solaris users to unlock the desktop it continues to give "password failed errors".

Example of what i'd like;

when the smartcard is removed the screen should lock and wait for the card to be re-entered then ask for the cards pin and then unlock the display.

Matt

(Submitted via bugs.kde.org)
Comment 1 Oswald Buddenhagen 2003-11-09 17:25:56 UTC
kcheckpass/kdesktop_lock (and kdm) should now theoretically support smartcard auth PAM modules, even though it won't work too well with most existing modules (classic PAM does not specify PAM_BINARY_PROMPT, what has some ugly effects on GUI apps).

the second part is obviously unrelated to _un_locking the screen. i think you want a separate application that watches the smartcard reader and issues a kdesktop::KScreensaverIface::lock() DCOP call when the card is removed.
this cannot be implemented using PAM, so don't even ask.