skip luks2 check until underlying issue is fixed

This commit is contained in:
shimun 2020-06-07 14:14:51 +02:00
parent 5a05cad695
commit 6f6c84ddba
Signed by: shimun
GPG Key ID: E81D8382DC2F971B

View File

@ -14,12 +14,14 @@ fn load_device_handle<P: AsRef<Path>>(path: P) -> Fido2LuksResult<CryptDevice> {
}
fn check_luks2(device: &mut CryptDevice) -> Fido2LuksResult<()> {
match device.format_handle().get_type()? {
//Wait for PR to fix err https://github.com/stratis-storage/libcryptsetup-rs/pull/82
Ok(())
/*match device.format_handle().get_type()? {
EncryptionFormat::Luks2 => Ok(()),
_ => Err(Fido2LuksError::LuksError {
cause: LuksError::Luks2Required,
}),
}
}*/
}
#[derive(Debug, Clone, Serialize, Deserialize)]