From ed1c5e4a9f5ce1921f3ec03b32e591ce828ec5b9 Mon Sep 17 00:00:00 2001 From: Aleksey Vasenev Date: Sun, 17 Nov 2024 23:14:36 +0300 Subject: Xattrs support in reverse mode Fixes https://github.com/rfjakob/gocryptfs/issues/827 --- internal/pathiv/pathiv.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/pathiv') diff --git a/internal/pathiv/pathiv.go b/internal/pathiv/pathiv.go index 48f8426..11a7189 100644 --- a/internal/pathiv/pathiv.go +++ b/internal/pathiv/pathiv.go @@ -20,6 +20,8 @@ const ( PurposeSymlinkIV Purpose = "SYMLINKIV" // PurposeBlock0IV means the value will be used as the IV of ciphertext block #0. PurposeBlock0IV Purpose = "BLOCK0IV" + // PurposeXattrIV means the value will be used as a xattr IV + PurposeXattrIV Purpose = "XATTRIV" ) // Derive derives an IV from an encrypted path by hashing it with sha256 -- cgit v1.2.3