diff options
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. |