Skip to content
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

SSH Agent doesn't work with Flatpak version #13166

Open
1 task done
WindFreaker opened this issue Jan 30, 2025 · 2 comments · May be fixed by #13324
Open
1 task done

SSH Agent doesn't work with Flatpak version #13166

WindFreaker opened this issue Jan 30, 2025 · 2 comments · May be fixed by #13324
Labels
bug desktop Desktop Application

Comments

@WindFreaker
Copy link

Steps To Reproduce

  1. Follow the Bitwarden SSH Agent guide.

Expected Result

The SSH Agent works.

Actual Result

The SSH Agent doesn't work.

Screenshots or Videos

No response

Additional Context

With the latest release 2025.1.3 the SSH Agent functionality doesn't work with flatpak version of Bitwarden. In my testing I have run into two issues:

  1. The client fails to create the .bitwarden-ssh-agent.sock file.

    • The client attempts to create the file at the default directory /home/<user>/.bitwarden-ssh-agent.sock but fails due to lacking filesystem access.
    • This can be worked around by either granting the app access to the user's home directory or by settings the BITWARDEN_SSH_AUTH_SOCK environment variable to something the client can access, such as /home/<user>/.var/app/com.bitwarden.desktop/.bitwarden-ssh-agent.sock
  2. Usage of SSH hangs after setting the SSH_AUTH_SOCK environment variable.

    • This result can be observed running ssh-add -L after setting the SSH_AUTH_SOCK environment variable.
    • The first time running the command will fail with the error communication with agent failed but subsequent attempts hang.
    • I have not discovered a fix for this block yet.

Operating System

Linux

Operating System Version

Fedora 41

Installation method

Other

Build Version

2025.1.3

Issue Tracking Info

  • I understand that work is tracked outside of GitHub. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@WindFreaker WindFreaker added bug desktop Desktop Application labels Jan 30, 2025
@bitwarden-bot
Copy link

Thank you for reporting this issue! We've added this to our internal tracking system.
ID: PM-17784

@quexten
Copy link
Contributor

quexten commented Jan 31, 2025

Note: This is caused by the same bug as #13075

@quexten quexten linked a pull request Feb 10, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug desktop Desktop Application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants