portmaster icon indicating copy to clipboard operation
portmaster copied to clipboard

Ability to export all global and app-specific settings

Open NormPlum opened this issue 1 year ago • 5 comments

What would you like to add or change?:

An option in the UI to export all settings to a plain text file. Ideally this'd be all settings together (global and app-specific), but alternatively it could separate global and app-specific settings into separate files.

Currently, settings can be exported via the UI, but this requires you to:

  1. Specifically choose which settings to export (manually ticking all necessary boxes)
  2. Export global settings separately from app-specific settings
  3. Export app-specific settings for each app individually

Global settings are stored in .../safing/portmaster/config.json (https://wiki.safing.io/en/FAQ/ResetPortmasterSettings). This is nice and readable, but app-specific settings are stored in .../safing/portmaster/databases/core/bbolt/db.bbolt. This is not readable (at least not easily).

Why do you and others need this?:

There is currently no way to see all custom settings in one place. And not even a way to see all app-specific settings.

Personally, I'm concerned that I've allowed/denied an app or domain temporarily when trying to get something working, and then forgotten to remove/revert that setting again. Seeing all custom settings in a single list would allow me to scan through and make sure everything is as expected, or know easily what to change. This avoids needing to go through each app in the UI manually to check for issues.

NormPlum avatar Apr 02 '24 03:04 NormPlum

you are targeting a specific use case here, I have not seen that often.

We have been thinking about something like an audit trail, but the end goal is to have great profiles that just work and you don't have to get into the and mess around.

User error is of course always an option.

regarding the global export I also answered here: https://github.com/portmaster-community/apps/discussions/11

Raphty avatar Apr 02 '24 08:04 Raphty

As a note, if you or someone reading this wants to contribute to this, pleas reach out, and of course community contributed features are by default in the free version.

Raphty avatar Apr 02 '24 08:04 Raphty

you are targeting a specific use case here, I have not seen that often.

Quite possibly :grin: I am running Portmaster in 'block' mode and then allowing specific things as necessary...

NormPlum avatar Apr 02 '24 09:04 NormPlum

I have the same need. I'd like to be able to migrate all my settings between systems and keep a default template so I don't have to reconfigure every single application on my system by hand.

aequis avatar Apr 27 '24 15:04 aequis

This issue has been automatically marked as inactive because it has not had activity in the past two months.

If no further activity occurs, this issue will be automatically closed in one week in order to increase our focus on active topics.

github-actions[bot] avatar Jul 01 '24 05:07 github-actions[bot]

This issue has been automatically closed because it has not had recent activity. Thank you for your contributions.

If the issue has not been resolved, you can find more information in our Wiki or continue the conversation on our Discord.

github-actions[bot] avatar Jul 08 '24 05:07 github-actions[bot]