1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-02 18:17:46 +01:00

[PM-15167] Fix password generator ascii ambiguous sets (#12143)

Co-authored-by:  Audrey  <ajensen@bitwarden.com>
This commit is contained in:
Michal Vaněk 2024-11-25 16:46:17 +01:00 committed by GitHub
parent d52da5869b
commit 06b3c37f03
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@ export const Ascii = Object.freeze({
/** The full set of characters available to the generator */
Full: Object.freeze({
Uppercase: toCharacterSet("ABCDEFGHIJKLMNOPQRSTUVWXYZ"),
Lowercase: toCharacterSet("abcdefghijkmnopqrstuvwxyz"),
Lowercase: toCharacterSet("abcdefghijklmnopqrstuvwxyz"),
Digit: toCharacterSet("0123456789"),
Special: SpecialCharacters,
} as CharacterSets),
@ -21,7 +21,7 @@ export const Ascii = Object.freeze({
/** All characters available to the generator that are not ambiguous. */
Unmistakable: Object.freeze({
Uppercase: toCharacterSet("ABCDEFGHJKLMNPQRSTUVWXYZ"),
Lowercase: toCharacterSet("abcdefghijklmnopqrstuvwxyz"),
Lowercase: toCharacterSet("abcdefghijkmnopqrstuvwxyz"),
Digit: toCharacterSet("23456789"),
Special: SpecialCharacters,
} as CharacterSets),