-
Notifications
You must be signed in to change notification settings - Fork 69
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
IF: Generate bls key pair #1594
Conversation
programs/leap-util/actions/bls.cpp
Outdated
|
||
int bls_actions::create_key() { | ||
if (opt->key_file.empty() && !opt->print_console) { | ||
std::cerr << "ERROR: Either indicate a file using \"--file\" or pass \"--to-console\"" << std::endl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
\"-f, --file\"
(add -f
to the message)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
programs/leap-util/actions/bls.cpp
Outdated
std::cerr << "ERROR: Either indicate a file using \"--file\" or pass \"--to-console\"" << std::endl; | ||
return -1; | ||
} else if (!opt->key_file.empty() && opt->print_console) { | ||
std::cerr << "ERROR: Only one of \"--file\" or pass \"--to-console\" can be provided" << std::endl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
\"-f, --file\"
(add -f
to the message)
Note:start |
Resolves #1525
Add leap-util subcommands to create key pairs and pop (proof of possession), and tests.
Help looks like
Create key pair looks like
Create pop looks like