Fix access to OpenSC configuration (#326)

This commit is contained in:
Jose Maldonado 2024-05-06 14:16:39 -04:00 committed by GitHub
parent 89f896a0fd
commit 8224ac2b3f
Failed to generate hash of commit
6 changed files with 9 additions and 2 deletions

View file

@ -119,6 +119,7 @@ profile firefox @{exec_path} flags=(attach_disconnected) {
/etc/mailcap r,
/etc/mime.types r,
/etc/opensc.conf r,
/etc/opensc/opensc.conf r,
/etc/sysconfig/proxy r,
/etc/xdg/* r,
/etc/xul-ext/kwallet5.js r,

View file

@ -31,6 +31,7 @@ profile gsd-smartcard @{exec_path} flags=(attach_disconnected) {
/usr/share/glib-2.0/schemas/gschemas.compiled r,
/etc/opensc.conf r,
/etc/opensc/opensc.conf r,
owner @{GDM_HOME}/greeter-dconf-defaults r,
owner @{gdm_config_dirs}/dconf/user r,

View file

@ -36,6 +36,8 @@ profile seahorse @{exec_path} {
/etc/pki/trust/blocklist/ r,
/etc/gcrypt/hwf.deny r,
/etc/opensc.conf r,
/etc/opensc/opensc.conf r,
owner @{HOME}/@{XDG_SSH_DIR}/{,**} r,

View file

@ -64,6 +64,7 @@ profile torbrowser @{exec_path} flags=(attach_disconnected) {
/etc/mailcap r,
/etc/mime.types r,
/etc/opensc.conf r,
/etc/opensc/opensc.conf r,
/etc/sysconfig/proxy r,
/etc/xdg/* r,
/etc/xul-ext/kwallet5.js r,

View file

@ -13,6 +13,7 @@ profile pkcs11-register @{exec_path} {
@{exec_path} mr,
/etc/opensc.conf r,
/etc/opensc/opensc.conf r,
owner @{HOME}/.mozilla/firefox/*/pkcs11.txt rw,
owner @{HOME}/.mozilla/firefox/profiles.ini r,

View file

@ -25,6 +25,7 @@ profile rngd @{exec_path} flags=(attach_disconnected) {
/etc/conf.d/rngd r,
/etc/machine-id r,
/etc/opensc.conf r,
/etc/opensc/opensc.conf r,
/var/lib/dbus/machine-id r,
@{sys}/devices/virtual/misc/hw_random/rng_available r,