[PR #3450] [MERGED] [PM-8137] Introduce FIDO 2 user verification to add edit item #68186

Closed
opened 2026-05-14 10:25:52 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/3450
Author: @SaintPatrck
Created: 7/11/2024
Status: Merged
Merged: 7/16/2024
Merged by: @SaintPatrck

Base: mainHead: PM-8137/user-verificatoin-add-edit-item


📝 Commits (8)

  • cc3d4e9 Introduce FIDO 2 user verification to add edit item
  • 7999e66 Merge remote-tracking branch 'refs/remotes/origin/main' into PM-8137/user-verificatoin-add-edit-item
  • a7f9bf7 Update branch and handle UV not supported
  • 82cd7c9 Chop down call and correct null option handling
  • 2dca33d Docs
  • 7dcc56e Merge branch 'main' into PM-8137/user-verificatoin-add-edit-item
  • 8a09734 Merge branch 'main' into PM-8137/user-verificatoin-add-edit-item
  • ae379f5 Add test for UV not supported handling

📊 Changes

5 files changed (+863 additions, -83 deletions)

View changed files

📝 app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/addedit/VaultAddEditScreen.kt (+31 -0)
📝 app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/addedit/VaultAddEditViewModel.kt (+169 -9)
app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/addedit/handlers/VaultAddEditUserVerificationHandlers.kt (+58 -0)
📝 app/src/test/java/com/x8bit/bitwarden/ui/vault/feature/addedit/VaultAddEditScreenTest.kt (+132 -1)
📝 app/src/test/java/com/x8bit/bitwarden/ui/vault/feature/addedit/VaultAddEditViewModelTest.kt (+473 -73)

📄 Description

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-8137

📔 Objective

When adding a credential to a new cipher or an existing cipher from the Add Edit screen, perform user verification using biometrics or device credentials (password, pattern, or PIN) if the relying party indicates it is preferred or discouraged. If user verification cannot be performed on the device, when required, it is treated as a verification failure.

📸 Screenshots

Coming soon!

Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation or informed the documentation team

🦮 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

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bitwarden/android/pull/3450 **Author:** [@SaintPatrck](https://github.com/SaintPatrck) **Created:** 7/11/2024 **Status:** ✅ Merged **Merged:** 7/16/2024 **Merged by:** [@SaintPatrck](https://github.com/SaintPatrck) **Base:** `main` ← **Head:** `PM-8137/user-verificatoin-add-edit-item` --- ### 📝 Commits (8) - [`cc3d4e9`](https://github.com/bitwarden/android/commit/cc3d4e9632d577a1a555f14001c219dd9f4ec000) Introduce FIDO 2 user verification to add edit item - [`7999e66`](https://github.com/bitwarden/android/commit/7999e6672e1b599f0ae1e8e5c7a49a31808f71f9) Merge remote-tracking branch 'refs/remotes/origin/main' into PM-8137/user-verificatoin-add-edit-item - [`a7f9bf7`](https://github.com/bitwarden/android/commit/a7f9bf72ee788bcb1012d5d67dff7b6c160a96a8) Update branch and handle UV not supported - [`82cd7c9`](https://github.com/bitwarden/android/commit/82cd7c95ca93d754d163c49fa4e253e35c25fae0) Chop down call and correct null option handling - [`2dca33d`](https://github.com/bitwarden/android/commit/2dca33db49027f947c0128910dd6cf6c1a83aba2) Docs - [`7dcc56e`](https://github.com/bitwarden/android/commit/7dcc56e55a6911da12d4399c26bd6170bb98327f) Merge branch 'main' into PM-8137/user-verificatoin-add-edit-item - [`8a09734`](https://github.com/bitwarden/android/commit/8a09734f5afd8d50d9b7b81a2f82d3c862e51924) Merge branch 'main' into PM-8137/user-verificatoin-add-edit-item - [`ae379f5`](https://github.com/bitwarden/android/commit/ae379f57e0ce24da9f6d9d967413da02c75284bb) Add test for UV not supported handling ### 📊 Changes **5 files changed** (+863 additions, -83 deletions) <details> <summary>View changed files</summary> 📝 `app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/addedit/VaultAddEditScreen.kt` (+31 -0) 📝 `app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/addedit/VaultAddEditViewModel.kt` (+169 -9) ➕ `app/src/main/java/com/x8bit/bitwarden/ui/vault/feature/addedit/handlers/VaultAddEditUserVerificationHandlers.kt` (+58 -0) 📝 `app/src/test/java/com/x8bit/bitwarden/ui/vault/feature/addedit/VaultAddEditScreenTest.kt` (+132 -1) 📝 `app/src/test/java/com/x8bit/bitwarden/ui/vault/feature/addedit/VaultAddEditViewModelTest.kt` (+473 -73) </details> ### 📄 Description ## 🎟️ Tracking https://bitwarden.atlassian.net/browse/PM-8137 ## 📔 Objective When adding a credential to a new cipher or an existing cipher from the Add Edit screen, perform user verification using biometrics or device credentials (password, pattern, or PIN) if the relying party indicates it is preferred or discouraged. If user verification cannot be performed on the device, when required, it is treated as a verification failure. ## 📸 Screenshots Coming soon! ## ⏰ Reminders before review - Contributor guidelines followed - All formatters and local linters executed and passed - Written new unit and / or integration tests where applicable - Used internationalization (i18n) for all UI strings - CI builds passed - Communicated to DevOps any deployment requirements - Updated any necessary documentation or informed the documentation team ## 🦮 Reviewer guidelines <!-- Suggested interactions but feel free to use (or not) as you desire! --> - 👍 (`:+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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-14 10:25:52 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#68186