flathub: sandbox permissions (home access and secrets) via portals
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 38/100
Rechercherichtung
Start by reading the Flatpak manifest and the app’s file chooser and secret storage integrations; the issue does not name their paths. Check how database files are opened and how flutter_secure_storage finds existing entries in a sandbox. Done means replacing broad permissions with portal or app data access where possible, justifying any exception, verifying the local MCP server permissions, and adding a “Running as a Flatpak” note to the docs.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Part of #1060. Reviewer: "Why unrestricted home access?" and "Why unrestricted secrets access?" Linter: finish-args-home-filesystem-access (error).
Rules: "Static permissions must be kept to an absolute minimum"; apps "should rely on XDG Portals"; when a suitable portal exists, "using the portal becomes mandatory instead of static permissions"; "overly permissive configurations will not be accepted."
Current finish-args
--filesystem=home and --talk-name=org.freedesktop.secrets (plus network, ipc, x11/wayland, dri).
Work
- Files: SQLite databases, SQL scripts, export targets, theme and extension folders must come from the file chooser portal or the app's own data dirs. Drop
--filesystem=home. Check.db/.sqlitefile associations (opened files arrive through the portal) - SSH tunnels: private keys and
known_hosts: let the user pick key files through the chooser, or document--filesystem=~/.ssh:roas a narrowly justified exception to ask for - Secrets: use the Secret portal (libsecret speaks it from inside a sandbox) instead of talking to
org.freedesktop.secretsdirectly; verify thatflutter_secure_storageworks and that existing entries are found - Local MCP server / bridge: confirm what needs network and ipc
- Write a short justification for every remaining permission for the reviewer
- Add a "Running as a Flatpak" note to docs listing what changed in behaviour
- Vorherrschende Sprache
- Dart
- Sterne
- 23
- Forks
- 1
- Ø Merge
- 31 Min.
- Gemergte PRs (30 T.)
- 570
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus QueryaHub/Querya-Desktop
-
enhancement ui
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
QueryaHub/Querya-Desktop#1689 ·
Maintainer antworten meist innerhalb von 1 Tag
-
ui(dialogs): make destructive query and DML preview dialogs adaptive and prevent table name overflowOffenbug frontend
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
QueryaHub/Querya-Desktop#1642 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug error-handling settings
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 78/100
QueryaHub/Querya-Desktop#1637 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
QueryaHub/Querya-Desktop#1636 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement marketplace
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
QueryaHub/Querya-Desktop#1635 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in QueryaHub/Querya-Desktop
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
AppFlowy-IO/AppFlowy#9075 ·
-
Paste asks for iOS paste permission because the default context menu ignores SystemContextMenuEvtl. vergeben @dorklein hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
maheshj01/searchfield#267 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
avdept/JellyBoxPlayer#375 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
basictech01/uniun#300 ·
Maintainer antworten meist innerhalb von 1 Tag