Modules pour le navigateur Firefox
  • Extensions
  • Thèmes
    • pour Firefox
    • Dictionnaires et paquetages linguistiques
    • Sites pour les autres navigateurs
    • Modules pour Android
Connexion
Aperçu de KeePassXC-Browser - Passkeys fallback fixer

KeePassXC-Browser - Passkeys fallback fixer par Aleksandr Kolbasov

Fixes authentication fallback issue with KeePassXC (focus loss)

0 (0 critiques)0 (0 critiques)
Télécharger Firefox et obtenir l’extension
Télécharger le fichier

Métadonnées de l’extension

À propos de cette extension
A proxy add-on that resolves WebAuthn (passkeys) authentication fallback failures with KeePassXC by holding API calls until the page regains focus.

When using KeePassXC to select a passkey, the current browser tab always loses focus. The problem arises due to the behavior of different operating system window managers: the response from KeePassXC may be returned before the browser tab regains focus.

In such cases, Firefox blocks calls to the native Web Authentication API methods (navigator.credentials.create and navigator.credentials.get), as these calls originate from a page that is (still) considered out of focus by the browser. This leads to authentication failures using an external security token - such as a YubiKey or similar hardware key.

How this add-on works

This add-on functions as a proxy layer between the browser’s native WebAuthn API and KeePassXC-Browser plugin. Its operation can be broken down into the following steps:
  1. The add-on hooks into the native navigator.credentials methods before the KeePassXC-Browser plugin initializes and performs its own interception.
  2. Once KeePassXC-Browser starts up, it detects and overrides the navigator.credentials interface. However, it now interacts with the methods intercepted and managed by this add-on, unaware of the intermediate layer.
  3. If the user proceeds with the authentication flow (e.g., creates a new credential or signs the request successfully), this add-on remains completely inactive. It has no knowledge of or involvement in the successful authentication process - the flow continues directly between KeePassXC-Browser and the website requesting authentication.
  4. The add-on becomes active only in the fallback scenario: when the user explicitly declines the authentication request. In this case, KeePassXC returns control to the browser, and this add-on waits for the page to regain focus before allowing the native API call to proceed, compensating for the focus-related timing issue.

Current status & workaround

I have developed and submitted a patch to address this issue. The KeePassXC project maintainers have reviewed the patch, but have not accepted it and have not proposed any alternative solutions.

To bridge this gap, I've created this browser add-on as a temporary solution. It will remain useful until either:
* my patch is accepted and released in the official KeePassXC-Browser builds
* or somebody implements an alternative fix for this problem.
Noté 0 par 1 personne
Connectez-vous pour noter cette extension
Il n’y a aucune note pour l’instant

Le nombre d’étoiles est enregistré

5
0
4
0
3
0
2
0
1
0
Aucune critique pour l’instant
Autorisations et données

Autorisations nécessaires :

  • Accéder à vos données pour tous les sites web

Collecte de données :

  • Le développeur indique que cette extension n’a pas besoin de collecter de données.
En savoir plus
Plus d’informations
Liens du module
  • Page d’accueil
  • Site d’assistance
  • Copy add-on ID
Version
1.0
Taille
8,93 Ko
Dernière mise à jour
il y a 16 jours (20 mai 2026)
Catégories associées
  • Sécurité et vie privée
Licence
GNU General Public License v3.0 uniquement
Historique des versions
  • Voir toutes les versions
Étiquettes
  • password manager
  • user scripts
Ajouter à la collection
Signaler ce module
Aller à la page d’accueil de Mozilla

Modules complémentaires

  • À propos
  • Blog des modules complémentaires Firefox
  • Atelier sur les extensions
  • Pôle développeur
  • Politiques à destination des développeurs
  • Blog de la communauté
  • Forum
  • Signaler un problème
  • Guide de revue

Navigateurs

  • Desktop
  • Mobile
  • Enterprise

Produits

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Confidentialité
  • Cookies
  • Mentions légales

Sauf mention contraire, le contenu de ce site est disponible sous licence Creative Commons Attribution Share-Alike v3.0 ou toute version supérieure.