flathub: sandbox permissions (home access and secrets) via portals
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 38/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- Dart
- Estrelas
- 23
- Forks
- 1
- Merge médio
- 31min
- PRs com merge (30d)
- 570
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de QueryaHub/Querya-Desktop
-
enhancement ui
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
QueryaHub/Querya-Desktop#1689 ·
Mantenedores costumam responder em até 1 dia
-
ui(dialogs): make destructive query and DML preview dialogs adaptive and prevent table name overflowAbertabug frontend
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
QueryaHub/Querya-Desktop#1642 ·
Mantenedores costumam responder em até 1 dia
-
bug error-handling settings
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 78/100
QueryaHub/Querya-Desktop#1637 ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
QueryaHub/Querya-Desktop#1636 ·
Mantenedores costumam responder em até 1 dia
-
enhancement marketplace
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
QueryaHub/Querya-Desktop#1635 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de QueryaHub/Querya-Desktop
Issues semelhantes
-
agent:in-progress agent:ready feature P2 · 中 区域: 悬浮窗
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
ASDW51/DanmuFloat#178 ·
Mantenedores costumam responder em até 1 dia
-
Missing workoutsAbertaenhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 67/100
InlitX/GymMane#237 · 1 comentário ·
Mantenedores costumam responder em até 5 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
AppFlowy-IO/AppFlowy#9077 ·
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Abhinivesh2729/Thinai#41 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 64/100
0niel/university-app#617 ·
Mantenedores costumam responder em até 1 dia