diff options
author | Jakob Unterwurzacher | 2016-09-20 22:59:10 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-09-25 16:43:17 +0200 |
commit | 5f726aaa9d95be30ecfcb61637df3ccc133bf2ea (patch) | |
tree | 37086b2f3c0589a977dce72eb245e9e50da8430b /main.go | |
parent | 90f0bdc2241290d9d495b606abaec2e973383b80 (diff) |
contentenc: add GCM-SIV support
Also add ReverseDummyNonce nonce generation.
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -305,6 +305,9 @@ func initFuseFrontend(key []byte, args argContainer, confFile *configfile.ConfFi frontendArgs.PlaintextNames = confFile.IsFeatureFlagSet(configfile.FlagPlaintextNames) if confFile.IsFeatureFlagSet(configfile.FlagGCMSIV) { frontendArgs.CryptoBackend = cryptocore.BackendGCMSIV + } else if args.reverse { + tlog.Fatal.Printf("GCMSIV is required by reverse mode, but not enabled in the config file") + os.Exit(ERREXIT_USAGE) } } // If allow_other is set and we run as root, try to give newly created files to |