mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4213] librewolf: cannot communicate with keepassxc #2583
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#2583
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 @ghost on GitHub (Apr 25, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4213
Hey
I just recently installed librewolf on arch linux.
I'm trying to get the connection between wolf and keepassxc. The following set up works with firefox but not with wolf.
So I changed only the line to:
private-bin bash,dbus-launch,dbus-send,env,librewolf,python*,sh,which,keepassxc-proxyfor
librewolf.local.And for keepassxc I added the following:
Problem is, I can;t find this path like for firefox:
So might be a problem there?
@rusty-snake commented on GitHub (Apr 25, 2021):
Because LibeWolf isn't supported by KPXC, is it? Actually, it should work nevertheless with a manual setup because it's a fork.
Does it work without firejail?
Needs to be
mkdir. And omit the trailing slashes.@ghost commented on GitHub (Apr 25, 2021):
Yeah, it does work without firejail.
It doesn't make any difference. There is no ...
native-messaging-hostsfolder in~/.librewolf/. I just copied it from mozilla to wolf and changed the settings in keepass itself (Use a custom browser configuration location:) but nothing.Edit:
Yeah, it's not supported.
@rusty-snake commented on GitHub (Apr 26, 2021):
How looks your full keepassxc.local?
@CodeArtisan00 commented on GitHub (Apr 26, 2021):
add
noblacklist ${HOME}/.librewolfalso as that path is indisable-programs.inc. & keepassxc profile hasdisable-programs.inc. If withoutfirejailit works then it should also work withfirejail.@ghost commented on GitHub (Apr 26, 2021):
That's my
keepassxc.localfile. Which works with firefox but still not with wolf. :That's the
librewolf.local:firefox-common.local:and
firefox.local(I'm trying to allow dolphin and okular to useopen withoption):@rusty-snake commented on GitHub (Apr 26, 2021):
FYI: There is no such blacklist
Do you have a
globals.local?@rusty-snake commented on GitHub (Apr 26, 2021):
Just to be sure, you follow this rule:
6df0ce721c/etc/profile-a-l/librewolf.profile (L22)@ghost commented on GitHub (Apr 26, 2021):
Still learning :D
Yes, I have.
globals.local:Yes, I follow that. Keepass autostart every reboot and after login I start wolf/firefox.
@CodeArtisan00 commented on GitHub (Apr 26, 2021):
why
keepass.local? Are you talking aboutkeepassorkeepassxc?try the following,
keepassxcwithfirejail --noprofile&librewolfwith its firejail profilelibrewolfwithfirejail --noprofile&keepassxcwith its firejail profileit will narrow down the problem. if in1st case
keepassxcconnects with librewolf then you have to work withkeepassxcprofile.btw, is
keepassxcworking withfirefox?@ghost commented on GitHub (Apr 26, 2021):
I'm sorry it's
keepassxc.local. I changed it.Keepassxc with firejail and wolf with noprofile works.
Firefox and keepassxc with firejail works. Same set up like above.
So there is something "wrong" here
librewolf.local:@CodeArtisan00 commented on GitHub (Apr 26, 2021):
what happens if you uncomment these two? give it a try, it may do the trick.
@ghost commented on GitHub (Apr 27, 2021):
Indeed, that worked!
I played a little bit and moved the
.mozillafolder as a backup folder (mozilla.backup) . It didn't worked.So I created the
.mozillafolder and it didn't worked.I moved
native-messaging-hostswhich includes the fileorg.keepassxc.keepassxc_browser.jsonand it works.I already tried to move the folder and file to
.librewolfwhich doesn't work.So I tried
keepassxc -> tools -> browser integration -> advanced -> use a custom browser configuration location -> browser type: firefox -> config location: ~/.librewolf/native-messaging-hosts/and created the folder.Changed
keepassxc.localThe file gets created.
And I added to
librewolf.local(just in case):It seems to me that librewolf is only looking in the mozilla folder for the extension particular to
~/.mozilla/native-messaging-hosts/org.keepassxc.keepassxc_browser.jsonor I must miss something.My plan is to get rid off firefox.
Edit:
Or is keepassxc browser addon looking only in the
.mozillafolder?@rusty-snake commented on GitHub (Apr 27, 2021):
So actually this are the required locals?
keepassxc.locallibrewolf.local@ghost commented on GitHub (Apr 27, 2021):
I have that
keepassxc.local:and
librewolf.local:So
keepassxc-proxyprobably necessary as well.Is the folder
.mozillacreated even without using Mozilla software? So keepassxc creates it then? Otherwise the keepassxc addon on librewolf does not work, I guess.Edit:
And
firefox-common.local@rusty-snake commented on GitHub (Apr 27, 2021):
I mean for the locals to make kpxc-browser work with librewolf (as reference for other users).
mkfile ${HOME}/.mozilla/native-messaging-hosts/org.keepassxc.keepassxc_browser.jsonneed to create.mozillain order to create a file under it.Can you test with only
for
~/.mozilla.@ghost commented on GitHub (Apr 27, 2021):
I just tested it on a vm with only keepassxc and librewolf.
And that's the bare minimum for the addon ...
mkdir -p ~/.mozilla/native-messaging-hosts/keepassxc.local:and for
librewolf.local:But that's very annoying you probably know it already :D Better to add at least those to
keepassxc.localas well:Otherwise you have to enable browser integration every time you start keepass.
I still don't get it why I can't just use
Use a custom browser configuration location:. I tried that too but nothing. Anyhow that's the solution for now, I guess.@vnepogodin commented on GitHub (Apr 30, 2021):
https://github.com/netblue30/firejail/blob/master/etc/profile-a-l/librewolf.profile#L21
You should just uncomment or put it to your
librewolf.local@rusty-snake commented on GitHub (Apr 30, 2021):
@vnepogodin does this work for you?
@vnepogodin commented on GitHub (Apr 30, 2021):
Yes
@rusty-snake commented on GitHub (Apr 30, 2021):
@vnepogodin did you uncommented the .mozilla as well?
@DanSman @vnepogodin How do you installed librewolf (could a wrong configure argument cause this?)?
@vnepogodin commented on GitHub (Apr 30, 2021):
I did't uncommented
.mozillalibrewolf and keepassxc installed as fresh as posible
@ghost commented on GitHub (Apr 30, 2021):
It doesn't work here.
I need to have everything uncomment and the
.mozillafolder manually created like I mentioned above. Which makes sense to me. Librewolf and keepassxc shouldn't have access to the.mozillafolder out of the box.@vnepogodin
Where is the file
org.keepassxc.keepassxc_browser.jsonstored on your computer and how get librewolf access to it?Edit:
I use Arch Linux and used the AUR librewolf bin package.
Keepassxc just from the official repo.
@rusty-snake commented on GitHub (May 1, 2021):
Compiled from git?
@ghost commented on GitHub (May 1, 2021):
Does it really makes any difference?
@rusty-snake commented on GitHub (May 1, 2021):
Other program version or configure arguments are the only idea I have ATM.
@ghost commented on GitHub (May 2, 2021):
Why messing with firefox if you are using librewolf ?
Firefox has .mozilla folder and librewolf has .librewolf
I think you also malfunctioned the keepassxc browser extension. Uninstall keepassxc browser extension and
rm -rf $(find ~/.librewolf | grep keepass)then reinstall again. Mine works perfectly. Just auto keyboard completion and internet connection not works, which is not a privacy but a shit. KeePassXC and be build without those flags but no need to implement that for all users by default :D
@ghost commented on GitHub (May 3, 2021):
Did you enabled browser integration in keepass? If yes, which browser? Or custom browser config?
I have seen you're using Arch as well. I tried that on a fresh install arch vm and on my computer arch. So I can't get any connection between those without the setup above.
But maybe I block something else here and there.,
@rusty-snake commented on GitHub (Jun 10, 2021):
I'm closing here due to inactivity, please fell free to request to reopen if you have more questions.
@float3 commented on GitHub (Nov 18, 2022):
https://github.com/keepassxreboot/keepassxc/issues/6907#issuecomment-1136491056