Skip to content

keepassxc: cannot access ssh-agent socket #6529

Closed Answered by kmk3
rieje asked this question in Q&A
Discussion options

You must be logged in to vote

On firejail latest git build (I don't have this issue with the latest
released version), KeepassXC is not seeing ssh agent.

keepassxc uses whitelisting in ${RUNUSER} since the following PR:

To allow the default ssh-agent socket path, it should be enough to add
following to keepassxc.local:

noblacklist /tmp/ssh-*
whitelist /tmp/ssh-*

SSH_AUTH_SOCK=/run/user/1000/ssh-agent.socket.

If you use a custom socket path, you need to allow that instead:

noblacklist ${RUNUSER}/ssh-agent.socket
whitelist ${RUNUSER}/ssh-agent.socket

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by rieje
Comment options

You must be logged in to vote
2 replies
@rusty-snake
Comment options

@kmk3
Comment options

kmk3 Nov 3, 2024
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants