From 6cc0aebd718a606a8d63093fc754bc4ed25474a8 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 26 Feb 2017 21:25:58 +0100 Subject: configfile: define HKDF flag --- internal/configfile/feature_flags.go | 7 +++++++ 1 file changed, 7 insertions(+) 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. -- cgit v1.2.3