skip luks2 check until underlying issue is fixed
This commit is contained in:
parent
5a05cad695
commit
6f6c84ddba
@ -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)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user