diff options
| author | Jakob Unterwurzacher | 2017-02-26 21:25:58 +0100 | 
|---|---|---|
| committer | Jakob Unterwurzacher | 2017-03-05 12:08:12 +0100 | 
| commit | 6cc0aebd718a606a8d63093fc754bc4ed25474a8 (patch) | |
| tree | a3744754249ea6e70ff1ced77f823181fa984077 /internal/configfile | |
| parent | b2f3dbb8bd37ebca50eeb33775c980e2ca1f9053 (diff) | |
configfile: define HKDF flag
Diffstat (limited to 'internal/configfile')
| -rw-r--r-- | internal/configfile/feature_flags.go | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/internal/configfile/feature_flags.go b/internal/configfile/feature_flags.go index 8d4aa6e..2d609f2 100644 --- a/internal/configfile/feature_flags.go +++ b/internal/configfile/feature_flags.go @@ -19,6 +19,12 @@ const (  	FlagAESSIV  	// FlagRaw64 enables raw (unpadded) base64 encoding for file names  	FlagRaw64 +	// FlagHKDF enables HKDF-derived keys for use with GCM, EME and SIV +	// instead of directly using the master key (GCM and EME) or the SHA-512 +	// hashed master key (SIV). +	// Note that this flag does not change the password hashing algorithm +	// which always is scrypt. +	FlagHKDF  )  // knownFlags stores the known feature flags and their string representation @@ -30,6 +36,7 @@ var knownFlags = map[flagIota]string{  	FlagLongNames:      "LongNames",  	FlagAESSIV:         "AESSIV",  	FlagRaw64:          "Raw64", +	FlagHKDF:           "HKDF",  }  // Filesystems that do not have these feature flags set are deprecated. | 
