diff options
Diffstat (limited to 'internal/fusefrontend')
-rw-r--r-- | internal/fusefrontend/names.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/internal/fusefrontend/names.go b/internal/fusefrontend/names.go index 54b41ae..3833479 100644 --- a/internal/fusefrontend/names.go +++ b/internal/fusefrontend/names.go @@ -50,13 +50,3 @@ func (fs *FS) encryptPath(plainPath string) (string, error) { fs.dirIVLock.RUnlock() return cPath, err } - -// decryptPath - decrypt relative ciphertext path -func (fs *FS) decryptPath(cipherPath string) (string, error) { - if fs.args.PlaintextNames { - return cipherPath, nil - } - fs.dirIVLock.RLock() - defer fs.dirIVLock.RUnlock() - return fs.nameTransform.DecryptPathDirIV(cipherPath, fs.args.Cipherdir) -} |