[PR #2390] [MERGED] [PM-1078] Login with Device - Change mobile to not get fingerprint from API #34036

Closed
opened 2026-04-21 01:42:54 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/2390
Author: @andrebispo5
Created: 2/22/2023
Status: Merged
Merged: 3/13/2023
Merged by: @andrebispo5

Base: masterHead: feature/PM-1078-fingerprint


📝 Commits (2)

  • b7658d8 [PM-1078] Fingerprint phrase gets calculated from pub key on AuthService instead of coming as a property from the api.
  • 0341c79 [PM-1078] Code format

📊 Changes

6 files changed (+34 additions, -9 deletions)

View changed files

📝 src/App/App.xaml.cs (+1 -1)
📝 src/App/Pages/Accounts/LoginPasswordlessRequestViewModel.cs (+1 -1)
📝 src/App/Pages/Settings/LoginPasswordlessRequestsListPage.xaml (+1 -1)
📝 src/App/Pages/Settings/LoginPasswordlessRequestsListViewModel.cs (+1 -1)
📝 src/Core/Models/Response/PasswordlessLoginResponse.cs (+1 -1)
📝 src/Core/Services/AuthService.cs (+29 -4)

📄 Description

Type of change

  • Bug fix
  • New feature development
  • Tech debt (refactoring, code cleanup, dependency upgrades, etc)
  • Build/deploy pipeline (DevOps)
  • Other

Objective

  • Modify mobile client to generate the fingerprint phrase themselves, ignoring the one retrieved from the API
  • Remove fingerprintPhrase from the AuthRequestResponse

Code changes

  • src/Core/Models/Response/PasswordlessLoginResponse.cs:
    Renamed property containing the FingerprintPhrase, ignoring api value.

  • src/Core/Services/AuthService.cs:
    After fetching the data from the ApiService, AuthService will populate the values for the FingerprintPhrase.

Before you submit

  • Please check for formatting errors (dotnet format --verify-no-changes) (required)
  • Please add unit tests where it makes sense to do so (encouraged but not required)
  • If this change requires a documentation update - notify the documentation team
  • If this change has particular deployment requirements - notify the DevOps team

🔄 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/2390 **Author:** [@andrebispo5](https://github.com/andrebispo5) **Created:** 2/22/2023 **Status:** ✅ Merged **Merged:** 3/13/2023 **Merged by:** [@andrebispo5](https://github.com/andrebispo5) **Base:** `master` ← **Head:** `feature/PM-1078-fingerprint` --- ### 📝 Commits (2) - [`b7658d8`](https://github.com/bitwarden/android/commit/b7658d882c779696dda0668b4579f3c402a8f703) [PM-1078] Fingerprint phrase gets calculated from pub key on AuthService instead of coming as a property from the api. - [`0341c79`](https://github.com/bitwarden/android/commit/0341c79ae3afeb661016fe2f37037802c04f58a5) [PM-1078] Code format ### 📊 Changes **6 files changed** (+34 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `src/App/App.xaml.cs` (+1 -1) 📝 `src/App/Pages/Accounts/LoginPasswordlessRequestViewModel.cs` (+1 -1) 📝 `src/App/Pages/Settings/LoginPasswordlessRequestsListPage.xaml` (+1 -1) 📝 `src/App/Pages/Settings/LoginPasswordlessRequestsListViewModel.cs` (+1 -1) 📝 `src/Core/Models/Response/PasswordlessLoginResponse.cs` (+1 -1) 📝 `src/Core/Services/AuthService.cs` (+29 -4) </details> ### 📄 Description ## Type of change - [ ] Bug fix - [X] New feature development - [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc) - [ ] Build/deploy pipeline (DevOps) - [ ] Other ## Objective <!--Describe what the purpose of this PR is. For example: what bug you're fixing or what new feature you're adding--> - Modify mobile client to generate the fingerprint phrase themselves, ignoring the one retrieved from the API - Remove fingerprintPhrase from the AuthRequestResponse ## Code changes <!--Explain the changes you've made to each file or major component. This should help the reviewer understand your changes--> <!--Also refer to any related changes or PRs in other repositories--> * **src/Core/Models/Response/PasswordlessLoginResponse.cs:** Renamed property containing the `FingerprintPhrase`, ignoring api value. * **src/Core/Services/AuthService.cs:** After fetching the data from the `ApiService`, `AuthService` will populate the values for the `FingerprintPhrase`. <!--Required for any UI changes. Delete if not applicable--> ## Before you submit - Please check for formatting errors (`dotnet format --verify-no-changes`) (required) - Please add **unit tests** where it makes sense to do so (encouraged but not required) - If this change requires a **documentation update** - notify the documentation team - If this change has particular **deployment requirements** - notify the DevOps team --- <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-04-21 01:42:54 -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#34036