build(macos): ship the unsigned build without the App Sandbox (ReleaseUnsigned.entitlements)
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- dart, github-actions, macos, sqlite
- Domaine
- build-system, databases, desktop, security
Piste de recherche
Read release.yml, the Xcode project settings, and the existing macos/Runner/Release.entitlements and ReleaseSigned.entitlements files. First determine how the no-secrets build currently selects entitlements; the issue leaves the sandbox decision open. Done means adding and wiring the chosen unsigned entitlements for CI and local release builds, then verifying Keychain, SQLite reopen, extensions, MCP endpoint, and updater behavior on a Mac.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Problem
When the MACOS_* signing secrets are absent (forks, local builds, unsigned releases) the macOS app is built with ad-hoc signing and Release.entitlements, i.e. App Sandbox on. That is a different program from the signed build (ReleaseSigned.entitlements, no sandbox). Inside the sandbox:
HOMEis~/Library/Containers/com.queryahub.queryaDesktop/Data;~/.querya/extensionsand themes land in the container, not the real home.- Saved SQLite paths are not reopenable after restart (no security-scoped bookmarks);
~/.sshkeys andknown_hostsare unreachable. sandbox-execfor extensions cannot be applied from an already sandboxed process.- The MCP endpoint file is written to the container's
Library/Caches/Querya, whilequerya-mcpstarted by an MCP client reads the real~/Library/Caches/Querya. - The in-app updater cannot write to
/Applications(see #1587; the app quits and never comes back). - Keychain access fails (#1586).
Proposal (recommended)
Add macos/Runner/ReleaseUnsigned.entitlements without the App Sandbox (same hardened-runtime-free set as needed for ad-hoc signing) and use it for the no-secrets path in release.yml and in local release builds, so an unsigned build differs from the signed one only by Gatekeeper.
Alternative: support the sandbox properly (bookmarks, bundled querya-mcp, explicit capability errors). Much more work.
Tasks
- Decide sandbox vs no sandbox for unsigned builds.
- New entitlements file and wiring in
release.yml/ Xcode project (CI step without secrets passes it viaCODE_SIGN_ENTITLEMENTS). - Verify on a Mac: Keychain, SQLite reopen, extensions, MCP endpoint, updater.
Depends on / relates to #1586, #1587, #1591.
- Langage dominant
- Dart
- Étoiles
- 23
- Forks
- 1
- Merge moyen
- 31 min
- PR mergées (30 j)
- 570
Préparer son environnement
Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de QueryaHub/Querya-Desktop
-
enhancement ui
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
QueryaHub/Querya-Desktop#1689 ·
Les mainteneurs répondent en général sous 1 jour
-
ui(dialogs): make destructive query and DML preview dialogs adaptive and prevent table name overflowOuvertebug frontend
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
QueryaHub/Querya-Desktop#1642 ·
Les mainteneurs répondent en général sous 1 jour
-
bug error-handling settings
Difficulté 1/5 1-3 heures Accessibilité débutants 78/100
QueryaHub/Querya-Desktop#1637 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
QueryaHub/Querya-Desktop#1636 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement marketplace
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
QueryaHub/Querya-Desktop#1635 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de QueryaHub/Querya-Desktop
Issues similaires
-
good-first-issue P3
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
flutter/dart-intellij-third-party#758 ·
Les mainteneurs répondent en général sous 1 jour
-
Bug: Incorrect location coordinates on logged Sound Meter dataPeut-être pris @Jashan32 l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
area/archive bug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
DarkFlippers/qUnleashed#374 ·
Les mainteneurs répondent en général sous 1 jour
-
agent:in-progress agent:ready feature P2 · 中 区域: 悬浮窗
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
ASDW51/DanmuFloat#178 ·
Les mainteneurs répondent en général sous 1 jour
-
Missing workoutsOuverteenhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
InlitX/GymMane#237 · 1 commentaire ·
Les mainteneurs répondent en général sous 5 jours