[PR #3905] [MERGED] BITAU-103 Implement symmetric key creation and storage #4512

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

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/3905
Author: @ahaisting-livefront
Created: 9/11/2024
Status: Merged
Merged: 9/18/2024
Merged by: @ahaisting-livefront

Base: mainHead: generate-symmetric-key


📝 Commits (2)

  • a64bc34 BITAU-103 Implement symmetric key creation and storage
  • 00758d5 Expand test to check that fakeAuthDiskSource.authenticatorSyncSymmetricKey remains untouched when turning off authenticator sync for a user

📊 Changes

8 files changed (+88 additions, -3 deletions)

View changed files

📝 app/libs/bridge-0.1.0-SNAPSHOT-release.aar (+0 -0)
app/libs/bridge-0.1.0-release.aar (+0 -0)
📝 app/src/main/java/com/x8bit/bitwarden/data/auth/datasource/disk/AuthDiskSource.kt (+7 -0)
📝 app/src/main/java/com/x8bit/bitwarden/data/auth/datasource/disk/AuthDiskSourceImpl.kt (+9 -0)
📝 app/src/main/java/com/x8bit/bitwarden/data/platform/repository/SettingsRepositoryImpl.kt (+18 -1)
📝 app/src/test/java/com/x8bit/bitwarden/data/auth/datasource/disk/AuthDiskSourceTest.kt (+20 -0)
📝 app/src/test/java/com/x8bit/bitwarden/data/auth/datasource/disk/util/FakeAuthDiskSource.kt (+2 -0)
📝 app/src/test/java/com/x8bit/bitwarden/data/platform/repository/SettingsRepositoryTest.kt (+32 -2)

📄 Description

🎟️ Tracking

https://livefront.atlassian.net/browse/BITAU-103

📔 Objective

The goal of this PR is to setup the one time symmetric key generation. This will be required for implementing BridgeService, which is up next!

📸 Screenshots

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/3905 **Author:** [@ahaisting-livefront](https://github.com/ahaisting-livefront) **Created:** 9/11/2024 **Status:** ✅ Merged **Merged:** 9/18/2024 **Merged by:** [@ahaisting-livefront](https://github.com/ahaisting-livefront) **Base:** `main` ← **Head:** `generate-symmetric-key` --- ### 📝 Commits (2) - [`a64bc34`](https://github.com/bitwarden/android/commit/a64bc34d6af4622c369454d0704201e86f321726) BITAU-103 Implement symmetric key creation and storage - [`00758d5`](https://github.com/bitwarden/android/commit/00758d5da81aa64f88dc811030964deb3b5d8137) Expand test to check that fakeAuthDiskSource.authenticatorSyncSymmetricKey remains untouched when turning off authenticator sync for a user ### 📊 Changes **8 files changed** (+88 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `app/libs/bridge-0.1.0-SNAPSHOT-release.aar` (+0 -0) ➖ `app/libs/bridge-0.1.0-release.aar` (+0 -0) 📝 `app/src/main/java/com/x8bit/bitwarden/data/auth/datasource/disk/AuthDiskSource.kt` (+7 -0) 📝 `app/src/main/java/com/x8bit/bitwarden/data/auth/datasource/disk/AuthDiskSourceImpl.kt` (+9 -0) 📝 `app/src/main/java/com/x8bit/bitwarden/data/platform/repository/SettingsRepositoryImpl.kt` (+18 -1) 📝 `app/src/test/java/com/x8bit/bitwarden/data/auth/datasource/disk/AuthDiskSourceTest.kt` (+20 -0) 📝 `app/src/test/java/com/x8bit/bitwarden/data/auth/datasource/disk/util/FakeAuthDiskSource.kt` (+2 -0) 📝 `app/src/test/java/com/x8bit/bitwarden/data/platform/repository/SettingsRepositoryTest.kt` (+32 -2) </details> ### 📄 Description ## 🎟️ Tracking https://livefront.atlassian.net/browse/BITAU-103 ## 📔 Objective The goal of this PR is to setup the one time symmetric key generation. This will be required for implementing `BridgeService`, which is up next! ## 📸 Screenshots <!-- Required for any UI changes; delete if not applicable. Use fixed width images for better display. --> ## ⏰ 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 2025-11-26 23:45:41 -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#4512