remove dbg
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
shimun 2020-10-11 22:41:18 +02:00
parent 88b9677e7a
commit ae96d3ba5d
Signed by: shimun
GPG Key ID: E81D8382DC2F971B
2 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ pub fn read_password_pin_prefixed(
.skip(read.chars().next().map(|c| c == separator).unwrap_or(false) as usize) .skip(read.chars().next().map(|c| c == separator).unwrap_or(false) as usize)
.collect::<String>(), .collect::<String>(),
}; };
Ok((dbg!(pin), util::sha256(&[dbg!(password).as_bytes()]))) Ok((pin, util::sha256(&[password.as_bytes()])))
} }
pub fn parse_cmdline() -> Args { pub fn parse_cmdline() -> Args {

View File

@ -191,7 +191,7 @@ pub enum Command {
/// Will wipe all other keys /// Will wipe all other keys
#[structopt(short = "e", long = "exclusive")] #[structopt(short = "e", long = "exclusive")]
exclusive: bool, 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")] #[structopt(short = "a", long = "auto-cred")]
auto_credential: bool, auto_credential: bool,
#[structopt(flatten)] #[structopt(flatten)]
@ -213,7 +213,7 @@ pub enum Command {
/// Add the password and keep the key /// Add the password and keep the key
#[structopt(short = "a", long = "add-password")] #[structopt(short = "a", long = "add-password")]
add_password: bool, add_password: bool,
/// Remove the affected credential for device header /// Remove the affected credential from LUKS header
#[structopt(short = "r", long = "remove-cred")] #[structopt(short = "r", long = "remove-cred")]
remove_cred: bool, remove_cred: bool,
#[structopt(flatten)] #[structopt(flatten)]