-
Notifications
You must be signed in to change notification settings - Fork 584
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add profiles for jami and postman (#5691)
- Loading branch information
1 parent
8779a4f
commit 58732a6
Showing
5 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters