Skip to content

Conversation

@quexten
Copy link
Contributor

@quexten quexten commented Jan 1, 2025

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-16602

📔 Objective

Removes legacy cipher types 0 and 1. 0 could previously be abused into leaking vault contents and modifying data the clients decrypts, and pose too big of an implementation risk to keep in the regular clients. Migration is possible via web, without use of the sdk.

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) 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

@github-actions
Copy link
Contributor

github-actions bot commented Jan 1, 2025

Logo
Checkmarx One – Scan Summary & Details3b1d780e-7b68-484d-82fc-4c73a7bb4a48

No New Or Fixed Issues Found

@quexten quexten changed the title Remove legacy ciphers [PM-16602] Remove legacy ciphers Jan 1, 2025
@codecov
Copy link

codecov bot commented Jan 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.96%. Comparing base (4ef0c74) to head (1b4cf86).
Report is 26 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #101      +/-   ##
==========================================
+ Coverage   64.75%   64.96%   +0.20%     
==========================================
  Files         190      180      -10     
  Lines       13979    13659     -320     
==========================================
- Hits         9052     8873     -179     
+ Misses       4927     4786     -141     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@Hinton Hinton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not confident EncString 0 and 1 is not actively being used on migrated accounts. This would also be a breaking change for mobile.

@quexten
Copy link
Contributor Author

quexten commented Jan 22, 2025

Closing this for now, until the long-term migration plan for users with type 0 strings is clear.

@quexten quexten closed this Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants