-
Notifications
You must be signed in to change notification settings - Fork 570
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libreoffice: cannot sign documents with GPG #6352
Comments
Hi, thank you for reporting. Looks like we never considered GPG signing is a thing in LibreOffice. Should be easily fixed. Can you test the below snippets in a [1] The less restrictive version: $ cat ~/.config/firejail/libreoffice.local
noblacklist ${HOME}/.gnupg [2] The more restrictive version: $ cat ~/.config/firejail/libreoffice.local
noblacklist ${HOME}/.gnupg
read-only ${HOME}/.gnupg/gpg.conf
read-only ${HOME}/.gnupg/trustdb.gpg
read-only ${HOME}/.gnupg/pubring.kbx
blacklist ${HOME}/.gnupg/random_seed
blacklist ${HOME}/.gnupg/pubring.kbx~
blacklist ${HOME}/.gnupg/private-keys-v1.d
blacklist ${HOME}/.gnupg/crls.d
blacklist ${HOME}/.gnupg/openpgp-revocs.d Hopefully you can get a working document signing with at least one of the above. Regards |
Thanks for the quick reply. Both variants work for me. |
Great. I've opened a PR implementing the more restrictive version. Thanks for testing! |
Based on the entries in etc/profile-m-z/makepkg.profile. This fixes netblue30#6352.
Based on the entries in etc/profile-m-z/makepkg.profile. This fixes #6352.
Description
LibreOffice with Firejail cannot sign documents
Steps to Reproduce
Expected behavior
My private GPG key appears.
Actual behavior
No key appears at all.
Behavior without a profile
What changed calling
LC_ALL=C firejail --noprofile /path/to/program
in aterminal?
Additional context
When I click on "Start Certificate Manager..." Kleopatra appears. With Firejail, Kleopatra appears and does not display any private or public keys. Without Firejail, all my keys are displayed.
Environment
Arch Linux
Checklist
/usr/bin/vlc
) "fixes" it).https://github.com/netblue30/firejail/issues/1139
)browser-allow-drm yes
/browser-disable-u2f no
infirejail.config
to allow DRM/U2F in browsers.--profile=PROFILENAME
to set the right profile. (Only relevant for AppImages)Log
Output of
LC_ALL=C firejail /path/to/program
Output of
LC_ALL=C firejail --debug /path/to/program
firejail.log
The text was updated successfully, but these errors were encountered: