diff options
| author | hc <hc@email.ch> | 2024-11-20 12:51:33 +0800 |
|---|---|---|
| committer | hc <hc@email.ch> | 2024-11-20 12:51:33 +0800 |
| commit | 853b82126baa1e8e408a10f91053c52626ffad29 (patch) | |
| tree | 2fc1de9695810681ba654aab3c2a4867aacc1ac7 /config_files/org.debian.pcsc-lite.policy | |
| parent | b1f88b682624e85b4b743343dfaaeed113b69413 (diff) | |
working
Diffstat (limited to 'config_files/org.debian.pcsc-lite.policy')
| -rw-r--r-- | config_files/org.debian.pcsc-lite.policy | 30 |
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 @@ | |||
| 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | <!DOCTYPE policyconfig PUBLIC | ||
| 3 | "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" | ||
| 4 | "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd"> | ||
| 5 | <policyconfig> | ||
| 6 | <vendor>The PCSC-lite Project</vendor> | ||
| 7 | <vendor_url>https://pcsclite.apdu.fr/</vendor_url> | ||
| 8 | <!-- <icon_name>smart-card</icon_name> --> | ||
| 9 | |||
| 10 | <action id="org.debian.pcsc-lite.access_pcsc"> | ||
| 11 | <description>Access to the PC/SC daemon</description> | ||
| 12 | <message>Authentication is required to access the PC/SC daemon</message> | ||
| 13 | <defaults> | ||
| 14 | <allow_any>yes</allow_any> | ||
| 15 | <allow_inactive>yes</allow_inactive> | ||
| 16 | <allow_active>yes</allow_active> | ||
| 17 | </defaults> | ||
| 18 | </action> | ||
| 19 | |||
| 20 | <action id="org.debian.pcsc-lite.access_card"> | ||
| 21 | <description>Access to the smart card</description> | ||
| 22 | <message>Authentication is required to access the smart card</message> | ||
| 23 | <defaults> | ||
| 24 | <allow_any>yes</allow_any> | ||
| 25 | <allow_inactive>yes</allow_inactive> | ||
| 26 | <allow_active>yes</allow_active> | ||
| 27 | </defaults> | ||
| 28 | </action> | ||
| 29 | |||
| 30 | </policyconfig> | ||
