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

allow empty word separator in passphrases #597

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

audreyality
Copy link
Member

@audreyality audreyality commented Feb 9, 2024

Type of change

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

Objective

Allow the passphrase word separator to be the empty string ''.

This change recently merged in the clients repository.

Code changes

  • crates/bitwarden-generators/src/passphrase.rs: Remove empty separator validation.

Copy link

codecov bot commented Feb 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6882a20) 59.44% compared to head (94777f4) 59.43%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #597      +/-   ##
==========================================
- Coverage   59.44%   59.43%   -0.01%     
==========================================
  Files         171      171              
  Lines       10324    10320       -4     
==========================================
- Hits         6137     6134       -3     
+ Misses       4187     4186       -1     

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

@bitwarden-bot
Copy link

Logo
Checkmarx One – Scan Summary & Details30ec673a-1e5f-4af2-b08b-b4fec3ba7ef2

No New Or Fixed Issues Found

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.

LGTM, do we need to modify the applications?

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!

@Hinton The change was merged on the client applications last week too: bitwarden/clients#5473

@audreyality audreyality merged commit ff57485 into main Feb 12, 2024
58 checks passed
@audreyality audreyality deleted the tools/allow-empty-separator branch February 12, 2024 15:00
@audreyality
Copy link
Member Author

audreyality commented Feb 12, 2024

And there's also an open PR in the mobile repo: bitwarden/mobile#2526.

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.

4 participants