aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/configfile/config_file.go2
-rw-r--r--internal/configfile/config_test.go8
2 files changed, 6 insertions, 4 deletions
diff --git a/internal/configfile/config_file.go b/internal/configfile/config_file.go
index b5ac258..7a94fcb 100644
--- a/internal/configfile/config_file.go
+++ b/internal/configfile/config_file.go
@@ -65,7 +65,7 @@ func CreateConfFile(filename string, password string, plaintextNames bool, logN
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
+ // coverage. Also enable the Raw64 check in TestCreateConfFile()!
//cf.FeatureFlags = append(cf.FeatureFlags, knownFlags[FlagRaw64])
//cf.FeatureFlags = append(cf.FeatureFlags, knownFlags[FlagHKDF])
}
diff --git a/internal/configfile/config_test.go b/internal/configfile/config_test.go
index 7899dac..dc81600 100644
--- a/internal/configfile/config_test.go
+++ b/internal/configfile/config_test.go
@@ -69,9 +69,11 @@ func TestCreateConfFile(t *testing.T) {
t.Fatal(err)
}
// Raw64 is set by default since gocryptfs v1.3
- if !c.IsFeatureFlagSet(FlagRaw64) {
- t.Error("FlagRaw64 flag should be set but is not")
- }
+ /*
+ if !c.IsFeatureFlagSet(FlagRaw64) {
+ t.Error("FlagRaw64 flag should be set but is not")
+ }
+ */
}
func TestCreateConfFileAESSIV(t *testing.T) {