



ModerationĮvery version of each package undergoes a rigorous moderation process before it goes live that typically includes: *** 101.0.1+build1-0ubuntu0.22.04.Welcome to the Chocolatey Community Package Repository! The packages found in this section of the site are provided, maintained, and moderated by the community. Verify that the Mozilla PPA has higher priority than the official Ubuntu repository. You can check the apt priorities by running apt-cache policy firefox.If the version number doesn't mention "Snap" you are running the regular version: You can check whether you are running the Snap version or the regular version of Firefox by opening Help -> About Firefox.Maybe someone with more AppArmor experience can contribute a safer way to get NativeMessaging working again? Troubleshooting This approach has the drawback that AppArmor is disabled completely - beware that this weakens security. Run Firefox, open settings of the KeePassXC extension -> Connected Databases -> Connect.Run KeePassXC and enable browser integration (menu Tools -> Settings -> Browser Integration, tick "Enable browser integration" and "Firefox").Sudo ln -s /etc/apparmor.d/ /etc/apparmor.d/disable/ Disable AppArmor for Firefox to ensure the Firefox extension can connect to KeepassXC:.Sudo add-apt-repository ppa:mozillateam/ppa If you are using unattended-upgrades you also need to run the following to ensure unattended-upgrades takes the Mozilla PPA into account:Įcho 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-mozillateam:$" ' | sudo tee /etc/apt//51unattended-upgrades-firefox ' | sudo tee /etc/apt/preferences.d/mozilla-firefox We need to ensure that packages from Mozilla's PPA have higher priority (otherwise apt might "upgrade" to the Snap again). Ubuntu provides a transitional firefox Debian package which installs the Snap.This isn't pretty but the following approach worked for me: The KeePassXC Troubleshooting guide recommends installing the browser from the official PPA. While work on a solution is in progress, all we can do is work around this issue (or switch to a distro which still provides browsers as regular packages like Debian). Unfortunately this issue can't be fixed on KeePassXC's end and so far neither Flatpak nor Snap support NativeMessaging, yet (their sandboxing techniques prevent the browser extension from talking to the KeePassXC process). There is also a German article by Heise Online with a step-by-step guide on how to get this going - in case you want to give it a try. Beware that this is pretty fresh - the code hasn't been merged upstream, yet, so don't expect this to be production-ready. Update: Native messaging support in the Firefox snap is now available as beta.
