Add profiles for jami and postman (#5691)

This commit is contained in:
Kobaxidze256 2023-03-15 12:26:12 +00:00 committed by GitHub
parent 8779a4f558
commit 58732a6545
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 62 additions and 0 deletions

View file

@ -320,6 +320,7 @@ blacklist ${HOME}/.config/PacmanLogViewer
blacklist ${HOME}/.config/PawelStolowski
blacklist ${HOME}/.config/Philipp Schmieder
blacklist ${HOME}/.config/Pinta
blacklist ${HOME}/.config/Postman
blacklist ${HOME}/.config/QGIS
blacklist ${HOME}/.config/QMediathekView
blacklist ${HOME}/.config/QQ
@ -480,6 +481,7 @@ blacklist ${HOME}/.config/inox
blacklist ${HOME}/.config/iridium
blacklist ${HOME}/.config/itch
blacklist ${HOME}/.config/jami
blacklist ${HOME}/.config/jami.net
blacklist ${HOME}/.config/jd-gui.cfg
blacklist ${HOME}/.config/jgit
blacklist ${HOME}/.config/k3brc
@ -1183,6 +1185,7 @@ blacklist ${HOME}/Arduino
blacklist ${HOME}/Monero/wallets
blacklist ${HOME}/Nextcloud
blacklist ${HOME}/Nextcloud/Notes
blacklist ${HOME}/Postman
blacklist ${HOME}/Seafile/.seafile-data
blacklist ${HOME}/SoftMaker
blacklist ${HOME}/Standard Notes Backups

View file

@ -0,0 +1,18 @@
# Firejail profile for jami
# Description: An encrypted peer-to-peer messenger
# This file is overwritten after every install/update
# Persistent local customizations
include jami.local
# Persistent global definitions
# added by caller profile
#include globals.local
noblacklist ${HOME}/.config/jami.net
mkdir ${HOME}/.config/jami.net
mkdir ${HOME}/Videos/Jami
whitelist ${HOME}/.config/jami.net
whitelist ${HOME}/Videos/Jami
# Redirect
include jami-gnome.profile

View file

@ -0,0 +1,10 @@
# Firejail profile for Postman
# This file is overwritten after every install/update
# Persistent local customizations
include Postman.local
# Persistent global definitions
# added by included profile
#include globals.local
# Redirect
include postman.profile

View file

@ -0,0 +1,28 @@
# Firejail profile for postman
# Description: API testing platform
# This file is overwritten after every install/update
# Persistent local customizations
include postman.local
# Persistent global definitions
include globals.local
noblacklist ${HOME}/.config/Postman
noblacklist ${HOME}/Postman
mkdir ${HOME}/.config/Postman
mkdir ${HOME}/Postman
whitelist ${HOME}/.config/Postman
whitelist ${HOME}/Postman
include whitelist-run-common.inc
protocol unix,inet,inet6,netlink
private-bin electron,electron[0-9],electron[0-9][0-9],locale,node,Postman,postman,sh
private-etc alternatives,ca-certificates,crypto-policies,fonts,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,localtime,nsswitch.conf,pki,resolv.conf,ssl
# private-opt breaks file-copy-limit, use a whitelist instead of draining RAM
# https://github.com/netblue30/firejail/discussions/5307
#private-opt postman
whitelist /opt/postman
# Redirect
include electron-common.profile

View file

@ -25,6 +25,7 @@ Natron
PCSX2
PPSSPPQt
PPSSPPSDL
Postman
QMediathekView
QOwnNotes
Screenshot
@ -421,6 +422,7 @@ ipcalc
ipcalc-ng
iridium
iridium-browser
jami
jd-gui
jdownloader
jerry
@ -682,6 +684,7 @@ plv
pngquant
polari
porn-cli
postman
ppsspp
pragha
presentations18