Hi everyone,

I encountered the same issue when using GNOME Papers' "Sign Digitally" feature.
The signing process fails due to AppArmor restrictions that prevent
access to certain required directories.

I reported this issue on Ubuntu Launchpad (bug #2106133) and confirmed
that adjusting the AppArmor profile resolves the problem:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2106133

AppArmor currently blocks GNOME Papers from accessing:
~/.pki/nssdb
/sys/devices/
and
/run/pcscd/pcscd.comm

After adding the following lines to the file
`/etc/apparmor.d/usr.bin.papers` and reloading AppArmor, digital
signing works correctly:

owner @{HOME}/.pki/** lrk,
/sys/devices/** r,
/run/pcscd/pcscd.comm rw,

This indicates that the issue lies in the AppArmor profile rather than
in the Papers application itself.

Dear maintainers, please consider reassigning this bug to the
'apparmor' package.

Best regards,
Cristiano Fraga G. Nunes

Reply via email to