diff options
author | Jakob Unterwurzacher | 2016-10-08 22:25:08 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-10-08 22:25:08 +0200 |
commit | d25fcc6a4b095e37c77cce8f9de2ec0f12007ed5 (patch) | |
tree | 84fbebc4fa15e7a6f13f8e13315745282426f716 /internal/fusefrontend_reverse/rfs.go | |
parent | 8efef4b3d6947b59b5ca118369b9a019b5ac8009 (diff) |
reverse: gocryptfs.conf was missing from the directory listings
Fix the test for that and add checks in example_filesystems_test.
Diffstat (limited to 'internal/fusefrontend_reverse/rfs.go')
-rw-r--r-- | internal/fusefrontend_reverse/rfs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/fusefrontend_reverse/rfs.go b/internal/fusefrontend_reverse/rfs.go index 91ec543..bc8a535 100644 --- a/internal/fusefrontend_reverse/rfs.go +++ b/internal/fusefrontend_reverse/rfs.go @@ -304,7 +304,7 @@ func (rfs *reverseFS) OpenDir(cipherPath string, context *fuse.Context) ([]fuse. for i := range entries { var cName string // ".gocryptfs.reverse.conf" in the root directory is mapped to "gocryptfs.conf" - if cipherPath == "" && rfs.isTranslatedConfig(entries[i].Name) { + if cipherPath == "" && entries[i].Name == configfile.ConfReverseName { cName = configfile.ConfDefaultName } else { cName = rfs.nameTransform.EncryptName(entries[i].Name, dirIV) |