diff options
author | Jakob Unterwurzacher | 2016-06-23 22:10:19 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-06-23 22:10:19 +0200 |
commit | b558901e66a5245d067f63f45c5ecada0fffad3f (patch) | |
tree | 97294bd48ee6f87704d2a2b7aeb1e328163c96ec /internal | |
parent | 80fc3532f68b44114f70f6dad1ab0554abf279de (diff) |
Drop deprecated "-gcmiv128" option
The GCMIV128 feature flag is already mandatory, dropping the command
line option is the final step.
Completes https://github.com/rfjakob/gocryptfs/issues/29 .
Diffstat (limited to 'internal')
-rw-r--r-- | internal/fusefrontend/args.go | 1 | ||||
-rw-r--r-- | internal/fusefrontend/fs.go | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/internal/fusefrontend/args.go b/internal/fusefrontend/args.go index 32a335d..b3fa665 100644 --- a/internal/fusefrontend/args.go +++ b/internal/fusefrontend/args.go @@ -6,6 +6,5 @@ type Args struct { Cipherdir string OpenSSL bool PlaintextNames bool - GCMIV128 bool LongNames bool } diff --git a/internal/fusefrontend/fs.go b/internal/fusefrontend/fs.go index 1cf6d7c..20079b2 100644 --- a/internal/fusefrontend/fs.go +++ b/internal/fusefrontend/fs.go @@ -35,8 +35,7 @@ type FS struct { // Encrypted FUSE overlay filesystem func NewFS(args Args) *FS { - - cryptoCore := cryptocore.New(args.Masterkey, args.OpenSSL, args.GCMIV128) + cryptoCore := cryptocore.New(args.Masterkey, args.OpenSSL, true) contentEnc := contentenc.New(cryptoCore, contentenc.DefaultBS) nameTransform := nametransform.New(cryptoCore, args.LongNames) |