antd-password-input-strength icon indicating copy to clipboard operation
antd-password-input-strength copied to clipboard

Inconsistent password strength with tai

Open VasilNikolov opened this issue 2 years ago • 0 comments

Describe the bug The demo page calculates a different strength from the one the input displays.

To Reproduce Steps to reproduce the behavior:

  1. Try andt password input strength input with the password 9(8*7&aBc
  2. Try the same password in the demo page.
  3. Demo page returns with: { charsetSize: 94, commonPassword: false, passwordLength: 9, shannonEntropyBits: 28.52932501298081, strengthCode: 'REASONABLE', trigraphEntropyBits: 58.237911691530336, number: true, lower: true, upper: true, punctuation: true, symbol: true }

Which is a reasonably strong password, but the Password input component considers it VERY_WEAK.

Expected behavior The statuses should match

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome
  • Version: 102

VasilNikolov avatar Jun 29 '22 12:06 VasilNikolov