-
Patch applied and upstream.
Thanks,
Rajiv.
2010-01-04 20:02:49 UTC by phreakz
-
phreakz committed patchset 87 of module applications to the trousers CVS repository, changing 1 files.
2010-01-04 20:01:43 UTC by phreakz
-
I'm using 64-bit GNU/Linux, in particular, Ubuntu 8.04. I'm compiling code that uses Tspi_TPM_Quote2 against libtspi1 0.3.1-4ubuntu0.3. The typedef for TPM_QUOTE_INFO2 does not match what's returned for a quote. The length of the data returned is 52, but if you use TPM_QUOTE_INFO2 to access the composite PCR hash, you reference memory outside of the quote. The headers say the size of a...
2010-01-04 02:26:19 UTC by nobody
-
There are a few assumptions that sizeof int == sizeof void *. I am enclosing a patch below.
diff -r -x Makefile -x '*.in' -x '*.m4' -x '*.am' -x '*.cache' -x '*o' -x configure -x '*.log' -x '*~' -x .git -x .libs -x '*a' -x '*.status' -x '#*' -x TAGS trousers-exp/src/include/biosem.h trousers-0.3.2-1/src/include/biosem.h
14,17c14,17
< int bios_open(void *, void **);
< TSS_RESULT...
2009-12-30 19:09:27 UTC by semenzato
-
Attempted to write a patch to fix the problem, but unfortunately I get the same error on decode. I've uploaded my so-far-not-working patch in the hope that it gives someone smarter than me a leg up on solving the problem.
2009-12-26 04:47:38 UTC by wknickless
-
When performing RSA encryption/decryption operations using OAEP padding, the TCSA 1.1b specification requires:
The OAEP encoding P parameter MUST be the NULL terminated string “TCPA”.
(TCPA Main Specification version 1.1b, Section 8.4.1)
At http://trousers.cvs.sourceforge.net/viewvc/trousers/applications/openssl_tpm_engine/e_tpm.c?revision=1.17&view=markup#l_961 the OpenSSL TPM...
2009-12-26 01:04:05 UTC by wknickless
-
The CVS version of create_tpm_key.c won't compile, because the authdata variable isn't in scope at around line 407.
The intent appears to have been to use the same authentication string for both the usage of a wrapped key and the migration of that key. Attached please find a patch that requests a separate password for the key migration policy, which has the nice side effect of making the...
2009-12-26 00:02:14 UTC by wknickless
-
The CVS version of create_tpm_key.c won't compile, because the authdata variable isn't in scope at around line 407.
The intent appears to have been to use the same authentication string for both the usage of a wrapped key and the migration of that key. Attached please find a patch that requests a separate password for the key migration policy, which has the nice side effect of making the...
2009-12-25 19:34:12 UTC by wknickless
-
in /usr/local/google/src/trousers-0.3.1/src/tspi/:
tspi_nv.c:220: warning: cast from pointer to integer of different size
Changing NULL to 0 fixes this.
Thanks!
semenzato@google.com.
2009-12-14 18:26:51 UTC by nobody
-
In file testsuite/tcg/tpm/Tspi_TPM_Quote02.c line 190 to 198 read:
result = Tspi_TPM_GetRandom(hTPM, 20, &data);
if (result != TSS_SUCCESS) {
print_error("Tspi_TPM_GetRandom ", result);
Tspi_Context_Close(hContext);
Tspi_Context_CloseObject(hContext, hIdentKey);
exit(result);
}...
2009-11-28 16:59:14 UTC by nobody