Skip to content

Conversation

dnwiebe
Copy link
Collaborator

@dnwiebe dnwiebe commented Aug 3, 2025

No description provided.

@dnwiebe dnwiebe changed the base branch from GH-622-review2 to master September 1, 2025 11:35
@kauri-hero kauri-hero linked an issue Sep 5, 2025 that may be closed by this pull request
cursor[bot]

This comment was marked as outdated.

.expect("Failed to set cryptde");
Ok(Some(main_cryptde))
}
};
Copy link

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.

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable Changing Public Key
2 participants