remove dbg
This commit is contained in:
parent
88b9677e7a
commit
ae96d3ba5d
@ -103,7 +103,7 @@ pub fn read_password_pin_prefixed(
|
||||
.skip(read.chars().next().map(|c| c == separator).unwrap_or(false) as usize)
|
||||
.collect::<String>(),
|
||||
};
|
||||
Ok((dbg!(pin), util::sha256(&[dbg!(password).as_bytes()])))
|
||||
Ok((pin, util::sha256(&[password.as_bytes()])))
|
||||
}
|
||||
|
||||
pub fn parse_cmdline() -> Args {
|
||||
|
@ -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)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user