[PR #1169] [MERGED] Make KdfIterations nullable #2778

Closed
opened 2025-11-26 23:23:58 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/1169
Author: @mpbw2
Created: 12/8/2020
Status: Merged
Merged: 12/8/2020
Merged by: @mpbw2

Base: masterHead: bugfix-kdfiterations


📝 Commits (1)

  • 3ae6810 make kdfIterations nullable

📊 Changes

3 files changed (+4 additions, -4 deletions)

View changed files

📝 src/Core/Abstractions/IUserService.cs (+2 -2)
📝 src/Core/Models/Response/IdentityTokenResponse.cs (+1 -1)
📝 src/Core/Services/UserService.cs (+1 -1)

📄 Description

This fixes the issue where the app would throw if the value was missing as it was stored as zero instead of null. The result is now an invalid password prompt on unlock instead of crashing (bringing mobile to parity with other clients).


🔄 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/1169 **Author:** [@mpbw2](https://github.com/mpbw2) **Created:** 12/8/2020 **Status:** ✅ Merged **Merged:** 12/8/2020 **Merged by:** [@mpbw2](https://github.com/mpbw2) **Base:** `master` ← **Head:** `bugfix-kdfiterations` --- ### 📝 Commits (1) - [`3ae6810`](https://github.com/bitwarden/android/commit/3ae68102924e292d7a74450f5fe8faf197bcc8fd) make kdfIterations nullable ### 📊 Changes **3 files changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `src/Core/Abstractions/IUserService.cs` (+2 -2) 📝 `src/Core/Models/Response/IdentityTokenResponse.cs` (+1 -1) 📝 `src/Core/Services/UserService.cs` (+1 -1) </details> ### 📄 Description This fixes the issue where the app would throw if the value was missing as it was stored as zero instead of null. The result is now an invalid password prompt on unlock instead of crashing (bringing mobile to parity with other clients). --- <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 2025-11-26 23:23:58 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#2778