-
Notifications
You must be signed in to change notification settings - Fork 52
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
Support Firefox flatpak #93
Comments
Hey! Yeah it's very similar to #82, we can keep this one open as well, but I'm afraid there is not much we can do from our side... Quick googling showed a few similar unsolved requests:
As far as I understand from the threads, even if you can get the native host somehow inside the flatpak sandbox, browserpass will still not have access to the "outside", e.g. to Let's see... I have a feeling that there will be a solution to this soon, because afaik in new Ubuntu they use sandboxed Chromium by default now, so many people will be affected.
Thank you! We didn't plan any monetization on the project, I'm just happy that many people find it useful and take the time to secure their internet browsing! Setting up PayPal would probably be an overkill... I did setup a GitHub sponsors page for fun once they announced it, if you really want you can maybe use that instead 😄 https://github.com/sponsors/maximbaz But keep in mind that this really is a community project, @erayd is another maintainer, and in general you can see many contributions from different folks! |
I found this issue : https://bugzilla.mozilla.org/show_bug.cgi?id=1621763 which led to a feature request in xdg-desktop-portal flatpak/xdg-desktop-portal#283 .
Yep, I wanted to thanks @erayd too. |
I'll try the workaround. |
@bersace have you figured out how to work around this? From my understanding, you would have to get the native messaging host into the flatpak and then somehow open the sandbox up for the app to be able to access ~/.password-store. Not sure if I am missing something though |
@fourstepper nope. I gave up using browser pass in flatpack and falled back to system installation. |
Hi, flatpak provides utility called Tested with Firefox on flatpak by editing: {
"name": "com.github.browserpass.native",
"description": "Browserpass native component for the Firefox extension",
"path": "/usr/bin/flatpak-spawn --host browserpass", // tested also with "/usr/bin/flatpak-spawn --host /usr/bin/browserpass"
"type": "stdio",
"allowed_extensions": ["[email protected]"]
} [1] https://docs.flatpak.org/en/latest/flatpak-command-reference.html#flatpak-spawn |
where or how do i do this? |
I was able to find a workaround by applying @bkaczynski's suggestion with some changes.
If it doesn't work you can append |
FYI, my steps to setup Edge. The essential step is adding flatpak overrides to share folders to the sandbox. I install browserpass to "$HOME/opt", and put the password store in "$HOME/.password-store" First install browserpass:
Copy the native messaging hosts config file to the flatpak app config dir:
Share ~/opt and ~/.password-store to the app
Also share gpg config and run dir
The last, close Edge, kill the instances, then restart the app.
|
General information
Debian GNU/Linux 10 (buster)
I didn't found instruction on how to install host app for flatpak FF.
$ browserpass --version
): X$ git describe --always
): X3.4.1
If you are getting an error immediately after opening popup, have you followed the Configure browsers documentation section?
I don't know how to configure FF in flatpak
Exact steps to reproduce the problem
Install Firefox from https://flathub.org/apps/details/org.mozilla.firefox
Install Browserpass-extension from https://addons.mozilla.org/fr/firefox/search/?q=browserpass&platform=Linux
Search documentation for flatpak :-)
What should happen?
I suggest that browserpass-native supports FF flatpak. This is similar to #82
What happened instead?
I had to use FF outside flatpak (from tar.gz). It's awesome. I just wanted to use Flatpak for security and convenience.
Great work anyway. How to support you ? Could you add a Paypal money pool ?
The text was updated successfully, but these errors were encountered: