CI / test (push) Failing after 52s
- 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
23 lines
942 B
XML
23 lines
942 B
XML
<?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>
|