-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate new private key silently if it is necessary in neofs-cli
#2123
Labels
Milestone
Comments
Let's add verbose output about which key is used to sign the request. |
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Dec 6, 2022
Some NeoFS CLI commands support anonymous execution. In previous implementation command generated random private key if given wallet was missing or incorrect. It doesn't really matter to have such behavior since if command can be executed w/o a wallet, user shouldn't be obliged to add `-g` flag. Mark `-g` flag as deprecated. Make `key.GetOrGenerate` function to generate random private key if wallet path is omitted. Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Dec 8, 2022
… commands Some NeoFS CLI commands support anonymous execution. In previous implementation command generated random private key if given wallet was missing/incorrect and `--generate-key` (`-g`) flag was provided. It doesn't really matter to have such behavior since if command can be executed w/o a wallet, user shouldn't be obliged to add `-g` flag. Make `key.GetOrGenerate` function to generate random private key if wallet path is omitted. Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Dec 8, 2022
… commands Some NeoFS CLI commands support anonymous execution. In previous implementation command generated random private key if given wallet was missing/incorrect and `--generate-key` (`-g`) flag was provided. It doesn't really matter to have such behavior since if command can be executed w/o a wallet, user shouldn't be obliged to add `-g` flag. Make `key.GetOrGenerate` function to generate random private key if wallet path is omitted. Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Dec 8, 2022
… commands Some NeoFS CLI commands support anonymous execution. In previous implementation command generated random private key if given wallet was missing/incorrect and `--generate-key` (`-g`) flag was provided. It doesn't really matter to have such behavior since if command can be executed w/o a wallet, user shouldn't be obliged to add `-g` flag. Make `key.GetOrGenerate` function to generate random private key if wallet path is omitted. Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Dec 21, 2022
… commands Some NeoFS CLI commands support anonymous execution. In previous implementation command generated random private key if given wallet was missing/incorrect and `--generate-key` (`-g`) flag was provided. It doesn't really matter to have such behavior since if command can be executed w/o a wallet, user shouldn't be obliged to add `-g` flag. Make `key.GetOrGenerate` function to generate random private key if wallet path is omitted. Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
May 22, 2023
Some NeoFS CLI commands support anonymous execution. In previous implementation command generated random private key if given wallet was missing/incorrect and `--generate-key` (`-g`) flag was provided. It doesn't really matter to have such behavior since if command can be executed w/o a wallet, user shouldn't be obliged to add `-g` flag. Make `key.GetOrGenerate` function to generate random private key if wallet path is omitted. Closes nspcc-dev#2123. Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
May 24, 2023
Some NeoFS CLI commands support anonymous execution. In previous implementation command generated random private key if given wallet was missing/incorrect and `--generate-key` (`-g`) flag was provided. It doesn't really matter to have such behavior since if command can be executed w/o a wallet, user shouldn't be obliged to add `-g` flag. Make `key.GetOrGenerate` function to generate random private key if wallet path is omitted. Closes nspcc-dev#2123. Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com> Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
roman-khimov
added a commit
that referenced
this issue
May 24, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Avoid user from providing option
-g
, leave only-w
.The text was updated successfully, but these errors were encountered: