summaryrefslogtreecommitdiff
path: root/internal/configfile/config_file.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-03-06 22:20:28 +0100
committerJakob Unterwurzacher2017-03-07 20:56:50 +0100
commit9f17a78b4a63d7ab5b7e09c294a483c8b806aa49 (patch)
treeda9fc15d09fa4ce3edee8a9063da630d8b4560c4 /internal/configfile/config_file.go
parenta80d798c2deab44e2abc37eeae59546f0d7eec40 (diff)
configfile: enable HKDF and Raw64 feature flags by default
Also adds a test to verify that they are set in new config files.
Diffstat (limited to 'internal/configfile/config_file.go')
-rw-r--r--internal/configfile/config_file.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/internal/configfile/config_file.go b/internal/configfile/config_file.go
index 7a94fcb..c769b99 100644
--- a/internal/configfile/config_file.go
+++ b/internal/configfile/config_file.go
@@ -64,10 +64,8 @@ func CreateConfFile(filename string, password string, plaintextNames bool, logN
cf.FeatureFlags = append(cf.FeatureFlags, knownFlags[FlagDirIV])
cf.FeatureFlags = append(cf.FeatureFlags, knownFlags[FlagEMENames])
cf.FeatureFlags = append(cf.FeatureFlags, knownFlags[FlagLongNames])
- // TODO enable these and release as v1.3-beta1 once we have enough test
- // coverage. Also enable the Raw64 check in TestCreateConfFile()!
- //cf.FeatureFlags = append(cf.FeatureFlags, knownFlags[FlagRaw64])
- //cf.FeatureFlags = append(cf.FeatureFlags, knownFlags[FlagHKDF])
+ cf.FeatureFlags = append(cf.FeatureFlags, knownFlags[FlagRaw64])
+ cf.FeatureFlags = append(cf.FeatureFlags, knownFlags[FlagHKDF])
}
if aessiv {
cf.FeatureFlags = append(cf.FeatureFlags, knownFlags[FlagAESSIV])