From 9468bb322d3220240b32e5b12c3ba049313476a6 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 29 Apr 2019 13:53:33 -0400 Subject: [PATCH] add I to ambiguous characters --- src/Core/Services/PasswordGenerationService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core/Services/PasswordGenerationService.cs b/src/Core/Services/PasswordGenerationService.cs index 608a8f771..428310675 100644 --- a/src/Core/Services/PasswordGenerationService.cs +++ b/src/Core/Services/PasswordGenerationService.cs @@ -15,7 +15,7 @@ namespace Bit.Core.Services private const string Keys_History = "generatedPasswordHistory"; private const int MaxPasswordsInHistory = 100; private const string LowercaseCharSet = "abcdefghijkmnopqrstuvwxyz"; - private const string UppercaseCharSet = "ABCDEFGHIJKLMNPQRSTUVWXYZ"; + private const string UppercaseCharSet = "ABCDEFGHJKLMNPQRSTUVWXYZ"; private const string NumberCharSet = "23456789"; private const string SpecialCharSet = "!@#$%^&*"; @@ -127,7 +127,7 @@ namespace Bit.Core.Services var uppercaseCharSet = UppercaseCharSet; if(options.Ambiguous.GetValueOrDefault()) { - uppercaseCharSet = string.Concat(uppercaseCharSet, "O"); + uppercaseCharSet = string.Concat(uppercaseCharSet, "IO"); } if(options.Uppercase.GetValueOrDefault()) {