diff --git a/src/cli.rs b/src/cli.rs index bcffa7f..4bae469 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -103,7 +103,7 @@ pub fn read_password_pin_prefixed( .skip(read.chars().next().map(|c| c == separator).unwrap_or(false) as usize) .collect::(), }; - Ok((dbg!(pin), util::sha256(&[dbg!(password).as_bytes()]))) + Ok((pin, util::sha256(&[password.as_bytes()]))) } pub fn parse_cmdline() -> Args { diff --git a/src/cli_args/mod.rs b/src/cli_args/mod.rs index 435e6ca..42dae84 100644 --- a/src/cli_args/mod.rs +++ b/src/cli_args/mod.rs @@ -191,7 +191,7 @@ pub enum Command { /// Will wipe all other keys #[structopt(short = "e", long = "exclusive")] exclusive: bool, - /// Will generate an credential for only this device + /// Will generate an credential while adding a new key to this LUKS device if supported #[structopt(short = "a", long = "auto-cred")] auto_credential: bool, #[structopt(flatten)] @@ -213,7 +213,7 @@ pub enum Command { /// Add the password and keep the key #[structopt(short = "a", long = "add-password")] add_password: bool, - /// Remove the affected credential for device header + /// Remove the affected credential from LUKS header #[structopt(short = "r", long = "remove-cred")] remove_cred: bool, #[structopt(flatten)]