Skip to content

Passphrase generation disallows empty word separator #2525

@joseph082

Description

@joseph082

Steps To Reproduce

  1. Go to Generator
  2. Set the generator to generate a passphrase
  3. Make the word separator empty
  4. Generate a passphrase which will be generated with space as the word separator

Expected Result

The expected behavior is to generate a passphrase with the empty string as the word separator.

Actual Result

The actual behavior is to generate a passphrase with space as the word separator.

Screenshots or Videos

No response

Additional Context

Same issue as bitwarden/clients#5437. This was intended behavior and not a bug (there's no other issue template). This issue bitwarden/desktop#1099 (comment) says that allowing the empty string being the word separator is okay.

Operating System

Android

Operating System Version

No response

Device

No response

Build Version

2023.4.0 (6203)

Beta

  • Using a pre-release version of the application.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions