iotaledger / firefly

The official IOTA and Shimmer wallet
https://firefly.iota.org
Apache License 2.0
482 stars 102 forks source link

stronghold-password-issue (Autocorrection for example 3x3 to 3×3) #1037

Closed Roddy514 closed 2 years ago

Roddy514 commented 3 years ago

Issue description

When installing firefly for the first time firefly asks for a password (not the 6 digits, the password to unlock the wallet. If the passphrase contains a combination of two numbers and a "x" inbetween, firefly auto-corrects that "x" to the multiplication sign "×". This auto-correction is only done when firefly is already installed, not in the process of setting the passphrase for the first time. The result is that I could not unlock my wallet.

Wallet version

1.0.0

Win10

What is your operating system?

Mac/Win/Linux (+Version and or Distro if possible)

Is it a repeatable issue?

Y

Steps To reproduce the issue

Explain how the maintainer can reproduce the issue.

  1. Open the wallet/firefly/preferences/ -> change password
  2. Turn visability for password on
  3. Type in for example 3x3

Firefly will immediatly auto correct this to 3×3

Expected behaviour

3x3 with a x in the middle

Actual behaviour

3×3 (no x anymore, multiplication sign)

Describe what actually happens.

Errors

Paste any errors that you see from the Error Log in the Firefly menu or share screenshots of the issue.

jeeanribeiro commented 2 years ago

This happens because of the font that we are using, which has OpenType features: https://github.com/rsms/inter

The solution is to disable the specific feature that causes the issue by using the "font-feature-settings" CSS attribute