From b558901e66a5245d067f63f45c5ecada0fffad3f Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Thu, 23 Jun 2016 22:10:19 +0200 Subject: 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 . --- internal/fusefrontend/args.go | 1 - internal/fusefrontend/fs.go | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'internal') 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) -- cgit v1.2.3