VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/UserPreferences.cpp
blob: fafd0824cc713cd9a23cc6c36a18bdccb80fba6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
/*
 Derived from source code of TrueCrypt 7.1a, which is
 Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed
 by the TrueCrypt License 3.0.

 Modifications and additions to the original source code (contained in this file)
 and all other portions of this file are Copyright (c) 2013-2016 IDRIX
 and are governed by the Apache License 2.0 the full text of which is
 contained in the file License.txt included in VeraCrypt binary and source
 code distribution packages.
*/

#include "System.h"
#include "Main/Application.h"
#include "UserPreferences.h"
#include "Xml.h"

namespace VeraCrypt
{
	void UserPreferences::SetValue (const wxString &cfgText, bool &cfgVar)
	{
		if (cfgText == L"0")
			cfgVar = false;
		else if (cfgText == L"1")
			cfgVar = true;
	}

	void UserPreferences::SetValue (const wxString &cfgText, int &cfgVar)
	{
		if (cfgText.empty())
			cfgVar = 0;
		else
			cfgVar = StringConverter::ToUInt32 (wstring (cfgText));
	}

	void UserPreferences::SetValue (const wxString &cfgText, uint64 &cfgVar)
	{
		if (cfgText.empty())
			cfgVar = 0;
		else
			cfgVar = StringConverter::ToUInt64 (wstring (cfgText));
	}

	void UserPreferences::SetValue (const wxString &cfgText, wstring &cfgVar)
	{
		cfgVar = cfgText;
	}

	void UserPreferences::SetValue (const wxString &cfgText, wxString &cfgVar)
	{
		cfgVar = cfgText;
	}

	void UserPreferences::SetValue (const wxString &cfgText, FilesystemPath &cfgVar)
	{
		cfgVar = wstring (cfgText);
	}

	void UserPreferences::Load()
	{
		// Preferences
		FilePath cfgPath = Application::GetConfigFilePath (GetPreferencesFileName());
		if (cfgPath.IsFile())
		{
			map <wxString, wxString> configMap;
			foreach (XmlNode node, XmlParser (cfgPath).GetNodes (L"config"))
			{
				configMap[node.Attributes[L"key"]] = node.InnerText;
			}

#define TC_CONFIG_SET(NAME) SetValue (configMap[L###NAME], NAME)

			TC_CONFIG_SET (BackgroundTaskEnabled);
			TC_CONFIG_SET (BackgroundTaskMenuDismountItemsEnabled);
			TC_CONFIG_SET (BackgroundTaskMenuMountItemsEnabled);
			TC_CONFIG_SET (BackgroundTaskMenuOpenItemsEnabled);
			TC_CONFIG_SET (BeepAfterHotkeyMountDismount);
			SetValue (configMap[L"CachePasswords"], DefaultMountOptions.CachePassword);
			TC_CONFIG_SET (CloseBackgroundTaskOnNoVolumes);
			TC_CONFIG_SET (CloseExplorerWindowsOnDismount);
			TC_CONFIG_SET (CloseSecurityTokenSessionsAfterMount);
			TC_CONFIG_SET (DisableKernelEncryptionModeWarning);
			TC_CONFIG_SET (DismountOnInactivity);
			TC_CONFIG_SET (DismountOnLogOff);
			TC_CONFIG_SET (DismountOnPowerSaving);
			TC_CONFIG_SET (DismountOnScreenSaver);
			TC_CONFIG_SET (DisplayMessageAfterHotkeyDismount);
			TC_CONFIG_SET (BackgroundTaskEnabled);
			SetValue (configMap[L"FilesystemOptions"], DefaultMountOptions.FilesystemOptions);
			TC_CONFIG_SET (ForceAutoDismount);
			TC_CONFIG_SET (LastSelectedSlotNumber);
			TC_CONFIG_SET (MaxVolumeIdleTime);
			TC_CONFIG_SET (MountDevicesOnLogon);
			TC_CONFIG_SET (MountFavoritesOnLogon);

			bool readOnly;
			SetValue (configMap[L"MountVolumesReadOnly"], readOnly);
			DefaultMountOptions.Protection = readOnly ? VolumeProtection::ReadOnly : VolumeProtection::None;

			SetValue (configMap[L"MountVolumesRemovable"], DefaultMountOptions.Removable);
			SetValue (configMap[L"NoHardwareCrypto"], DefaultMountOptions.NoHardwareCrypto);
			SetValue (configMap[L"NoKernelCrypto"], DefaultMountOptions.NoKernelCrypto);
			TC_CONFIG_SET (OpenExplorerWindowAfterMount);
			SetValue (configMap[L"PreserveTimestamps"], DefaultMountOptions.PreserveTimestamps);
			TC_CONFIG_SET (SaveHistory);
			SetValue (configMap[L"SecurityTokenLibrary"], SecurityTokenModule);
			TC_CONFIG_SET (StartOnLogon);
			TC_CONFIG_SET (UseKeyfiles);
			TC_CONFIG_SET (WipeCacheOnAutoDismount);
			TC_CONFIG_SET (WipeCacheOnClose);

			SetValue (configMap[L"DefaultTrueCryptMode"], DefaultMountOptions.TrueCryptMode);

			wstring defaultPrf;
			SetValue (configMap[L"DefaultPRF"], defaultPrf);

			shared_ptr <Pkcs5Kdf> savedKdf;
			try
			{
				if (defaultPrf != L"autodetection")
					savedKdf = Pkcs5Kdf::GetAlgorithm (defaultPrf, DefaultMountOptions.TrueCryptMode);
			}
			catch (ParameterIncorrect&)
			{
			}

			DefaultMountOptions.Kdf = savedKdf;
			DefaultMountOptions.ProtectionKdf = savedKdf;
		}

		// Default keyfiles
		cfgPath = Application::GetConfigFilePath (GetDefaultKeyfilesFileName());
		if (cfgPath.IsFile())
		{
			foreach (const XmlNode &node, XmlParser (cfgPath).GetNodes (L"keyfile"))
			{
				DefaultKeyfiles.push_back (make_shared <Keyfile> ((wstring) node.InnerText));
			}
		}

#ifdef TC_WINDOWS
		// Hotkeys
		Hotkeys = Hotkey::LoadList();
#endif
	}

	void UserPreferences::Save() const
	{
		// Preferences
		class ConfigXmlFormatter
		{
		public:
			void AddEntry (const wchar_t *key, const wxString &value)
			{
				if (!value.empty())
				{
					XmlNode config (L"config");
					config.Attributes[L"key"] = key;
					config.InnerText = value;
					XmlConfig.InnerNodes.push_back (config);
				}
			}

			void AddEntry (const wchar_t *key, bool value)
			{
				AddEntry (key, wxString (value ? L"1" : L"0"));
			}

			void AddEntry (const wchar_t *key, int value)
			{
				wstringstream s;
				s << value;
				AddEntry (key, s.str());
			}

			void AddEntry (const wchar_t *key, uint64 value)
			{
				wstringstream s;
				s << value;
				AddEntry (key, s.str());
			}

			XmlNode XmlConfig;
		};

		ConfigXmlFormatter formatter;
		formatter.XmlConfig.Name = L"configuration";

#define TC_CONFIG_ADD(NAME) formatter.AddEntry (L###NAME, NAME)

		TC_CONFIG_ADD (BackgroundTaskEnabled);
		TC_CONFIG_ADD (BackgroundTaskMenuDismountItemsEnabled);
		TC_CONFIG_ADD (BackgroundTaskMenuMountItemsEnabled);
		TC_CONFIG_ADD (BackgroundTaskMenuOpenItemsEnabled);
		TC_CONFIG_ADD (BeepAfterHotkeyMountDismount);
		formatter.AddEntry (L"CachePasswords", DefaultMountOptions.CachePassword);
		TC_CONFIG_ADD (CloseBackgroundTaskOnNoVolumes);
		TC_CONFIG_ADD (CloseExplorerWindowsOnDismount);
		TC_CONFIG_ADD (CloseSecurityTokenSessionsAfterMount);
		TC_CONFIG_ADD (DisableKernelEncryptionModeWarning);
		TC_CONFIG_ADD (DismountOnInactivity);
		TC_CONFIG_ADD (DismountOnLogOff);
		TC_CONFIG_ADD (DismountOnPowerSaving);
		TC_CONFIG_ADD (DismountOnScreenSaver);
		TC_CONFIG_ADD (DisplayMessageAfterHotkeyDismount);
		TC_CONFIG_ADD (BackgroundTaskEnabled);
		formatter.AddEntry (L"FilesystemOptions", DefaultMountOptions.FilesystemOptions);
		TC_CONFIG_ADD (ForceAutoDismount);
		TC_CONFIG_ADD (LastSelectedSlotNumber);
		TC_CONFIG_ADD (MaxVolumeIdleTime);
		TC_CONFIG_ADD (MountDevicesOnLogon);
		TC_CONFIG_ADD (MountFavoritesOnLogon);
		formatter.AddEntry (L"MountVolumesReadOnly", DefaultMountOptions.Protection == VolumeProtection::ReadOnly);
		formatter.AddEntry (L"MountVolumesRemovable", DefaultMountOptions.Removable);
		formatter.AddEntry (L"NoHardwareCrypto", DefaultMountOptions.NoHardwareCrypto);
		formatter.AddEntry (L"NoKernelCrypto", DefaultMountOptions.NoKernelCrypto);
		TC_CONFIG_ADD (OpenExplorerWindowAfterMount);
		formatter.AddEntry (L"PreserveTimestamps", DefaultMountOptions.PreserveTimestamps);
		TC_CONFIG_ADD (SaveHistory);
		formatter.AddEntry (L"SecurityTokenLibrary", wstring (SecurityTokenModule));
		TC_CONFIG_ADD (StartOnLogon);
		TC_CONFIG_ADD (UseKeyfiles);
		TC_CONFIG_ADD (WipeCacheOnAutoDismount);
		TC_CONFIG_ADD (WipeCacheOnClose);

		formatter.AddEntry (L"DefaultTrueCryptMode", DefaultMountOptions.TrueCryptMode);

		wstring defaultPrf = L"autodetection";
		if (DefaultMountOptions.Kdf)
			defaultPrf = DefaultMountOptions.Kdf->GetName ();
		formatter.AddEntry (L"DefaultPRF", defaultPrf);

		XmlWriter writer (Application::GetConfigFilePath (GetPreferencesFileName(), true));
		writer.WriteNode (formatter.XmlConfig);
		writer.Close();

		// Default keyfiles
		FilePath keyfilesCfgPath = Application::GetConfigFilePath (GetDefaultKeyfilesFileName(), true);

		if (DefaultKeyfiles.empty())
		{
			if (keyfilesCfgPath.IsFile())
				keyfilesCfgPath.Delete();
		}
		else
		{
			XmlNode keyfilesXml (L"defaultkeyfiles");

			foreach_ref (const Keyfile &keyfile, DefaultKeyfiles)
			{
				keyfilesXml.InnerNodes.push_back (XmlNode (L"keyfile", wxString (wstring(FilesystemPath (keyfile)))));
			}

			XmlWriter keyfileWriter (keyfilesCfgPath);
			keyfileWriter.WriteNode (keyfilesXml);
			keyfileWriter.Close();
		}

#ifdef TC_WINDOWS
		// Hotkeys
		Hotkey::SaveList (Hotkeys);
#endif
	}
}
ot; EnableCOMDATFolding="2" RandomizedBaseAddress="1" DataExecutionPrevention="2" TargetMachine="1" /> <Tool Name="VCALinkTool" /> <Tool Name="VCManifestTool" AdditionalManifestFiles="Mount.manifest" /> <Tool Name="VCXDCMakeTool" /> <Tool Name="VCBscMakeTool" /> <Tool Name="VCFxCopTool" /> <Tool Name="VCAppVerifierTool" /> <Tool Name="VCPostBuildEventTool" CommandLine="copy Release\VeraCrypt.exe &quot;..\Release\Setup Files&quot;" /> </Configuration> <Configuration Name="Release|x64" OutputDirectory="$(PlatformName)\$(ConfigurationName)" IntermediateDirectory="$(PlatformName)\$(ConfigurationName)" ConfigurationType="1" InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" CharacterSet="1" > <Tool Name="VCPreBuildEventTool" /> <Tool Name="VCCustomBuildTool" /> <Tool Name="VCXMLDataGeneratorTool" /> <Tool Name="VCWebServiceProxyGeneratorTool" /> <Tool Name="VCMIDLTool" AdditionalIncludeDirectories="" TargetEnvironment="3" TypeLibraryName="$(SolutionDir)/$(ProjectName)/$(ProjectName).tlb" OutputDirectory="" /> <Tool Name="VCCLCompilerTool" AdditionalOptions="/w34189" Optimization="2" AdditionalIncludeDirectories="..\Common;..\Crypto;..\;..\PKCS11" PreprocessorDefinitions="TCMOUNT;WIN32;NDEBUG;_WINDOWS;_CRT_SECURE_NO_DEPRECATE;_CRT_NON_CONFORMING_SWPRINTFS" RuntimeLibrary="0" BufferSecurityCheck="true" UsePrecompiledHeader="0" AssemblerOutput="2" AssemblerListingLocation="$(IntDir)/" WarningLevel="4" DebugInformationFormat="0" DisableSpecificWarnings="4057;4100;4127;4201;4701;4706" /> <Tool Name="VCManagedResourceCompilerTool" /> <Tool Name="VCResourceCompilerTool" /> <Tool Name="VCPreLinkEventTool" /> <Tool Name="VCLinkerTool" AdditionalDependencies="..\Crypto\x64\Release\crypto.lib mpr.lib" OutputFile="$(OutDir)/VeraCrypt.exe" LinkIncremental="1" GenerateManifest="false" IgnoreAllDefaultLibraries="false" DelayLoadDLLs="mpr.dll" GenerateDebugInformation="false" GenerateMapFile="true" SubSystem="2" OptimizeReferences="2" EnableCOMDATFolding="2" RandomizedBaseAddress="1" DataExecutionPrevention="2" TargetMachine="17" /> <Tool Name="VCALinkTool" /> <Tool Name="VCManifestTool" AdditionalManifestFiles="Mount.manifest" /> <Tool Name="VCXDCMakeTool" /> <Tool Name="VCBscMakeTool" /> <Tool Name="VCFxCopTool" /> <Tool Name="VCAppVerifierTool" /> <Tool Name="VCPostBuildEventTool" CommandLine="copy $(TargetPath) &quot;..\Release\Setup Files\VeraCrypt-x64.exe&quot;" /> </Configuration> </Configurations> <References> </References> <Files> <Filter Name="Source Files" Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" > <File RelativePath=".\Favorites.cpp" > </File> <File RelativePath=".\Hotkeys.c" > </File> <File RelativePath=".\MainCom.cpp" > </File> <File RelativePath=".\MainCom.idl" > </File> <File RelativePath=".\Mount.c" > <FileConfiguration Name="Debug|Win32" > <Tool Name="VCCLCompilerTool" CompileAs="2" /> </FileConfiguration> <FileConfiguration Name="Debug|x64" > <Tool Name="VCCLCompilerTool" CompileAs="2" /> </FileConfiguration> <FileConfiguration Name="Release|Win32" > <Tool Name="VCCLCompilerTool" CompileAs="2" /> </FileConfiguration> <FileConfiguration Name="Release|x64" > <Tool Name="VCCLCompilerTool" CompileAs="2" /> </FileConfiguration> </File> <Filter Name="Common" > <File RelativePath="..\Common\BaseCom.cpp" > </File> <File RelativePath="..\Common\BootEncryption.cpp" > </File> <File RelativePath="..\Common\Cmdline.c" > </File> <File RelativePath="..\Common\Combo.c" > </File> <File RelativePath="..\Common\Crc.c" > </File> <File RelativePath="..\Common\Crypto.c" > </File> <File RelativePath="..\Common\Dictionary.c" > <FileConfiguration Name="Debug|Win32" > <Tool Name="VCCLCompilerTool" CompileAs="2" /> </FileConfiguration> <FileConfiguration Name="Debug|x64" > <Tool Name="VCCLCompilerTool" CompileAs="2" /> </FileConfiguration> <FileConfiguration Name="Release|Win32" > <Tool Name="VCCLCompilerTool" CompileAs="2" /> </FileConfiguration> <FileConfiguration Name="Release|x64" > <Tool Name="VCCLCompilerTool" CompileAs="2" /> </FileConfiguration> </File> <File RelativePath="..\Common\Dlgcode.c" > <FileConfiguration Name="Debug|Win32" > <Tool Name="VCCLCompilerTool" CompileAs="2" /> </FileConfiguration> <FileConfiguration Name="Debug|x64" > <Tool Name="VCCLCompilerTool" CompileAs="2" /> </FileConfiguration> <FileConfiguration Name="Release|Win32" > <Tool Name="VCCLCompilerTool" CompileAs="2" /> </FileConfiguration> <FileConfiguration Name="Release|x64" > <Tool Name="VCCLCompilerTool" CompileAs="2" /> </FileConfiguration> </File> <File RelativePath="..\Common\EncryptionThreadPool.c" > </File> <File RelativePath="..\Common\Endian.c" > </File> <File RelativePath="..\Common\GfMul.c" > </File> <File RelativePath="..\Common\Keyfiles.c" > <FileConfiguration Name="Debug|Win32" > <Tool Name="VCCLCompilerTool" CompileAs="2" /> </FileConfiguration> <FileConfiguration Name="Debug|x64" > <Tool Name="VCCLCompilerTool" CompileAs="2" /> </FileConfiguration> <FileConfiguration Name="Release|Win32" > <Tool Name="VCCLCompilerTool" CompileAs="2" /> </FileConfiguration> <FileConfiguration Name="Release|x64" > <Tool Name="VCCLCompilerTool" CompileAs="2" /> </FileConfiguration> </File> <File RelativePath="..\Common\Language.c" > </File> <File RelativePath="..\Common\Password.c" > </File> <File RelativePath="..\Common\Pkcs5.c" > </File> <File RelativePath="..\Common\Random.c" > </File> <File RelativePath="..\Common\Registry.c" > </File> <File RelativePath="..\Common\SecurityToken.cpp" > </File> <File RelativePath="..\Common\Tests.c" > </File> <File RelativePath="..\Common\Volumes.c" > </File> <File RelativePath="..\Common\Wipe.c" > </File> <File RelativePath="..\Common\Wipe.h" > </File> <File RelativePath="..\Common\Xml.c" > </File> <File RelativePath="..\Common\Xts.c" > </File> </Filter> </Filter> <Filter Name="Header Files" Filter="h;hpp;hxx;hm;inl;inc;xsd" UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" > <File RelativePath="..\Common\Apidrvr.h" > </File> <File RelativePath="..\Common\BaseCom.h" > </File> <File RelativePath="..\Common\BootEncryption.h" > </File> <File RelativePath="..\Common\Cmdline.h" > </File> <File RelativePath="..\Common\Combo.h" > </File> <File RelativePath="..\Common\Common.h" > </File> <File RelativePath="..\Common\Crc.h" > </File> <File RelativePath="..\Common\Crypto.h" > </File> <File RelativePath="..\Common\Dictionary.h" > </File> <File RelativePath="..\Common\Dlgcode.h" > </File> <File RelativePath="..\Common\EncryptionThreadPool.h" > </File> <File RelativePath="..\Common\Exception.h" > </File> <File RelativePath=".\Favorites.h" > </File> <File RelativePath="..\Common\GfMul.h" > </File> <File RelativePath=".\Hotkeys.h" > </File> <File RelativePath="..\Common\Keyfiles.h" > </File> <File RelativePath="..\Common\Language.h" > </File> <File RelativePath=".\MainCom.h" > </File> <File RelativePath=".\Mount.h" > </File> <File RelativePath="..\Common\Password.h" > </File> <File RelativePath="..\Common\Pkcs5.h" > </File> <File RelativePath="..\Common\Random.h" > </File> <File RelativePath="..\Common\Registry.h" > </File> <File RelativePath="..\Common\Resource.h" > </File> <File RelativePath=".\resource.h" > </File> <File RelativePath="..\Common\SecurityToken.h" > </File> <File RelativePath="..\Common\Tcdefs.h" > </File> <File RelativePath="..\Common\Tests.h" > </File> <File RelativePath="..\Common\Volumes.h" > </File> <File RelativePath="..\Common\Xml.h" > </File> <File RelativePath="..\Common\Xts.h" > </File> </Filter> <Filter Name="Resource Files" Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx" UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}" > <File RelativePath="..\Boot\Windows\Rescue_Serpent_SHA2\BootSector.bin" > </File> <File RelativePath="..\Boot\Windows\Rescue_AES_SHA2\BootSector.bin" > </File> <File RelativePath="..\Boot\Windows\Rescue_SHA2\BootSector.bin" > </File> <File RelativePath="..\Boot\Windows\Release_Twofish_SHA2\BootSector.bin" > </File> <File RelativePath="..\Boot\Windows\Release_Serpent_SHA2\BootSector.bin" > </File> <File RelativePath="..\Boot\Windows\Release_AES_SHA2\BootSector.bin" > </File> <File RelativePath="..\Boot\Windows\Release_SHA2\BootSector.bin" > </File> <File RelativePath="..\Boot\Windows\Rescue_Twofish_SHA2\BootSector.bin" > </File> <File RelativePath=".\Drive_icon_96dpi.bmp" > </File> <File RelativePath=".\Drive_icon_mask_96dpi.bmp" > </File> <File RelativePath=".\Logo_288dpi.bmp" > </File> <File RelativePath=".\Logo_96dpi.bmp" > </File> <File RelativePath=".\Mount.manifest" > </File> <File RelativePath=".\Mount.rc" > </File> <File RelativePath=".\Mount.tlb" > </File> <File RelativePath=".\System_drive_icon_96dpi.bmp" > </File> <File RelativePath=".\System_drive_icon_mask_96dpi.bmp" > </File> <File RelativePath="..\Common\VeraCrypt_mounted.ico" > </File> <File RelativePath="..\Common\VeraCrypt_volume.ico" > </File> <Filter Name="Common" > <File RelativePath="..\Boot\Windows\Rescue_Twofish\BootLoader.com.gz" > </File> <File RelativePath="..\Boot\Windows\Release_Serpent\BootLoader.com.gz" > </File> <File RelativePath="..\Boot\Windows\Release_AES\BootLoader.com.gz" > </File> <File RelativePath="..\Boot\Windows\Release\BootLoader.com.gz" > </File> <File RelativePath="..\Boot\Windows\Release_Twofish\BootLoader.com.gz" > </File> <File RelativePath="..\Boot\Windows\Rescue_Serpent\BootLoader.com.gz" > </File> <File RelativePath="..\Boot\Windows\Rescue_AES\BootLoader.com.gz" > </File> <File RelativePath="..\Boot\Windows\Rescue\BootLoader.com.gz" > </File> <File RelativePath="..\Boot\Windows\Rescue\BootSector.bin" > </File> <File RelativePath="..\Boot\Windows\Release_Twofish\BootSector.bin" > </File> <File RelativePath="..\Boot\Windows\Release_Serpent\BootSector.bin" > </File> <File RelativePath="..\Boot\Windows\Rescue_Serpent\BootSector.bin" > </File> <File RelativePath="..\Boot\Windows\Rescue_AES\BootSector.bin" > </File> <File RelativePath="..\Boot\Windows\Release\BootSector.bin" > </File> <File RelativePath="..\Boot\Windows\Rescue_Twofish\BootSector.bin" > </File> <File RelativePath="..\Boot\Windows\Release_AES\BootSector.bin" > </File> <File RelativePath="..\Common\Common.rc" > <FileConfiguration Name="Debug|Win32" ExcludedFromBuild="true" > <Tool Name="VCResourceCompilerTool" /> </FileConfiguration> <FileConfiguration Name="Debug|x64" ExcludedFromBuild="true" > <Tool Name="VCResourceCompilerTool" /> </FileConfiguration> <FileConfiguration Name="Release|Win32" ExcludedFromBuild="true" > <Tool Name="VCResourceCompilerTool" /> </FileConfiguration> <FileConfiguration Name="Release|x64" ExcludedFromBuild="true" > <Tool Name="VCResourceCompilerTool" /> </FileConfiguration> </File> <File RelativePath="..\Boot\Windows\Release\Decompressor.com" > </File> <File RelativePath="..\Common\Language.xml" > </File> <File RelativePath="..\Resources\Texts\License.rtf" > </File> <File RelativePath="..\Common\Textual_logo_288dpi.bmp" > </File> <File RelativePath="..\Common\Textual_logo_96dpi.bmp" > </File> <File RelativePath="..\Common\Textual_logo_background.bmp" > </File> <File RelativePath="..\Common\VeraCrypt.ico" > </File> </Filter> </Filter> <File RelativePath="..\Boot\Windows\Rescue_AES_SHA2\BootLoader.com.gz" > </File> <File RelativePath="..\Boot\Windows\Rescue_Serpent_SHA2\BootLoader.com.gz" > </File> <File RelativePath="..\Boot\Windows\Rescue_Twofish_SHA2\BootLoader.com.gz" > </File> <File RelativePath="..\Boot\Windows\Release_SHA2\BootLoader.com.gz" > </File> <File RelativePath="..\Boot\Windows\Release_AES_SHA2\BootLoader.com.gz" > </File> <File RelativePath="..\Boot\Windows\Release_Serpent_SHA2\BootLoader.com.gz" > </File> <File RelativePath="..\Boot\Windows\Release_Twofish_SHA2\BootLoader.com.gz" > </File> <File RelativePath="..\Boot\Windows\Rescue_SHA2\BootLoader.com.gz" > </File> </Files> <Globals> </Globals> </VisualStudioProject>