Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

tpm-tools Log


Commit Date  
[ddf5f3] by Kent Yoder Kent Yoder

configure: squash autoreconf warning (and one whitespace fix)

Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>

2013-05-14 21:40:18 Tree
[b06087] by Kent Yoder Kent Yoder

configure.in: remove -Werror

Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>

2012-11-05 20:58:31 Tree
[caca71] by Kent Yoder Kent Yoder

.gitignore: updated

Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>

2012-11-05 20:57:57 Tree
[8b6995] by Kent Yoder Kent Yoder

configure.in: Fix build bug where pkcs11 support was required to build.

Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>

2012-05-30 16:25:36 Tree
[7e17ee] by Rajiv Andrade Rajiv Andrade

Version update - 1.3.8

Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>

2012-05-17 17:58:47 Tree
[7c8c64] by Steve Grubb Steve Grubb , pushed by Rajiv Andrade Rajiv Andrade

Fixed build issues

Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>

2012-05-17 17:50:39 Tree
[d393b9] by Rajiv Andrade Rajiv Andrade

This fixes SF bug #3272324

When OpenCryptoki is present, tpm-tools 1.3.5 fails to link with the gold linker. libtpm_pkcs11.a fails to link:
tpm-tools-1.3.1: /usr/libexec/gcc/i686-pc-linux-gnu/ld: ../../lib/.libs/libtpm_pkcs11.a(tpm_pkcs11.o): in function closeToken:tpm_pkcs11.c:287: error: undefined reference to 'dlclose'
(...)

The problem is that gold requires all libraries used to be explicitly specified on the command line.

Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>

2012-05-17 17:50:29 Tree
[31262d] by srajiv srajiv

Merge pull request #4 from srajiv/nvdefine-pcrs

tpm_nvdefinespace: add support for PCR sealing

2012-05-17 17:14:34 Tree
[3b8c04] by Kent Yoder Kent Yoder

tpm_nvdefinespace: add support for PCR sealing

This patch adds the ability to seal an NVRAM area to PCR states for
both reading and writing. PCR indices are passed in two ways.

1. Repeatedly using the -r (read PCR state) and -w (write PCR state)
options. This will cause tpm_nvdefine to read the current PCR value from
the TPM and use that to lock the NV area for reading or writing.

2. Using the -f option to pass a file containing PCR values. The format
of the file is this:

[r/w] [PCR index] [Hash value in ascii hex]

example:
r 12 00112233445566778899AABBCCDDEEFF001122233
w 15 00112233445566778899AABBCCDDEEFF001122233

This would lock the NVRAM area such that PCR 12 must have the listed
hash value in order to be read, and PCR 15 such that it must have the
same hash value to be written.

Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>

2012-04-23 19:51:29 Tree
[db30c6] by srajiv srajiv

Merge pull request #2 from srajiv/key-bugs2

Please review these 2 commits (v2)

2012-04-12 01:12:43 Tree
[8e7ced] by Kent Yoder Kent Yoder

fixed gcc warnings re unused but set variables

Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>

2012-04-11 20:46:08 Tree
[f4f669] by Kent Yoder Kent Yoder

add .gitignore file

Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>

2012-04-10 16:49:39 Tree
[3bca4e] (small-fixes) by Dtoubelis Dtoubelis , pushed by Rajiv Andrade Rajiv Andrade

Error messages fix

Added EOL to some of tpm_unsealdata.c messages.

Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>

2011-12-06 15:23:18 Tree
[ed0367] by Rajiv Andrade Rajiv Andrade

Version update 1.3.7

Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>

2011-09-07 14:47:49 Tree
[ea1b55] by Stefan Berger Stefan Berger , pushed by Rajiv Andrade Rajiv Andrade

Add man pages for the NVRAM area tools

This patch adds man pages for the NVRAM area tools. The man pages are
written in the more readable pod format (plain old documentation; from
perl package) and translated to the troff format using 'pod2man'.

A rule is added to the Makefile.am to generate man pages from more
recent pod files.

v3:
- Adding text to tpm_nvread/tpm_nvwrite man pages about read and
write sizes of 0 bytes

v2:
- adapted man pages to changes in the tools

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>

2011-08-17 12:20:46 Tree
[c188b0] by Stefan Berger Stefan Berger , pushed by Rajiv Andrade Rajiv Andrade

Add tools for accessing NVRAM areas

This patch adds 5 tools for accessing and managing NVRAM areas:

- tpm_nvdefine
- tpm_nvrelease
- tpm_nvread
- tpm_nvwrite
- tpm_nvinfo

It uses as many of the same options that have been introduced in other
tools and introduces a couple of new ones for providing the owner and
NVRAM area password via command line as well as the index, size and
permissions of NVRAM areas.

v3:
- addressing Kent's comments
- replaced 0xFFFFFFFF constant with TPM_NV_INDEX_LOCK
- allowing TPM_NV_INDEX0 (=0) to be used as a valid index
- allowing write sizes of 0 to index 0

v2:
- tpm_nvdefine: changed the 'd' short parameter to an 'a'
- added --list-only parameter to tpm_nvinfo to only display the defined NVRAM
areas' indices
- removed initialization values from all static variables
- converted parameters and functions from 'int' to 'unsigned int' since no
negative values are needed
- fixes to functions parsing values
- tpm_nvread -i <index> now displays all the content of the NVRAM area
without having to give a size

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>

2011-08-17 12:20:35 Tree
[bbe8e7] by Stefan Berger Stefan Berger , pushed by Rajiv Andrade Rajiv Andrade

fix linking problem

When compiling the tpm-tools I get a linking problem:

Making all in cmds
make[3]: Entering directory `/root/tpm-tools/src/cmds'
/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -m64 -Wall -Werror -Wreturn-type -Wsign-compare -o tpm_sealdata tpm_sealdata.o ../../lib/libtpm_tspi.la -ltspi ../../lib/libtpm_unseal.la -ltpm_unseal
libtool: link: gcc -g -O2 -m64 -Wall -Werror -Wreturn-type -Wsign-compare -o .libs/tpm_sealdata tpm_sealdata.o ../../lib/.libs/libtpm_tspi.a ../../lib/.libs/libtpm_unseal.so -ltspi
/usr/bin/ld: tpm_sealdata.o: undefined reference to symbol 'BIO_pop'
/usr/bin/ld: note: 'BIO_pop' is defined in DSO /lib64/libcrypto.so.10 so try adding it to the linker command line
/lib64/libcrypto.so.10: could not read symbols: Invalid operation
collect2: ld returned 1 exit status

The patch below fixes this problem by also linking with -lcrypto.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>

2011-08-15 17:52:08 Tree
[051dd8] by Stefan Berger Stefan Berger , pushed by Rajiv Andrade Rajiv Andrade

Update rpm spec file for perl dependency

The new man pages in pod format introduce a dependency on perl's
pod2man. This patch adds perl as a build requirement to the spec files.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>

2011-08-15 14:12:24 Tree
[78810a] by Rajiv Andrade Rajiv Andrade

Version update to 1.3.6

Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>

2011-06-17 14:13:05 Tree
[8e5bb9] by Rajiv Andrade Rajiv Andrade

Included missing line breaks

Reported-by: Klaus Kiwi <klaus email>
Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>

2010-11-11 16:59:48 Tree
[9bcf49] by Steve Grubb Steve Grubb , pushed by Rajiv Andrade Rajiv Andrade

Fixed config.rpath lookup and cleaned up bootstrap.sh

Signed-off-by: Steve Grubb <sgrubb@redhat.com>

2010-05-17 16:39:35 Tree
[eef143] by Rajiv Andrade Rajiv Andrade , pushed by Rajiv Andrade Rajiv Andrade

Version update to 1.3.5.

Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>

2010-05-17 16:39:35 Tree
[2bc51f] by Rajiv Andrade Rajiv Andrade , pushed by Rajiv Andrade Rajiv Andrade

Typos fixed.

Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>

2010-05-17 16:39:35 Tree
[f6133b] by Steve Grubb Steve Grubb , pushed by Rajiv Andrade Rajiv Andrade

Make distcheck fixes.

Signed-off-by: Steve Grubb <sgrubb@redhat.com>

2010-05-17 16:39:35 Tree
[f09b28] by Rajiv Andrade Rajiv Andrade , pushed by Rajiv Andrade Rajiv Andrade

Missing ptSlots memory handling.

Signed-off-by: Steve Grubb <sgrubb@redhat.com>
Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>

2010-05-17 16:39:35 Tree
Older >