diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2013-06-22 17:34:53 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-11-08 23:18:19 +0100 |
commit | 03867fbf5653c0260e71271e0ddf46ed1045b488 (patch) | |
tree | 30e50899e075d4259eb7d807f9903c057bc86aec /src/Format | |
parent | a630fae22ce0c942af9abdff28b87609909012d2 (diff) | |
download | VeraCrypt-03867fbf5653c0260e71271e0ddf46ed1045b488.tar.gz VeraCrypt-03867fbf5653c0260e71271e0ddf46ed1045b488.zip |
Modifications to remove all TrueCrypt references in names. generate new GUIDs for VeraCrypt. Replace "TRUE" by "VERA" in volume headers and driver magic word.
Diffstat (limited to 'src/Format')
-rw-r--r-- | src/Format/Format.rc | 24 | ||||
-rw-r--r-- | src/Format/Format.vcproj | 14 | ||||
-rw-r--r-- | src/Format/FormatCom.idl | 12 | ||||
-rw-r--r-- | src/Format/InPlace.c | 2 | ||||
-rw-r--r-- | src/Format/Tcformat.c | 4 | ||||
-rw-r--r-- | src/Format/VeraCrypt_Wizard.bmp | bin | 222074 -> 222074 bytes |
6 files changed, 28 insertions, 28 deletions
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 @@ <Tool
Name="VCLinkerTool"
AdditionalDependencies="comctl32.lib setupapi.lib ..\Crypto\Debug\crypto.lib"
- OutputFile="$(OutDir)/TrueCryptFormat.exe"
+ OutputFile="$(OutDir)/VeraCryptFormat.exe"
LinkIncremental="2"
GenerateManifest="false"
IgnoreAllDefaultLibraries="false"
@@ -98,7 +98,7 @@ />
<Tool
Name="VCPostBuildEventTool"
- CommandLine="md "..\Debug\Setup Files" 2>NUL:
copy Debug\TrueCryptFormat.exe "..\Debug\Setup Files\TrueCrypt Format.exe" >NUL:
"
+ CommandLine="md "..\Debug\Setup Files" 2>NUL:
copy Debug\VeraCryptFormat.exe "..\Debug\Setup Files\VeraCrypt Format.exe" >NUL:
"
/>
</Configuration>
<Configuration
@@ -152,7 +152,7 @@ <Tool
Name="VCLinkerTool"
AdditionalDependencies="comctl32.lib setupapi.lib ..\Crypto\Release\crypto.lib"
- OutputFile="$(OutDir)/TrueCryptFormat.exe"
+ OutputFile="$(OutDir)/VeraCryptFormat.exe"
LinkIncremental="1"
GenerateManifest="false"
IgnoreAllDefaultLibraries="false"
@@ -186,7 +186,7 @@ />
<Tool
Name="VCPostBuildEventTool"
- CommandLine="copy Release\TrueCryptFormat.exe "..\Release\Setup Files\TrueCrypt Format.exe""
+ CommandLine="copy Release\VeraCryptFormat.exe "..\Release\Setup Files\VeraCrypt Format.exe""
/>
</Configuration>
</Configurations>
@@ -552,11 +552,11 @@ >
</File>
<File
- RelativePath="..\Common\TrueCrypt_Volume.ico"
+ RelativePath="..\Common\VeraCrypt_Volume.ico"
>
</File>
<File
- RelativePath=".\TrueCrypt_wizard.bmp"
+ RelativePath=".\VeraCrypt_wizard.bmp"
>
</File>
<Filter
@@ -671,7 +671,7 @@ >
</File>
<File
- RelativePath="..\Common\TrueCrypt.ico"
+ RelativePath="..\Common\VeraCrypt.ico"
>
</File>
</Filter>
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 Binary files differindex 017bc2a6..1810a512 100644 --- a/src/Format/VeraCrypt_Wizard.bmp +++ b/src/Format/VeraCrypt_Wizard.bmp |