diff options
author | Jakob Unterwurzacher | 2015-10-06 00:29:08 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-10-06 00:31:18 +0200 |
commit | 022a6968ae0ede1259141e32b8e32553dad7d824 (patch) | |
tree | bc9aa404e3bf7d6778a81b168fc6c9743531ceab /cryptfs/cryptfs.go | |
parent | 552c32c5e9378b85e52c420c4dd2d7ccc827556f (diff) |
Implement proper daemonization
The shell wrapper sends gocryptfs into the background and waits for SIGUSR1
Diffstat (limited to 'cryptfs/cryptfs.go')
-rw-r--r-- | cryptfs/cryptfs.go | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |