[PR #2556] [MERGED] [PM-2456] Fix attachment encryption on new cipher item encryption model #51856

Closed
opened 2026-05-01 15:33:32 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/2556
Author: @fedemkr
Created: 6/2/2023
Status: Merged
Merged: 6/5/2023
Merged by: @fedemkr

Base: feature/PM-115-encryption-update-new-modelHead: PM-2456-fix-new-cipher-encryption-attachment


📝 Commits (1)

  • b2ccc96 PM-2456 Fix attachment encryption on new cipher item encryption model

📊 Changes

5 files changed (+38 additions, -15 deletions)

View changed files

📝 src/App/Pages/Vault/AttachmentsPageViewModel.cs (+1 -1)
📝 src/Core/Abstractions/ICipherService.cs (+1 -1)
📝 src/Core/Services/CipherService.cs (+6 -5)
📝 test/Core.Test/AutoFixture/Cipher/CipherCustomizations.cs (+24 -2)
📝 test/Core.Test/Services/CipherServiceTests.cs (+6 -6)

📄 Description

Type of change

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

Objective

Fix attachment encryption on new cipher item encryption model

Code changes

  • CipherService: Applied new cipher item key encryption to attachments.
  • CipherServiceTests: Updated unit tests and added new customization for CipherView

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/2556 **Author:** [@fedemkr](https://github.com/fedemkr) **Created:** 6/2/2023 **Status:** ✅ Merged **Merged:** 6/5/2023 **Merged by:** [@fedemkr](https://github.com/fedemkr) **Base:** `feature/PM-115-encryption-update-new-model` ← **Head:** `PM-2456-fix-new-cipher-encryption-attachment` --- ### 📝 Commits (1) - [`b2ccc96`](https://github.com/bitwarden/android/commit/b2ccc9645177240cc5ce3f1538f8faacaadaeb43) PM-2456 Fix attachment encryption on new cipher item encryption model ### 📊 Changes **5 files changed** (+38 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `src/App/Pages/Vault/AttachmentsPageViewModel.cs` (+1 -1) 📝 `src/Core/Abstractions/ICipherService.cs` (+1 -1) 📝 `src/Core/Services/CipherService.cs` (+6 -5) 📝 `test/Core.Test/AutoFixture/Cipher/CipherCustomizations.cs` (+24 -2) 📝 `test/Core.Test/Services/CipherServiceTests.cs` (+6 -6) </details> ### 📄 Description ## Type of change - [ ] Bug fix - [ ] 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--> Fix attachment encryption on new cipher item encryption model ## 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--> * **CipherService:** Applied new cipher item key encryption to attachments. * **CipherServiceTests:** Updated unit tests and added new customization for `CipherView` ## 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-05-01 15:33:32 -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#51856