From 3f68b0c09af2b3070346e27b384e80116e515f73 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Tue, 28 Nov 2017 00:20:42 +0100 Subject: fusefrontend: Handle PlaintextNames mode in Mknod In PlaintextNames mode the "gocryptfs.longname." prefix does not have any special meaning. We should not attempt to read the directory IV or to create special .name files. Partially fixes https://github.com/rfjakob/gocryptfs/issues/174 --- tests/matrix/matrix_test.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') diff --git a/tests/matrix/matrix_test.go b/tests/matrix/matrix_test.go index 170f8ba..06c2e71 100644 --- a/tests/matrix/matrix_test.go +++ b/tests/matrix/matrix_test.go @@ -789,4 +789,9 @@ func TestMkfifo(t *testing.T) { if err != nil { t.Fatal(err) } + path = test_helpers.DefaultPlainDir + "/gocryptfs.longname.XXX" + err = syscall.Mkfifo(path, 0700) + if err != nil { + t.Fatal(err) + } } -- cgit v1.2.3