[RFC PATCH v2 7/8] common/verity: explicitly don't allow btrfs encryption
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: linux-btrfs@xxxxxxxxxxxxxxx, fstests@xxxxxxxxxxxxxxx, kernel-team@xxxxxxxx, ebiggers@xxxxxxxxxx, anand.jain@xxxxxxxxxx, fdmanana@xxxxxxxx, linux-fscrypt@xxxxxxxxxxxxxxx, fsverity@xxxxxxxxxxxxxxx, zlang@xxxxxxxxxx
- Subject: [RFC PATCH v2 7/8] common/verity: explicitly don't allow btrfs encryption
- From: Sweet Tea Dorminy <sweettea-kernel@xxxxxxxxxx>
- Date: Sun, 9 Jul 2023 15:11:10 -0400
- In-reply-to: <cover.1688929294.git.sweettea-kernel@dorminy.me>
- References: <cover.1688929294.git.sweettea-kernel@dorminy.me>
Currently btrfs encryption doesn't support verity, but it is planned to
one day. To be explicit about the lack of support, add a custom error
message to the combination.
Signed-off-by: Sweet Tea Dorminy <sweettea-kernel@xxxxxxxxxx>
---
common/verity | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/common/verity b/common/verity
index 77c257d3..5002dd71 100644
--- a/common/verity
+++ b/common/verity
@@ -218,6 +218,10 @@ _scratch_mkfs_encrypted_verity()
# features with -O. Instead -O must be supplied multiple times.
_scratch_mkfs -O encrypt -O verity
;;
+ btrfs)
+ # currently verity + encryption is not supported
+ _notrun "btrfs doesn't currently support verity + encryption"
+ ;;
*)
_notrun "$FSTYP not supported in _scratch_mkfs_encrypted_verity"
;;
--
2.40.1
[Index of Archives]
[linux Cryptography]
[Asterisk App Development]
[PJ SIP]
[Gnu Gatekeeper]
[IETF Sipping]
[Info Cyrus]
[ALSA User]
[Fedora Linux Users]
[Linux SCTP]
[DCCP]
[Gimp]
[Yosemite News]
[Deep Creek Hot Springs]
[Yosemite Campsites]
[ISDN Cause Codes]