summaryrefslogtreecommitdiff
path: root/cryptfs
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-10-06 00:29:08 +0200
committerJakob Unterwurzacher2015-10-06 00:31:18 +0200
commit022a6968ae0ede1259141e32b8e32553dad7d824 (patch)
treebc9aa404e3bf7d6778a81b168fc6c9743531ceab /cryptfs
parent552c32c5e9378b85e52c420c4dd2d7ccc827556f (diff)
Implement proper daemonization
The shell wrapper sends gocryptfs into the background and waits for SIGUSR1
Diffstat (limited to 'cryptfs')
-rw-r--r--cryptfs/cryptfs.go3
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 {