10 Commits

Author SHA1 Message Date
tomFlowee 53e434769d Improve details reporting
Include proper start time and 'is running' information in the iso cli
app.
2024-02-25 20:52:04 +01:00
tomFlowee 7260988bcf Rename listApps to listProfiles
Also more docs
2024-02-20 21:57:05 +01:00
tomFlowee 5e689f34de Introduce app-aliases
This moves the primary key for a 'jail' to no longer be the executable
path, but instead a name.
In many cases that string will be based on the executable path, for
instance it will take the filename if the exe lives in /bin or /usr/bin
so in that respect nothing will change.

What this does allow is that you can have two different profiles that
both map to the same executabe. Allowing for instance having two
completely isolated instances running of telegram or of firefox.
2024-02-19 19:52:24 +01:00
tomFlowee ce7046efa2 Rename from 'securityManager' to 'IsolationRunner'.
The defaults are not 'secure', as they would be annoying to the max.
This is an isolation runner, removing a lot of attack vectors, for sure
but the name would give the wrong impression with defaults like we have
now.
2024-02-19 12:54:52 +01:00
tomFlowee f805e8f2ce Have app-specific rules
This introduces the command execute-apprules which behaves like
an 'include' as it recurses into the app specific file.

If there is no app specific one, it will load the default.rules

Notable too is that in an app specific rules file the usage of
execute-apprules will always go to default.rules, to avoid
copy / paste of rules.
2024-02-19 10:47:36 +01:00
tomFlowee f4032e8abe Update client to properly use the dbus 2024-02-18 22:13:16 +01:00
tomFlowee 495c4b5adb Add more DBus methods. 2024-02-18 20:58:27 +01:00
tomFlowee e0a359534f Support starting apps with arguments. 2021-05-21 15:28:57 +02:00
tomFlowee f04aac9fa4 Cleanup and start a new class. 2021-05-20 12:43:04 +02:00
tomFlowee e5dd3bffe3 Add the DBus interface to listen for run requests. 2021-05-19 15:08:22 +02:00