Main
Documentation
Download
Examples
TSPI API
Links

MTM software installation instructions

The current distribution contains TPM/MTM emulator package and ready-made patches against Trousers version 0.2.9 and tpm-tools v. 1.2.5. TrouSerS and MTM emulator also require some external libraries. Please check that the following packages are installed and install them if they are not installed (you will need both library and header files):

You must also have GNU autotools configuration management tools installed (automake, autoconf, etc.).

NEW! Patches by Jani Suomalainen and Sami Lehtinen (Tecnical Research Center of Finland) update the emulator in the following ways: The RIM cert create tool malfunctioned, if the state parameters were input from a file (patch fixes this problem). The second patch provides a tpm_compute_digest that takes the input (PCR values) as command line parameters rather than as a TPM_DATA struct. The last patch makes the compilation compatible with GCC 4.3 (O_CREAT requires the mode parameter in the open command).

Extract original TrouSerS and tpm-tools packages. Extract MTM emulator, modified TrouSerS and modified tpm-tools packages. Package files are:

There are separate build instructions for MTM emulator, TrouSerS and tpm-tools (see INSTALL file in subdirectories mtmemu, trousers and tpm-tools).

All packages are using the autotools based build system. Build subdirectories in this order (there are dependencies):

  1. mtmemu-0.1
  2. trousers-0.2.9.1 (run also make install, because tpm-tools requires these libs)
  3. tpm-tools-1.2.5.1

in other words you might want to follow the following procedure (done on a an old RedHat Linux with the intention to be installed in /usr). The assumption below is that the user is running as root:

$ cd mtmemu-0.1
$ sh < bootstrap.sh
$ ./configure --prefix=/usr
$ make clean && make && make install
$ cd ..


$ cd trousers-0.2.9.1
$ patch -p1 < ../trousers-0.2.9.1-mtm.patch
$ sh < bootstrap.sh
$ ./configure --with-gui=none --prefix=/usr
$ make clean && make && make install
$ cd ..


$ cd tpm-tools-1.2.5.1
$ patch -p1 < ../tpm-tools-1.2.5.1-mtm.patch
$ sh < bootstrap.sh
$ ./configure --prefix=/usr
$ make clean && make && make install
$ cd ..

The software has been tested in Linux (32-bit) and Cygwin environments.



Updated: 23.2.2009