mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1546] Cannot authenticate SSH with smartcard though gpg-agent because of /run/user/UID/gnupg blacklist #1032
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#1032
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 @Ryujinra on GitHub (Sep 12, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1546
The following commit blacklists the 'gnupg' directory under /run/user/{UID}: #
0c5aa59.If you are using a OpenPGP smartcard to publickey authenticate, ssh needs access to this directory because it contains the gpg-agent ssh socket (S.gpg-agent.ssh) for accessing the keys on the smartcard.
--noprofile / noblacklist has no effect on this directory/files.
I suppose that an option to disable the blacklisting of this directory in a program's .local file would be the best solution.
@netblue30 commented on GitHub (Sep 13, 2017):
You cannot disable it, it is hardcoded in this moment. I'll bring in support to allow you to disable it from a profile file.
@netblue30 commented on GitHub (Sep 14, 2017):
I added on mainline --writable-run-user command and profile option. I also included it in ssh and ssh-agent profiles. Thanks for the bug.