mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Increase password maximum length to 128 bytes from 64 bytes
This commit is contained in:
@@ -140,6 +140,13 @@ namespace VeraCrypt
|
||||
Gui->ShowWarning (e);
|
||||
return;
|
||||
}
|
||||
|
||||
if (Options.PartitionInSystemEncryptionScope && Options.Password->Size() > VolumePassword::MaxLegacySize)
|
||||
{
|
||||
Gui->ShowWarning (StringFormatter (_("System Encryption password is longer than {0} characters."), (int) VolumePassword::MaxLegacySize));
|
||||
return;
|
||||
}
|
||||
|
||||
Options.Pim = Pim;
|
||||
Options.Kdf = PasswordPanel->GetPkcs5Kdf(bUnsupportedKdf);
|
||||
if (bUnsupportedKdf)
|
||||
|
||||
Reference in New Issue
Block a user