Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Password and keys to file instead of console #4819

Merged
merged 3 commits into from
Jul 24, 2018

Conversation

brianjohnson5972
Copy link
Contributor

#4554
Changed "wallet create" and "create key" to take a "--file" parameter to pass a filename to write to or else to require "--to-console" to be passed to explicitly indicate sensitive information should be displayed on the console.

}
});
create_key->add_flag( "--r1", r1, "Generate a key using the R1 curve (iPhone), instead of the K1 curve (Bitcoin)" );
create_key->add_option("-f,--file", key_file, localized("Name of file to write wallet password output to. (Must be set, unless \"--to-console\" is passed"));
create_key->add_flag( "--to-console", print_console, localized("Print password to console."));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Print private/public keys to console"

}
});
create_key->add_flag( "--r1", r1, "Generate a key using the R1 curve (iPhone), instead of the K1 curve (Bitcoin)" );
create_key->add_option("-f,--file", key_file, localized("Name of file to write wallet password output to. (Must be set, unless \"--to-console\" is passed"));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Name of file to write private/public key output ....

Copy link
Contributor

@heifner heifner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update help text.

@heifner heifner merged commit 702249f into EOSIO:develop Jul 24, 2018
@brianjohnson5972 brianjohnson5972 deleted the 4554-password-and-key-to-file branch January 10, 2020 18:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants