Closed
Description
System information
Geth version: geth version 1.12.2-stable
CL client & version: ---
OS & Version: mac OS ventura 13.5.1
Expected behaviour
When trying to create a new account using the clef command, the terminal prompts confirmation to enter 'ok'. After entering 'ok' on the CLI as input, the clef should prompt for a password in the command line without showing warning logs.
clef newaccount --keystore geth-tutorial/keystore
Actual behaviour
The clef CLI app floods the Command line with warning logs due to which I am not able to enter my password. Though, If I enter my password blindly and save it, It works, but, the behaviour is not intuitive as it becomes unclear for the user what to do.
Steps to reproduce the behaviour
- Open the Command line Interface and navigate to the folder you wish to initialize your keystore.
- Run command
clef newaccount --keystore geth-tutorial/keystore
- The CLI will prompt for confirmation by entering 'ok', Enter 'ok' as input.
- Observe the flooding warning logs
Backtrace
Here's the CLI copy of the situation.
WARNING!
Clef is an account management tool. It may, like any software, contain bugs.
Please take care to
- backup your keystore files,
- verify that the keystore(s) can be opened with your password.
Clef is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more details.
Enter 'ok' to proceed:
> ok
## New account password
Please enter a password for the new account to be created (attempt 0 of 3)
> WARN [09-16|14:52:34.120] Failed to watch keystore folder path=/Projects/learn/blockchain/privateblockchain/geth-tutorial/keystore err="lstat /Projects/learn/blockchain/privateblockchain/geth-tutorial/keystore: no such file or directory"
WARN [09-16|14:52:37.121] Failed to watch keystore folder path=/Projects/learn/blockchain/privateblockchain/geth-tutorial/keystore err="lstat Projects/learn/blockchain/privateblockchain/geth-tutorial/keystore: no such file or directory"
WARN [09-16|14:52:40.123] Failed to watch keystore folder path=/Projects/learn/blockchain/privateblockchain/geth-tutorial/keystore err="lstat /Projects/learn/blockchain/privateblockchain/geth-tutorial/keystore: no such file or directory"
WARN [09-16|14:52:43.129] Failed to watch keystore folder path=/Projects/learn/blockchain/privateblockchain/geth-tutorial/keystore err="lstat /Projects/learn/blockchain/privateblockchain/geth-tutorial/keystore: no such file or directory"
WARN [09-16|14:52:46.129] Failed to watch keystore folder path=/Projects/learn/blockchain/privateblockchain/geth-tutorial/keystore err="lstat /Projects/learn/blockchain/privateblockchain/geth-tutorial/keystore: no such file or directory"
Activity