diff options
author | Jakob Unterwurzacher | 2016-11-10 00:27:08 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-11-10 00:27:08 +0100 |
commit | 75ebb28a625bc16d145f5acd9e0cc1d305716afe (patch) | |
tree | 6e4c654c67b93933a2575857883777b3f05fc5d3 /internal/fusefrontend_reverse/rfs.go | |
parent | df28fc5a11f5e52897f45cc299ab62a2a2cbaf4c (diff) |
ctlsock: add initial limited implementation
At the moment, in forward mode you can only encrypt paths
and in reverse mode you can only decrypt paths.
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 87a2602..84348f7 100644 --- a/internal/fusefrontend_reverse/rfs.go +++ b/internal/fusefrontend_reverse/rfs.go @@ -49,7 +49,7 @@ var _ pathfs.FileSystem = &reverseFS{} // NewFS returns an encrypted FUSE overlay filesystem. // In this case (reverse mode) the backing directory is plain-text and // reverseFS provides an encrypted view. -func NewFS(args fusefrontend.Args) pathfs.FileSystem { +func NewFS(args fusefrontend.Args) *reverseFS { if args.CryptoBackend != cryptocore.BackendAESSIV { panic("reverse mode must use AES-SIV, everything else is insecure") } |