-
Notifications
You must be signed in to change notification settings - Fork 32
GH-623: Direct Node to pick new public key on the command line #679
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
base: master
Are you sure you want to change the base?
Conversation
.expect("Failed to set cryptde"); | ||
Ok(Some(main_cryptde)) | ||
} | ||
}; |
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.
Bug: Inconsistent Parsing of new-public-key
Parameter
The new-public-key
parameter is parsed inconsistently. Privileged parsing manually converts it from a string to Option<bool>
, which is case-sensitive and conflicts with the argument's case_insensitive(true)
definition, causing panics for valid inputs like "ON". Unprivileged parsing correctly uses the OnOff
enum. The new_public_key_opt
field set during privileged parsing is also unused.
No description provided.