From 6f6c84ddba9c4fd0bb1907f14a03562e6817e299 Mon Sep 17 00:00:00 2001 From: shimun Date: Sun, 7 Jun 2020 14:14:51 +0200 Subject: [PATCH] skip luks2 check until underlying issue is fixed --- src/luks.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/luks.rs b/src/luks.rs index cace69b..09cccf0 100644 --- a/src/luks.rs +++ b/src/luks.rs @@ -14,12 +14,14 @@ fn load_device_handle>(path: P) -> Fido2LuksResult { } 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)]