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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 9 additions and 2 deletions

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,
@ -21,4 +22,4 @@ profile pkcs11-register @{exec_path} {
owner @{HOME}/.thunderbird/profiles.ini r,
include if exists <local/pkcs11-register>
}
}

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,