summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2017-10-03 00:04:52 +0200
committerKali Kaneko <kali@leap.se>2017-10-03 20:23:01 +0200
commitb3a36b10232c5aaaf7dddf3dfa1a275945bc6174 (patch)
treef9f815ddea06985633e58bf7d906da88529f4cd9 /src/leap
parentfa1ef24b22914c586e6afc992bf88cbdec120d12 (diff)
[feat] Update polkit options
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/bitmask/vpn/helpers/linux/polkit_agent.py3
-rw-r--r--src/leap/bitmask/vpn/privilege.py1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/leap/bitmask/vpn/helpers/linux/polkit_agent.py b/src/leap/bitmask/vpn/helpers/linux/polkit_agent.py
index 26fd7c8..983983d 100644
--- a/src/leap/bitmask/vpn/helpers/linux/polkit_agent.py
+++ b/src/leap/bitmask/vpn/helpers/linux/polkit_agent.py
@@ -28,8 +28,11 @@ import daemon
POLKIT_PATHS = (
'/usr/bin/lxpolkit',
+ '/usr/bin/lxqt-policykit-agent',
'/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1',
+ '/usr/lib/x86_64-linux-gnu/polkit-mate/polkit-mate-authentication-agent-1',
'/usr/lib/mate-polkit/polkit-mate-authentication-agent-1',
+ '/usr/lib/x86_64-linux-gnu/libexec/polkit-kde-authentication-agent-1',
'/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1',
)
diff --git a/src/leap/bitmask/vpn/privilege.py b/src/leap/bitmask/vpn/privilege.py
index dd8d29a..1a2ddde 100644
--- a/src/leap/bitmask/vpn/privilege.py
+++ b/src/leap/bitmask/vpn/privilege.py
@@ -169,6 +169,7 @@ class LinuxPolicyChecker(object):
'lxpolkit',
'lxsession',
'gnome-shell',
+ 'gnome-flashback',
'fingerprint-polkit-agent',
'xfce-polkit',
)