We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9957ad0 commit d3775d8Copy full SHA for d3775d8
1 file changed
src-tauri/src/enterprise/inspector/linux.rs
@@ -62,11 +62,8 @@ fn check_luks() -> Result<bool, UnavailableReason> {
62
}
63
64
// https://labex.io/tutorials/linux-how-to-check-if-disk-encryption-is-enabled-in-linux-558786
65
-pub fn disk_encryption_status() -> Result<bool, UnavailableReason> {
+// FIXME: This will check all available disks, so if any is encrypted, it will succeed.
66
+pub(crate) fn disk_encryption_status() -> Result<bool, UnavailableReason> {
67
// TODO: zfs encryption
68
check_luks()
69
-
70
-pub(crate) fn anti_virus_status() -> Result<bool, UnavailableReason> {
71
- Err(UnavailableReason::NotApplicable)
72
-}
0 commit comments