cosmos-sdk
cosmos-sdk copied to clipboard
gentx --name vuser --amount 10000000foo asks for keyring password three times
I was talking with @alessio today and it was noted that with 0.38.1 of the SDK, if I run gentx (at least with file-based keyring backend), I am asked for the keyring password three times.
This is a bit of a usability problem. I'd suggest there be some documentation about this or it be "resolved". It came across as a concern, as if we were doing something wrong, because of this behaviour.
I suppose we have to trace the execution call stack of this command and see where the passphrase is needed. Having this info, we can update APIs to accept a passphrase instead of asking for it?
It's possible already to pass a buffer to keys.NewKeyring()
with a passphrase.
This is potentially dup of #5403 (gentx
shows this behaviour only when with the file backend)
This is blocked by post-protobuffer transition related work, i.e. TxBuilder
should disapperar soon
cc @alexanderbez
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I am not able to reproduce this. Is it still happening ? @njmurarka could you let me know if it is still a problem.
closing this in favour of https://github.com/cosmos/cosmos-sdk/issues/12901