- Lock the session from the power button or `chandra-ctl lock` - Unlock with a face or the password; the password always works - Add compositor lock module with tests, and a polkit unlock policy (org.chandra.unlock) - Document the lock flow in docs/lock.md and link it from the README - Add generated interface bindings for the compositor and widget components
This commit is contained in:
1 parent
7501fc3ad9
commit
c790f96e58
131 files changed
+4693
-274
No files matched your search
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE policyconfig PUBLIC
|
||||
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
|
||||
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
|
||||
<!--
|
||||
Session unlock for Chandra (docs/lock.md). The compositor locks the session (power button,
|
||||
or `chandra-ctl lock`) and asks its polkit agent to authorize this action to unlock. Because
|
||||
it is auth_self (never _keep), polkit prompts every time, and the polkit-1 PAM stack runs the
|
||||
camera first (pam_chandra_face.so) with the password as the fallback.
|
||||
-->
|
||||
<policyconfig>
|
||||
<vendor>Chandra</vendor>
|
||||
<action id="org.chandra.unlock">
|
||||
<description>Unlock the session</description>
|
||||
<message>Authenticate to unlock the screen</message>
|
||||
<defaults>
|
||||
<allow_any>auth_self</allow_any>
|
||||
<allow_inactive>auth_self</allow_inactive>
|
||||
<allow_active>auth_self</allow_active>
|
||||
</defaults>
|
||||
</action>
|
||||
</policyconfig>
|
||||
Reference in new issue
Block a user