PM-26059: Remove CipherKeyEncryption feature flag#6617
Conversation
|
Claude finished @david-livefront's task in 3m 10s —— View job Code Review: Remove CipherKeyEncryption feature flag
Verdict: This PR looks good. Clean feature flag removal with all references properly cleaned up. Changes Summary
Review NotesCorrectness: The refactoring in isServerVersionAtLeast(...) && getFeatureFlag(FlagKey.CipherKeyEncryption)The new logic is: isServerVersionAtLeast(serverConfigStateFlow.value, CIPHER_KEY_ENC_MIN_SERVER_VERSION)This properly preserves the server version gate while removing the feature flag dependency, which aligns with the PR description stating the server version check should be retained. Completeness: Grep confirms no remaining references to Design: Extracting Test coverage: The test update ( CI: Lint passed, tests running. No new security vulnerabilities detected by Checkmarx. No issues found. |
app/src/main/kotlin/com/x8bit/bitwarden/data/platform/manager/FeatureFlagManagerImpl.kt
Outdated
Show resolved
Hide resolved
app/src/main/kotlin/com/x8bit/bitwarden/data/platform/manager/FeatureFlagManagerImpl.kt
Outdated
Show resolved
Hide resolved
|
Great job! No new security vulnerabilities introduced in this pull request |
4f46217 to
ba70d5e
Compare
ba70d5e to
5c31a80
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6617 +/- ##
==========================================
+ Coverage 85.90% 85.96% +0.06%
==========================================
Files 804 801 -3
Lines 57370 57325 -45
Branches 8307 8306 -1
==========================================
- Hits 49284 49281 -3
+ Misses 5203 5162 -41
+ Partials 2883 2882 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
5c31a80 to
0290986
Compare
|
Thanks @SaintPatrck |

🎟️ Tracking
PM-26059
📔 Objective
This PR removes the
CipherKeyEncryptionfeature flag from the app.Note that there is still a server version check for this feature to ensure older servers that do not support the feature do not receive updated ciphers.