From 022a6968ae0ede1259141e32b8e32553dad7d824 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Tue, 6 Oct 2015 00:29:08 +0200 Subject: Implement proper daemonization The shell wrapper sends gocryptfs into the background and waits for SIGUSR1 --- cryptfs/cryptfs.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cryptfs/cryptfs.go') diff --git a/cryptfs/cryptfs.go b/cryptfs/cryptfs.go index c58481c..214ea10 100644 --- a/cryptfs/cryptfs.go +++ b/cryptfs/cryptfs.go @@ -9,10 +9,11 @@ import ( ) const ( + DEFAULT_PLAINBS = 4096 KEY_LEN = 16 NONCE_LEN = 12 AUTH_TAG_LEN = 16 - DEFAULT_PLAINBS = 4096 + FILEID_LEN = 16 ) type CryptFS struct { -- cgit v1.2.3