mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Automatically truncate passwords for TrueCrypt volumes and System Encryption to the first 64 characters. This fix issues encountered by users of TrueCrypt volumes who were using passwords longer than 64 characters that were truncated in previous version.
This commit is contained in:
@@ -133,7 +133,7 @@ namespace VeraCrypt
|
||||
|
||||
try
|
||||
{
|
||||
Options.Password = PasswordPanel->GetPassword();
|
||||
Options.Password = PasswordPanel->GetPassword(Options.PartitionInSystemEncryptionScope);
|
||||
}
|
||||
catch (PasswordException& e)
|
||||
{
|
||||
@@ -165,7 +165,7 @@ namespace VeraCrypt
|
||||
{
|
||||
try
|
||||
{
|
||||
Options.ProtectionPassword = ProtectionPasswordPanel->GetPassword();
|
||||
Options.ProtectionPassword = ProtectionPasswordPanel->GetPassword(Options.TrueCryptMode);
|
||||
}
|
||||
catch (PasswordException& e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user