mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6352] libreoffice: cannot sign documents with GPG #3244
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#3244
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @marek22k on GitHub (May 21, 2024).
Original GitHub issue: https://github.com/netblue30/firejail/issues/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/programin 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 noinfirejail.configto allow DRM/U2F in browsers.--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)Log
Output of
LC_ALL=C firejail /path/to/programOutput of
LC_ALL=C firejail --debug /path/to/programfirejail.log
@ghost commented on GitHub (May 21, 2024):
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
~/.config/firejail/libreoffice.localplease? Both try to achieve functioning document signing, but differ in how much we open the profile for doing so.[1] The less restrictive version:
[2] The more restrictive version:
Hopefully you can get a working document signing with at least one of the above.
Regards
@marek22k commented on GitHub (May 22, 2024):
Thanks for the quick reply.
Both variants work for me.
@ghost commented on GitHub (May 22, 2024):
Great. I've opened a PR implementing the more restrictive version. Thanks for testing!