1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08: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:
Mounir IDRASSI
2022-03-20 20:53:20 +01:00
parent dd0f3cd167
commit 5383190518
5 changed files with 42 additions and 0 deletions

View File

@@ -1726,6 +1726,10 @@ BOOL DoDriverUnload (HWND hwndDlg)
if (CurrentOSMajor == 6 && CurrentOSMinor == 0 && CurrentOSServicePack < 1)
AbortProcess ("SYS_ENCRYPTION_UPGRADE_UNSUPPORTED_ON_VISTA_SP0");
// check if we are upgrading a system encrypted with unsupported algorithms
if (bootEnc.IsUsingUnsupportedAlgorithm(driverVersion))
AbortProcess ("SYS_ENCRYPTION_UPGRADE_UNSUPPORTED_ALGORITHM");
SystemEncryptionUpdate = TRUE;
PortableMode = FALSE;
}