From 6f9e90c414c165ff76cd7546b9898b51660a2440 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 13 Sep 2015 21:47:18 +0200 Subject: Encrypt key with scrypt-hashed password --- pathfs_frontend/fs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pathfs_frontend') diff --git a/pathfs_frontend/fs.go b/pathfs_frontend/fs.go index 1e4a1f3..5a52cfc 100644 --- a/pathfs_frontend/fs.go +++ b/pathfs_frontend/fs.go @@ -19,7 +19,7 @@ type FS struct { } // Encrypted FUSE overlay filesystem -func NewFS(key [16]byte, backing string, useOpenssl bool) *FS { +func NewFS(key []byte, backing string, useOpenssl bool) *FS { return &FS{ CryptFS: cryptfs.NewCryptFS(key, useOpenssl), FileSystem: pathfs.NewLoopbackFileSystem(backing), -- cgit v1.2.3