opentensor / btwallet

MIT License
4 stars 1 forks source link

fix: Prevent infinite loop when password is not strong enough #60

Open Ham3798 opened 1 week ago

Ham3798 commented 1 week ago
IMPORTANT: Store this mnemonic in a secure (preferable offline place), as anyone who has possession of this mnemonic can use it to regenerate the key and access your tokens.

The mnemonic to the new coldkey is: ...
You can use the mnemonic to recreate the key with `btcli` in case it gets lost.
Enter your password: q
Password not strong enough. Try increasing the length of the password or the password complexity.
Password not strong enough. Try increasing the length of the password or the password complexity.
Password not strong enough. Try increasing the length of the password or the password complexity.
Password not strong enough. Try increasing the length of the password or the password complexity.
Password not strong enough. Try increasing the length of the password or the password complexity.
Password not strong enough. Try increasing the length of the password or the password complexity.
Password not strong enough. Try increasing the length of the password or the password complexity.
Password not strong enough. Try increasing the length of the password or the password complexity.
Password not strong enough. Try increasing the length of the password or the password complexity.
Password not strong enough. Try increasing the length of the password or the password complexity.
Password not strong enough. Try increasing the length of the password or the password complexity.
Password not strong enough. Try increasing the length of the password or the password complexity.
Password not strong enough. Try increasing the length of the password or the password complexity.
Password not strong enough. Try increasing the length of the password or the password complexity.
Password not strong enough. Try increasing the length of the password or the password complexity.
Password not strong enough. Try increasing the length of the password or the password complexity.
Password not strong enough. Try increasing the length of the password or the password complexity.
Password not strong enough. Try increasing the length of the password or the password complexity.
Password not strong enough. Try increasing the length of the password or the password complexity.
Password not strong enough. Try increasing the length of the password or the password complexity.
...
roman-opentensor commented 1 day ago

Pls rebase your PR to staging. Otherwise this is looks good. Thank you for contribution!