Integration with Chromium-based browsers and Electron apps
Les mainteneurs répondent en général sous 2 jours
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 30/100
- Type d'issue
- Fonctionnalité
- Clarté
- À clarifier
- Activité
- Active
- Stack technique
- linux, rust
- Domaine
- api, authentication, desktop
Piste de recherche
This issue is primarily a design discussion, so there is no clearly bounded change to implement. Start by reading the existing Chromium, Electron, and Firefox integration details, then inspect the portal frontend API and the xdg-desktop-portal fork referenced in the issue. Consult #184 and Freedom's tracking issue for decisions and expected interfaces; completion depends on documented answers and an agreed browser integration path.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
We're working on passkey support in Freedom, a browser built on Electron (MPL-2.0). On Linux it ships as .deb, AppImage and pacman packages, not as a Flatpak.
Electron on Linux uses Chromium's WebAuthn code without Chrome's UI. It has no PIN entry, no hybrid (QR) flow and no platform authenticator, so passkeys barely work. Firefox integration is tracked in #41 and Mozilla bug 1983767. We couldn't find a matching issue for Chromium-based browsers or Electron apps (#25 is about the web extension), so this is one.
We'd like to use the Credentials portal once it is ready, and we can test against pre-releases. Some questions:
- Unsandboxed browsers. Freedom isn't sandboxed. How will the portal identify an unsandboxed host app and decide whether it may pass any origin, as a browser has to? Is that what #184 will define? Would a .deb, AppImage or pacman browser have a route to the "browser" level there, or would it get a prompt per origin?
- Which interface. An Electron app can't change Chromium's WebAuthn code. The practical route is the one your web extension takes: wrap
navigator.credentialsin the page, and call the portal from the browser process, passing the origin the browser has determined for the frame (never one supplied by the page). Is that a supported way to use the portal? Since v0.3.0 the extension uses the portal frontend API; is that what a browser should target today, through your xdg-desktop-portal fork? - Stability. Is there a rough idea of when the API will be stable enough for a browser to ship against, even behind a setting?
Freedom's tracking issue, with test results and source references: https://github.com/solardev-xyz/freedom-browser/issues/733.
- Langage dominant
- Rust
- Étoiles
- 310
- Forks
- 22
- Merge moyen
- 1 j 15 h
- PR mergées (30 j)
- 13
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun 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 linux-credentials/credentialsd
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
linux-credentials/credentialsd#277 ·
Les mainteneurs répondent en général sous 2 jours
-
Update screenshotsOuvertedocumentation good first issue help wanted
Difficulté 2/5 Une demi-journée Accessibilité débutants 62/100
linux-credentials/credentialsd#87 · 2 commentaires ·
Les mainteneurs répondent en général sous 2 jours
-
`check_origin_from_privileged_client` drops browser signalling intermediate cross-origin iframesOuverte
Difficulté 3/5 1-2 jours Accessibilité débutants 57/100
linux-credentials/credentialsd#276 ·
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 3/5 1-2 jours Accessibilité débutants 52/100
linux-credentials/credentialsd#275 · 3 commentaires ·
Les mainteneurs répondent en général sous 2 jours
-
Cancel request when client disconnectsPeut-être pris @kpanuragh l’a pris aujourd’hui. Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
linux-credentials/credentialsd#274 ·
Les mainteneurs répondent en général sous 2 jours
Toutes les issues de linux-credentials/credentialsd
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
-
needs triage
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
pbakaus/impeccable#1620 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
swc-project/swc-next-issues#533 ·
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 77/100
nautechsystems/nautilus_trader#5718 ·
Les mainteneurs répondent en général sous 1 jour
-
`luvus --remote` cannot start on a host whose login shell is NushellPeut-être pris @schlich l’a pris aujourd’hui. Ouvertestatus: needs triage
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 4 jours