[PM-22523] PM-19476: Changed default passphrase word separator to empty string.#5334
[PM-22523] PM-19476: Changed default passphrase word separator to empty string.#5334EranBoudjnah wants to merge 3 commits intobitwarden:mainfrom
Conversation
|
This should be updated too: |
b33f24f to
4d04549
Compare
|
Thank you for your contribution! We've added this to our internal tracking system for review. Details on our contribution process can be found here: https://contributing.bitwarden.com/contributing/pull-requests/community-pr-process. |
4d04549 to
f55fa2b
Compare
f55fa2b to
d1bbe59
Compare
|
Any movement on this? |
|
Any movement on this? The bug in #4913 still exists and this is literally 2 lines and does not have conflicts with main. |
|
@cheintz I don't think anyone's looking at any of these. I was motivated to contribute but lost interest since it's obviously a wasted effort... |
|
Indeed, thank you for your efforts, it's a shame they haven't been integrated. Perhaps enough similar efforts will accumulate to the point that a fork is worthwhile, though the security concerns with such a fork are very severe. |
|
Great job! No new security vulnerabilities introduced in this pull request |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #5334 +/- ##
=======================================
Coverage 86.30% 86.30%
=======================================
Files 780 783 +3
Lines 56351 56416 +65
Branches 8149 8149
=======================================
+ Hits 48635 48692 +57
- Misses 4876 4884 +8
Partials 2840 2840 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
SaintPatrck
left a comment
There was a problem hiding this comment.
Thank you for this contribution.
The GeneratorViewModel change looks great.
I left a comment regarding the change to default behavior on MasterPasswordGeneratorViewModel. It should be reverted.
Additionally, I do not see any tests being updated/added. Please add tests to validate this change in behavior.
Since this ultimately results in UI behavior changes, please attach a screenshot and/or video of the new behavior.
And finally, since this change fixes empty word separator without modifying the initial default value, can you update the PR title?
| return PassphraseGeneratorRequest( | ||
| numWords = max(optionsWordCount, DEFAULT_WORD_COUNT).toUByte(), | ||
| wordSeparator = options?.wordSeparator ?: DEFAULT_SEPARATOR, | ||
| wordSeparator = options?.wordSeparator.orEmpty(), |
There was a problem hiding this comment.
This alters the default behavior for users who have never saved generator preferences. When options is null the DEFAULT_SEPARATOR must be used. Please revert this change.

🎟️ Tracking
#4913
📔 Objective
Allow users to use no separator in passphrases.
⏰ Reminders before review
🦮 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