Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

flathub: sandbox permissions (home access and secrets) via portals

Aberta
#1,580 0 comentários 0 reações 0 responsáveis Ver no GitHub

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
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
dart, flutter

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

enhancement flathub security

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/.sqlite file 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:ro as 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.secrets directly; verify that flutter_secure_storage works 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

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de QueryaHub/Querya-Desktop

Todas as issues de QueryaHub/Querya-Desktop

Issues semelhantes

Mais issues de Dart

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.