The remainder of this page uses the Microsoft Project files to jump-start the Windows compile process.
c:\OpenSSL\)
openssl directory from
"c:\OpenSSL\include" to your
Visual C++ include directory. (Copy the directory openssl,
not just the contents.)
*MD.lib files from
"c:\OpenSSL\lib\VC" to your
Visual C++ lib directory.
c:\build to perform the TrueCrypt build.
c:\build directory.
c:\build directory.
After this, you should have two new subdirectories. c:\build\wfu.
This directory
contains the code to build the library that interfaces with
the escrow server. c:\build\win32. This
directory contains the escrow-enabled TrueCrypt client code. c:\build\wfu\src\ directory created from the
initial code extraction of the wfu.zip file.
c:\build\wfu\src\libwfu.vcproj # MS Visual Studio project file c:\build\wfu\src\libwfu.sln # MS Visual Studio Solution |
c:\build\win32 directory created from
the initial code extraction of win32.zip.
The format of the XML configuration for the Windows client is different than the format of the XML configuration file for the Linux server and Linux client. Additionally, the Windows XML file allows for the customization of many of the escrow specific user interface messages.
An example of the XML file is provided in
"C:\build\win32\Setup\Escrow.xml".
You will need to customize the XML configuration file for your site.
NOTE: The XML file is updated each time you exit TrueCrypt. Before making changes to this file, you need to ensure you completely exit TrueCrypt. This includes exiting the TrueCrypt application from the system tray.
<?xml version="1.0" encoding="utf-8" ?>
<TrueCrypt>
<configuration>
<escrow key="WFUEscrowServerName">your-server.wfu.edu</escrow>
<escrow key="WFUEscrowServerPort">1234</escrow>
<escrow key="WFUEscrowCertPath">cacert.pem</escrow>
<escrow key="WFUEscrowDialogTitle">Key Management System</escrow>
<escrow key="WFUEscrowLoginText">Please enter your Wake Forest
username and password to register your encryption keys in the Key Management System.</escrow>
<escrow key="WFUEscrowLoginErrorText">Incorrect username or password, please try again.</escrow>
<escrow key="WFUEscrowAuthFailureText">Due to authentication failure, the keys for this volume
are not registred in the Key Management System. Please resolve this issue and
try again. If you need assistance, contact the Help Desk at help.wfu.edu.</escrow>
<escrow key="WFUEscrowDBErrorText">A critical escrow data base error has occured.
Please contact help.wfu.edu.</escrow>
<escrow key="WFUEscrowAuthFailreText">Due to authentication failure, the keys for this volume
are not registered in the Key Management System. Please resolve this authentication
issue and try again. If you need assistance, contact the Help Desk at help.wfu.edu.</escrow>
<escrow key="WFUShowRedundantKey">0</escrow>
<escrow key="WFUEscrowAuthAttempts">3</escrow>
<escrow key="WFUEscrowUserName"></escrow>
</configuration>
</TrueCrypt>
|
"C:\Program Files\TrueCrypt\".The following steps will prepare an installer for the escrow-enabled TrueCrypt Windows client.
"C:\WFU\"
and "C:\WFU\Setup Files"
as our example.
REM exe files copy /Y "C:\build\win32\Release\TrueCrypt Setup.exe" "C:\WFU" copy /Y "C:\build\win32\Release\TrueCrypt Setup.exe" "C:\WFU\Setup Files" copy /Y "C:\build\win32\Mount\Release\TrueCrypt.exe" "C:\WFU\Setup Files" copy /Y "C:\build\win32\Format\Release\TrueCryptFormat.exe" "C:\WFU\Setup Files\TrueCrypt Format.exe" REM driver files copy /Y "C:\build\win32\Driver\Release\TrueCrypt.sys" "C:\WFU\Setup Files" copy /Y "C:\build\win32\Driver\Release64\TrueCrypt-x64.sys" "C:\WFU\Setup Files" REM License and documentation files copy /Y "C:\build\win32\Readme.txt" "C:\WFU\Setup Files" copy /Y "C:\build\win32\License.txt" "C:\WFU\Setup Files" copy /Y "C:\build\wfu\License-OpenSSL.txt" "C:\WFU\Setup Files" copy /Y "C:\build\wfu\License-TrueCrypt.txt" "C:\WFU\Setup Files" copy /Y "C:\build\wfu\License-WFU.txt" "C:\WFU\Setup Files" copy /Y "C:\build\win32\Release\Setup Files\TrueCrypt User Guide.pdf" "C:\WFU\Setup Files" |
REM Copy your customized Escrow XML configuration file. copy "?\Escrow.xml" "C:\WFU\Setup Files" REM Copy your CA Certificate file. copy "?\cacert.pem" "C:\WFU\Setup Files" REM Copy the OpenSSL DLL files. The location of these depends on your OpenSSL install. REM For example, C:\Windows\System32\*eay*.dll copy "?\libeay32.dll" "C:\WFU\Setup Files" copy "?\ssleay32.dll" "C:\WFU\Setup Files" |
C:\WFU can now be used to distribute your customized
escrow-enabled TrueCrypt client.
C:\WFU directory
and execute the "TrueCrypt Setup.exe" install program. These files may be packaged
in a zip file. The following is a listing of these files:
TrueCrypt Setup.exe Setup Files\TrueCrypt Setup.exe Setup Files\TrueCrypt.exe Setup Files\TrueCrypt Format.exe Setup Files\TrueCrypt.sys Setup Files\TrueCrypt-x64.sys Setup Files\Escrow.xml Setup Files\cacert.pem Setup Files\libeay32.dll Setup Files\ssleay32.dll Setup Files\Readme.txt Setup Files\License.txt Setup Files\License-OpenSSL.txt Setup Files\License-TrueCrypt.txt Setup Files\License-WFU.txt Setup Files\TrueCrypt User Guide.pdf |