Repository navigation
[PM-26340] Add linux biometrics v2 - #16660
Conversation
Co-authored-by: Bernd Schoolmann <[email protected]>
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #16660 +/- ##
=======================================
Coverage 40.17% 40.17%
=======================================
Files 3486 3486
Lines 99633 99634 +1
Branches 14911 14911
=======================================
+ Hits 40031 40032 +1
- Misses 57909 57910 +1
+ Partials 1693 1692 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Great job! No new security vulnerabilities introduced in this pull request |
|
Claude finished @quexten's task —— View job PR Review: Linux Biometrics V2
|
|
Merging since this does not yet use the code actively. Next PR will make use of it and get QA'd. |





🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-26340
📔 Objective
This PR implements biometrics v2 for Linux:
this PR does not yet make use of the implemented module. That is added in a follow-up PR.
The user key is now held in the encrypted memory store (introduced in #16659) after first unlock. The key of the memory store is protected from memory dumping via either of:
memfd_secretkeyctlPR_SET_DUMPABLE=0(all systems except snap)kernel.yama.ptrace_scope(default on at least ubuntu, soon expanding)only if all of the above methods are unavailable is the memory store key dumpable by other userspace processes (which in turn would make the userkey decryptable).
📸 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