From 03867fbf5653c0260e71271e0ddf46ed1045b488 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 22 Jun 2013 17:34:53 +0200 Subject: Modifications to remove all TrueCrypt references in names. generate new GUIDs for VeraCrypt. Replace "TRUE" by "VERA" in volume headers and driver magic word. --- src/Format/Format.rc | 24 ++++++++++++------------ src/Format/Format.vcproj | 14 +++++++------- src/Format/FormatCom.idl | 12 ++++++------ src/Format/InPlace.c | 2 +- src/Format/Tcformat.c | 4 ++-- src/Format/VeraCrypt_Wizard.bmp | Bin 222074 -> 222074 bytes 6 files changed, 28 insertions(+), 28 deletions(-) (limited to 'src/Format') diff --git a/src/Format/Format.rc b/src/Format/Format.rc index 83d4d675..aab14272 100644 --- a/src/Format/Format.rc +++ b/src/Format/Format.rc @@ -44,13 +44,13 @@ BEGIN BEGIN BLOCK "040904b0" BEGIN - VALUE "CompanyName", "TrueCrypt Foundation" - VALUE "FileDescription", "TrueCrypt Format" - VALUE "FileVersion", "7.1a" - VALUE "LegalTrademarks", "TrueCrypt" - VALUE "OriginalFilename", "TrueCrypt Format.exe" - VALUE "ProductName", "TrueCrypt" - VALUE "ProductVersion", "7.1a" + VALUE "CompanyName", "IDRIX" + VALUE "FileDescription", "VeraCrypt Format" + VALUE "FileVersion", "1.0a" + VALUE "LegalTrademarks", "VeraCrypt" + VALUE "OriginalFilename", "VeraCrypt Format.exe" + VALUE "ProductName", "VeraCrypt" + VALUE "ProductVersion", "1.0a" END END BLOCK "VarFileInfo" @@ -81,7 +81,7 @@ IDR_FORMAT_TLB TYPELIB "Format.tlb" IDD_VOL_CREATION_WIZARD_DLG DIALOGEX 0, 0, 400, 209 STYLE DS_SETFONT | DS_SETFOREGROUND | DS_FIXEDSYS | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "TrueCrypt Volume Creation Wizard" +CAPTION "VeraCrypt Volume Creation Wizard" CLASS "CustomDlg" FONT 8, "MS Shell Dlg", 0, 0, 0x0 BEGIN @@ -234,8 +234,8 @@ IDD_VOLUME_TYPE_PAGE_DLG DIALOGEX 0, 0, 226, 152 STYLE DS_SETFONT | DS_FIXEDSYS | DS_CONTROL | WS_CHILD FONT 8, "MS Shell Dlg", 400, 0, 0x1 BEGIN - CONTROL "Standard TrueCrypt volume",IDC_STD_VOL,"Button",BS_AUTORADIOBUTTON,0,7,212,10 - CONTROL "Hi&dden TrueCrypt volume ",IDC_HIDDEN_VOL,"Button",BS_AUTORADIOBUTTON,0,53,212,10 + CONTROL "Standard VeraCrypt volume",IDC_STD_VOL,"Button",BS_AUTORADIOBUTTON,0,7,212,10 + CONTROL "Hi&dden VeraCrypt volume ",IDC_HIDDEN_VOL,"Button",BS_AUTORADIOBUTTON,0,53,212,10 LTEXT "More information about hidden volumes",IDC_HIDDEN_VOL_HELP,16,125,205,10,SS_NOTIFY LTEXT "",IDC_BOX_HELP_NORMAL_VOL,16,20,205,25 LTEXT "",IDC_BOX_HELP,16,66,205,57 @@ -669,7 +669,7 @@ END // Bitmap // -IDB_WIZARD BITMAP "TrueCrypt_wizard.bmp" +IDB_WIZARD BITMAP "VeraCrypt_wizard.bmp" ///////////////////////////////////////////////////////////////////////////// // @@ -678,7 +678,7 @@ IDB_WIZARD BITMAP "TrueCrypt_wizard.bmp" STRINGTABLE BEGIN - IDS_UACSTRING_FMT "TrueCrypt" + IDS_UACSTRING_FMT "VeraCrypt" END #endif // English (U.S.) resources diff --git a/src/Format/Format.vcproj b/src/Format/Format.vcproj index 878199ad..78478c32 100644 --- a/src/Format/Format.vcproj +++ b/src/Format/Format.vcproj @@ -66,7 +66,7 @@ @@ -552,11 +552,11 @@ > diff --git a/src/Format/FormatCom.idl b/src/Format/FormatCom.idl index 0f5dc111..be8dc48e 100644 --- a/src/Format/FormatCom.idl +++ b/src/Format/FormatCom.idl @@ -10,17 +10,17 @@ import "wtypes.idl"; import "..\Common\Password.h"; [ - uuid(A7DF958C-0716-49E9-8C3E-53A775797576), - helpstring("TrueCrypt Format UAC Support Library"), + uuid(56327DDA-F1A7-4e13-B128-520D129BDEF6), + helpstring("VeraCrypt Format UAC Support Library"), version(2.4) // Update ComSetup.cpp when changing version number ] library TrueCryptFormatCom { [ - uuid(9EE02955-174A-48F1-820C-022F327BE109), + uuid(7AB357D9-A17F-466e-BCD6-F49E97C218D8), object, oleautomation, - helpstring("TrueCrypt Format UAC Support Interface") + helpstring("VeraCrypt Format UAC Support Interface") ] interface ITrueCryptFormatCom : IUnknown { @@ -38,8 +38,8 @@ library TrueCryptFormatCom }; [ - uuid(777DCDFD-C330-480B-B582-B02B57580CC9), - helpstring("TrueCrypt Format UAC Support Coclass") + uuid(A96D3797-9F31-49f4-A0CE-9657392CF789), + helpstring("VeraCrypt Format UAC Support Coclass") ] coclass TrueCryptFormatCom { diff --git a/src/Format/InPlace.c b/src/Format/InPlace.c index ee864769..2382605e 100644 --- a/src/Format/InPlace.c +++ b/src/Format/InPlace.c @@ -1134,7 +1134,7 @@ int FastVolumeHeaderUpdate (HANDLE dev, CRYPTO_INFO *headerCryptoInfo, CRYPTO_IN DecryptBuffer (header + HEADER_ENCRYPTED_DATA_OFFSET, HEADER_ENCRYPTED_DATA_SIZE, headerCryptoInfo); - if (GetHeaderField32 (header, TC_HEADER_OFFSET_MAGIC) != 0x54525545) + if (GetHeaderField32 (header, TC_HEADER_OFFSET_MAGIC) != 0x56455241) { nStatus = ERR_PARAMETER_INCORRECT; goto closing_seq; diff --git a/src/Format/Tcformat.c b/src/Format/Tcformat.c index 89e5bbe9..053ac4e3 100644 --- a/src/Format/Tcformat.c +++ b/src/Format/Tcformat.c @@ -379,7 +379,7 @@ static BOOL CALLBACK BroadcastSysEncCfgUpdateCallb (HWND hwnd, LPARAM lParam) { char name[1024] = { 0 }; GetWindowText (hwnd, name, sizeof (name) - 1); - if (hwnd != MainDlg && strstr (name, "TrueCrypt")) + if (hwnd != MainDlg && strstr (name, "VeraCrypt")) { PostMessage (hwnd, TC_APPMSG_SYSENC_CONFIG_UPDATE, 0, 0); } @@ -5431,7 +5431,7 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa } SHGetFolderPath (NULL, CSIDL_MYDOCUMENTS, NULL, 0, szRescueDiskISO); - strcat (szRescueDiskISO, "\\TrueCrypt Rescue Disk.iso"); + strcat (szRescueDiskISO, "\\VeraCrypt Rescue Disk.iso"); if (IsOSAtLeast (WIN_VISTA)) { diff --git a/src/Format/VeraCrypt_Wizard.bmp b/src/Format/VeraCrypt_Wizard.bmp index 017bc2a6..1810a512 100644 Binary files a/src/Format/VeraCrypt_Wizard.bmp and b/src/Format/VeraCrypt_Wizard.bmp differ -- cgit v1.2.3