mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 02:58:02 -06:00
Windows: Block upgrade of VeraCrypt is the system is encrypted using RIPEMD-160 or GOST89 since they are not supported anymore.
This commit is contained in:
@@ -1560,6 +1560,14 @@ BOOL DoDriverUnload_Dll (MSIHANDLE hInstaller, HWND hwnd)
|
||||
goto end;
|
||||
}
|
||||
|
||||
// check if we are upgrading a system encrypted with unsupported algorithms
|
||||
if (bootEnc.IsUsingUnsupportedAlgorithm(driverVersion))
|
||||
{
|
||||
MSILogAndShow(hInstaller, MSI_ERROR_LEVEL, GetString("SYS_ENCRYPTION_UPGRADE_UNSUPPORTED_ALGORITHM"));
|
||||
bOK = FALSE;
|
||||
goto end;
|
||||
}
|
||||
|
||||
SystemEncryptionUpdate = TRUE;
|
||||
PortableMode = FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user