Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Pm-18697] Remove SymmetricCryptoKey buffer representation #13599

Draft
wants to merge 5 commits into
base: km/refactor-symmetric-keys-2
Choose a base branch
from

Conversation

quexten
Copy link
Contributor

@quexten quexten commented Feb 27, 2025

🎟️ Tracking

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

This is a follow-up PR to:
#13578
#13598

📔 Objective

Moves all users of symmetriccryptokeys inner representation to use the toEncoded method so that we can delegate this to the sdk when the new format is added.

📸 Screenshots

⏰ 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

Copy link

codecov bot commented Feb 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 15.26%. Comparing base (6b3b399) to head (78dffb8).

Additional details and impacted files
@@                      Coverage Diff                      @@
##           km/refactor-symmetric-keys-2   #13599   +/-   ##
=============================================================
  Coverage                         15.26%   15.26%           
=============================================================
  Files                                28       28           
  Lines                              1946     1946           
=============================================================
  Hits                                297      297           
  Misses                             1649     1649           

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

Copy link
Contributor

github-actions bot commented Feb 27, 2025

Logo
Checkmarx One – Scan Summary & Details268e46e8-9df4-4420-829a-e3e869e6b323

New Issues (1)

Checkmarx found the following issues in this Pull Request

Severity Issue Source File / Package Checkmarx Insight
MEDIUM Missing_HSTS_Header /apps/web/src/app/tools/reports/pages/inactive-two-factor-report.component.ts: 116
detailsThe web-application does not define an HSTS header, leaving it vulnerable to attack.
Attack Vector

@quexten quexten force-pushed the km/refactor-symmetric-keys-2 branch from 284ec3f to b4226cd Compare February 28, 2025 17:00
@quexten quexten changed the title Remove SymmetricCryptoKey buffer representation [Pm-18697] Remove SymmetricCryptoKey buffer representation Feb 28, 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.

1 participant