Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions libcppcryptfs/config/cryptconfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -872,8 +872,11 @@ bool CryptConfig::create(const WCHAR *path, const WCHAR *specified_config_file_p
if (siv)
m_AESSIV = true;

// Raw64 and HKDF default to true
m_Raw64 = true;
// Raw64 defaults to true, but must be disabled if PlaintextNames is active
// (PlaintextNames implies filenames are not encrypted, so Base64 encoding is conflicting)
m_Raw64 = !m_PlaintextNames;

// HKDF default to true
m_HKDF = true;

if (reverse)
Expand Down