feat(profile): firefox: handle nnp with keepassxc-proxy.

This commit is contained in:
Alexandre Pujol 2024-09-20 23:34:03 +01:00
parent 8979d84633
commit e15bdcc9ad
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
3 changed files with 7 additions and 8 deletions

View file

@ -19,7 +19,7 @@ profile firefox @{exec_path} flags=(attach_disconnected) {
include <abstractions/user-download-strict>
include <abstractions/user-read-strict>
signal (send) set=(term, kill) peer=keepassxc-proxy,
signal send set=(term, kill) peer=firefox//&keepassxc-proxy,
#aa:dbus own bus=session name=org.mozilla.firefox
#aa:dbus own bus=session name=org.mpris.MediaPlayer2.firefox path=/org/mpris/MediaPlayer2
@ -46,8 +46,7 @@ profile firefox @{exec_path} flags=(attach_disconnected) {
# Common extensions
/opt/net.downloadhelper.coapp/bin/net.downloadhelper.coapp* rPx,
@{bin}/browserpass rPx,
# As a temporary solution - see issue #128
@{bin}/keepassxc-proxy rix,
@{bin}/keepassxc-proxy rPx -> firefox//&keepassxc-proxy,
owner @{user_config_dirs}/gtk-{3,4}.0/assets/*.svg r,
owner @{user_config_dirs}/ibus/bus/ r,
@ -72,6 +71,8 @@ profile firefox @{exec_path} flags=(attach_disconnected) {
owner @{tmp}/MozillaBackgroundTask-{@{hex15},@{hex16}}-removeDirectory/{**,} rw,
owner @{tmp}/Mozillato-be-removed-cachePurge-{@{hex15},@{hex16}} rwk,
owner @{run}/user/@{uid}/org.keepassxc.KeePassXC.BrowsrServer w,
# Silencer
deny @{lib_dirs}/** w,