List of characters for "avoid ambiguous characters"

Is there a list of characters that is not used when the avoid ambiguous characters option is enabled?

a-z Ambiguous: l
A-Z Ambiguous: IO
0-9 Ambiguous: 01

Source: jslib/src/services/passwordGeneration.service.ts

4 Likes

Hey,

Sorry I’m a bit late to the party. I was wondering in which case anyone would actually use “avoid ambiguous characters”, I mean the passwords generated by Bitwarden are not meant to be remembered anyway nor to be typed by hand (most of the time you copy/paste the password).

Could somebody explain?

Thanks :slight_smile:

I’ve found there are some instances where passwords cannot be pasted. The two that come to mind are (1) systems I don’t own, and (2) limited-functionality environments (such as the Windows installer, or text-only systems like Linux’s tty1, tty2, …, tty6).

I can also imagine a use for non-Internet-connected systems, and for passwords someone might need to write down, such as a wifi password or an e-transfer password.

(I’m not a Bitwarden user, so if any of this doesn’t apply, I apologize.)

1 Like

Perhaps this description applies…

It basically says avoid mixing ‘0’ zero with ‘O’ capital O, or I with i,l, ot L etc…

Do you get the picture? If so please upvote +1 my answer.

2 Likes

nice explaination.

Sorry for the bump, but in case anyone else was looking into this and found the now-dead link from @RobertT above, I wanted to provide new links.

While he linked good source code, I think the Bitwarden SDK is easier to understand:

Also, it’s Rust, which is infinitely superior! /s

RobertT’s link intended to show this: jslib/src/services/passwordGeneration.service.ts at 7d49902eea45275d50c949beec32b3ab5b7db725 · bitwarden/jslib · GitHub

These links shouldn’t die, as they are linked to a specific moment in the repository history.

As these are “official” lists… I personally also find ambiguos (at least according to my personal handwriting…)

  • the letter ‘C’ and the opening round bracket ‘(’
  • the small letter ‘j’ and the special character ‘;’