From cdd1179c63bb892696adfad1818d65e3026916ca Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 28 Jan 2019 14:58:41 +0100 Subject: Increase password maximum length to 128 bytes from 64 bytes --- src/Volume/VolumePassword.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Volume/VolumePassword.h') diff --git a/src/Volume/VolumePassword.h b/src/Volume/VolumePassword.h index 6154bc0b..5e319774 100644 --- a/src/Volume/VolumePassword.h +++ b/src/Volume/VolumePassword.h @@ -41,7 +41,8 @@ namespace VeraCrypt TC_SERIALIZABLE (VolumePassword); - static const size_t MaxSize = 64; + static const size_t MaxLegacySize = 64; + static const size_t MaxSize = 128; static const size_t WarningSizeThreshold = 12; protected: -- cgit v1.2.3