summaryrefslogtreecommitdiff
path: root/config_files/org.debian.pcsc-lite.policy
diff options
context:
space:
mode:
authorhc <hc@email.ch>2024-11-20 12:51:33 +0800
committerhc <hc@email.ch>2024-11-20 12:51:33 +0800
commit853b82126baa1e8e408a10f91053c52626ffad29 (patch)
tree2fc1de9695810681ba654aab3c2a4867aacc1ac7 /config_files/org.debian.pcsc-lite.policy
parentb1f88b682624e85b4b743343dfaaeed113b69413 (diff)
working
Diffstat (limited to 'config_files/org.debian.pcsc-lite.policy')
-rw-r--r--config_files/org.debian.pcsc-lite.policy30
1 files changed, 30 insertions, 0 deletions
diff --git a/config_files/org.debian.pcsc-lite.policy b/config_files/org.debian.pcsc-lite.policy
new file mode 100644
index 0000000..fc24b62
--- /dev/null
+++ b/config_files/org.debian.pcsc-lite.policy
@@ -0,0 +1,30 @@
+<?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.0/policyconfig.dtd">
+<policyconfig>
+ <vendor>The PCSC-lite Project</vendor>
+ <vendor_url>https://pcsclite.apdu.fr/</vendor_url>
+<!-- <icon_name>smart-card</icon_name> -->
+
+ <action id="org.debian.pcsc-lite.access_pcsc">
+ <description>Access to the PC/SC daemon</description>
+ <message>Authentication is required to access the PC/SC daemon</message>
+ <defaults>
+ <allow_any>yes</allow_any>
+ <allow_inactive>yes</allow_inactive>
+ <allow_active>yes</allow_active>
+ </defaults>
+ </action>
+
+ <action id="org.debian.pcsc-lite.access_card">
+ <description>Access to the smart card</description>
+ <message>Authentication is required to access the smart card</message>
+ <defaults>
+ <allow_any>yes</allow_any>
+ <allow_inactive>yes</allow_inactive>
+ <allow_active>yes</allow_active>
+ </defaults>
+ </action>
+
+</policyconfig>