Repository navigation
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #12007 +/- ##
==========================================
- Coverage 33.44% 33.43% -0.01%
==========================================
Files 2864 2864
Lines 89637 89655 +18
Branches 17067 17071 +4
==========================================
Hits 29978 29978
- Misses 57297 57315 +18
Partials 2362 2362 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Fixed Issues
|
21aec4d to
49e1b0c
Compare
|
Any soon we are going to get it? |
|
What else needs to be done for this PR to be ready to be merged? |
|
any update on when they are going to merge this? |
|
@quexten is there a reason this is still drafted and not merged down? Does this need testing or more contribution? There are a fair amount of people chomping at the bit here. |
|
Sorry, no updates here. I've slowly re-opened my other in-draft Flatpak PR's (#12016) and these will be merged first. I hope to allocate some time for myself to split this into two PR's, one doing biometrics, and one doing the browser integration. I don't know if it's permissable from the flathub side to allocate sandbox-escape permissions as are necessary in this PR currently, and need to figure that out. Aside from that, this does not yet have a way to enable browser integration between a flatpak browser and a flatpak bitwarden installation; and that needs a separate, follow-up PR. |
|
Question for everyone following this: Is your main interest in this shared unlock between browser and desktop, or is it just for unlocking the desktop app itself? Depending on that I may shift priorities. |
|
I personally am interested in biometric unlock for both. But biometric unlock for desktop and then desktop unlock browser also works for me. |
|
Personally I'm only interested in unlocking the browser extension. However, I might consider starting to use the desktop app if it had biometric unlock. |
|
My main interest in this issue is being able to use biometrics to unlock the browser extension |
|
I'd also like to see biometrics available in both scenarios; I use a very long obnoxious password for obvious reasons, and the less I need to type it, the better. The browser integration is pretty key to my needs here, and the real priority to being able to support biometrics since that 98% of my usage of Bitwarden. I personally would be fine if documented extra config was needed via Flatseal etc to adjust the flatpak permissions to make it work. |
|
Looking forward to seeing this merged soon <3. |
|
Is there a work-in-progress build of this branch that I can try out? |
|
Is there a reason this is still marked as a draft? This feature is sorely needed, and if the work is already done then the draft tag is pretty much the only thing blocking a merge..? |
I don't mind separate unlocks for app and browser extension, but I would really like to see biometric unlocks instead of typing a long password every time I unlock my laptop. It looks like most of the checks pass... Is there a time estimate on when this could be merged? |
The Firefox extension is the most important thing to unlock with a fingerprint for me. I don't use the desktop app often; it mostly ran in the background (previously on Mac) only to unlock the browser extension. I tried the RPM and AppImage packages and failed to enable any biometrics on Bluefin (Fedora Silverblue), seemingly because the Bitwarden apps need to write a rule into a polkit directory, which is impossible on immutables; no error received. I hope that this improvement will count with this issue for browser extension (and Flatpak as well.) |
|
Pretty please? |
|
The only reason I install the desktop app is to get passwordless login for the browser extension. Switching between macOS and Linux is jarring because of this issue, so I'm keen to see it resolved. I'm not using an immutable OS, so would happily use one of the other packages, but haven't had any joy with any of them. |
|
Hi all! Since there are a few comments, I'll respond here. I'd eventually love to get back to this PR, and it's definitely something I'll pursue again at some point. However, currently I have other projects [1] [2] that take significantly higher priority and for the time being I cannot prioritize picking back up Flatpak support. As a further note, there is currently a not-yet-rolled-out re-write of Linux biometrics that will store the biometrics key in the kernel / protected memory for enhanced protection against user-space memory dumping attacks. This will have to roll out before being able to work on Flatpak support. #16660 If there is any community contributions on this in the meantime, please feel free to ping me and I'm happy to review. Thank you! |
|
Why was this closed without a change or comment? |
|
There was a comment. Is this not visible? #12007 (comment) |
|
A community PR was recently merged that fixed the biometrics issue in Flatpak: #18625 |
Released as part of 2026.2.0. Thanks for pointing this out! |


🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-14950
fixes #17965
📔 Objective
This PR aims to do four things:
Biometric browser integration with flatpak
This implements biometric integration for flatpak sandboxed bitwarden installations (flatpak browsers are still incompatible). We achieve this by instead of the desktop proxy binary, calling a script that calls the desktop proxy binary inside of the flatpak sandbox.
Fix polkit connection
There are several ways to provide a subject to polkit. One of them is via a pid, which is what was used so far. However, snap/flatpak namespace the pids, so this does not work. Instead, we use the system bus name: https://docs.rs/zbus_polkit/latest/zbus_polkit/policykit1/struct.Subject.html
Biometric auto setup
In order to make automatic setup of the polkit policies possible, we use flatpak-spawn to get out of the flatpak sandbox. This needs a new permission on the flatpak manifest.
Biometric failed setup fallback
On some systems (atomic fedora spins, i.e kinonite/silverblue), the polkit policies are read-only, and would have to be changed with an overlay. The simple fix here is to use one of the existing policies -
org.freedesktop.policykit.exec. This is cosmetically not as nice, since the fallback prompt is something like: "Authenticate to run a program as a different user", but for authentication purposes should be as strong.📸 Screenshots
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:) or similar for great changes:memo:) or ℹ️ (:information_source:) for notes or general info:question:) for questions:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:) for suggestions / improvements:x:) or:warning:) for more significant problems or concerns needing attention:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt:pick:) for minor or nitpick changes