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-12400] Add private key regeneration SDK methods #1133

Closed
wants to merge 24 commits into from

Conversation

Thomas-Avery
Copy link
Contributor

@Thomas-Avery Thomas-Avery commented Oct 11, 2024

🎟️ Tracking

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

📔 Objective

Add shared methods to enable private key regeneration in clients.

⏰ 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

@Thomas-Avery Thomas-Avery self-assigned this Oct 11, 2024
@Thomas-Avery Thomas-Avery requested a review from a team October 11, 2024 21:46
Copy link
Contributor

github-actions bot commented Oct 11, 2024

Logo
Checkmarx One – Scan Summary & Detailsb295c7db-e79d-47f3-9a83-0dc4bc2d42c9

No New Or Fixed Issues Found

Copy link

codecov bot commented Oct 11, 2024

Codecov Report

Attention: Patch coverage is 88.60759% with 18 lines in your changes missing coverage. Please review.

Project coverage is 58.54%. Comparing base (8b44f55) to head (2db787d).

Files with missing lines Patch % Lines
crates/bitwarden-wasm-internal/src/crypto.rs 0.00% 9 Missing ⚠️
crates/bitwarden-core/src/mobile/crypto.rs 95.71% 6 Missing ⚠️
crates/bitwarden-core/src/mobile/client_crypto.rs 66.66% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1133      +/-   ##
==========================================
+ Coverage   58.17%   58.54%   +0.37%     
==========================================
  Files         197      197              
  Lines       13587    13745     +158     
==========================================
+ Hits         7904     8047     +143     
- Misses       5683     5698      +15     

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

Base automatically changed from PM-11764-implement-account-switching-and-sdk-initialization to main October 14, 2024 12:44
@Thomas-Avery Thomas-Avery marked this pull request as ready for review October 14, 2024 19:34
dani-garcia
dani-garcia previously approved these changes Oct 16, 2024
Copy link
Member

@dani-garcia dani-garcia left a comment

Choose a reason for hiding this comment

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

LGTM!

crates/bitwarden-wasm-internal/src/crypto.rs Show resolved Hide resolved
Copy link
Member

@dani-garcia dani-garcia left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@quexten quexten left a comment

Choose a reason for hiding this comment

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

Looks good to me, nice work!

@Hinton
Copy link
Member

Hinton commented Oct 22, 2024

@Thomas-Avery This will need to be moved to https://github.com/bitwarden/sdk-internal. It should be as simple as changing remote and pushing the branch. All the history is preserved in the new repo.

@Thomas-Avery
Copy link
Contributor Author

Closing, opened on sdk-internal here bitwarden/sdk-internal#6

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.

5 participants