WIP: 0.3.0 #5

Draft
shimun wants to merge 34 commits from 0.3.0 into master
2 changed files with 3 additions and 3 deletions
Showing only changes of commit ae96d3ba5d - Show all commits

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)
.collect::<String>(),
};
Ok((dbg!(pin), util::sha256(&[dbg!(password).as_bytes()])))
Ok((pin, util::sha256(&[password.as_bytes()])))
}
pub fn parse_cmdline() -> Args {

View File

@ -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)]