GNOME Bugzilla – Bug 726262
screenShield: fix lifting when inserting smartcard
Last modified: 2014-03-13 18:01:27 UTC
If a user inserts the smartcard they logged in with into the system, it's supposed to lift the shield and prompt for pin. That doesn't happen because the parameter list of the smartcard-inserted signal handler is wrong. This commit fixes that.
Created attachment 271771 [details] [review] screenShield: fix lifting when inserting smartcard
Review of attachment 271771 [details] [review]: LG
okay one more i'll hijack this bug for, since it's tangentially related.
Created attachment 271774 [details] [review] util: fix "login card" smartcard detection on unlock screen We only want to react to the card the user logged in with, at the unlock screen. We check "at the unlock screen" by checking the "reauthenticating" state variable. That variable is the wrong one, though. It gets set too late, and in some cases, gets set at the login screen, too. We should be checking this._reauthOnly instead. This commit fixes that.
Review of attachment 271774 [details] [review]: Ok
Attachment 271771 [details] pushed as 7d5ce1a - screenShield: fix lifting when inserting smartcard Attachment 271774 [details] pushed as ff5550c - util: fix "login card" smartcard detection on unlock screen