tpm2-tss:2.1.x

Last commit made on 2019-05-28
Get this branch:
git clone -b 2.1.x https://git.launchpad.net/tpm2-tss

Branch merges

Branch information

Name:
2.1.x
Repository:
lp:tpm2-tss

Recent commits

7292c55... by Andreas Fuchs <email address hidden>

Esys: Require software random values

During pk_encrypt we will generate random values
for the key as well as the OAEP padding.
We need to ensure that we use a CPU-based random
function and don't load things from a TPM since
that would defeat the purpose of an encrypted
salt.

Signed-off-by: Andreas Fuchs <email address hidden>

afcfb0e... by Andreas Fuchs <email address hidden>

Release 2.1.4

Signed-off-by: Andreas Fuchs <email address hidden>

1608ab2... by Andreas Fuchs <email address hidden>

Prepare version 2.1.4_rc3

Signed-off-by: Andreas Fuchs <email address hidden>

b5adc31... by Juergen Repp <email address hidden>

ESYS: Fix computation of session name in Esys_StartAuthSession.

* The session name was no added to meta data in StartAuthSession.
* This caused an error in HMAC computation for policy sessions.

Signed-off-by: Juergen Repp <email address hidden>

edf7bf5... by Andreas Fuchs <email address hidden>

Prepare version 2.1.4_rc2

Signed-off-by: Andreas Fuchs <email address hidden>

d6059b9... by Imran Desai <email address hidden>

esys_iutil.c: Update session attribute in cmdauths structure for policy sessions
esys-policy-password.int.c: Add flushing policy session explicitly to the integration test

iesys_gen_auths routine in esys_iutil.c can clear the continuesession flag in
the sessionAttributes. This commit addresses a scenario to continue the policy
session inorder to be able to flush the session at a later time so as to:
1. Chain further TPM operations that are intended to modify policy digest
2. Run additional TPM commands using the session with satisfied policy

Signed-off-by: Imran Desai <email address hidden>

4cb514c... by Andreas Fuchs <email address hidden>

Prepare version 2.1.4_rc1

Signed-off-by: Andreas Fuchs <email address hidden>

2022df5... by philip

build: Use default OutDir for all VS projects.

The previous configuration was a misguided attempt to get all build
output in a central location. Turns out VS doesn't like this since I
rolled the intermediate output directory into the same location. This
causes a race condition since there's no guarantee that the intermediate
build output (object files) will have unique names.

The right way to resolve this is to just remove the configuration and
use the VS defaults. We must however specify unique intermediate build
directories for the two TCTIs since the default values overlap.

Signed-off-by: Philip Tricca <email address hidden>

ed013d4... by Jonas Witschel <email address hidden>

esys: don't stringify ESYS_TCTI_DEFAULT_CONFIG

The macro (like all other strings in config.h) is already quoted, so
using stringification will lead to a configuration string like

"/dev/tpmrm0"

(including the double quotes). Just use the macro directly instead like
ESYS_TCTI_DEFAULT_MODULE.

Fixes: GH-1395
Signed-off-by: Jonas Witschel <email address hidden>

07eb0ce... by philip

build: Include visual studio build files in dist tarballs.

We need to include these files for visual studio users to be able to
build from release tarballs.

Signed-off-by: Philip Tricca <email address hidden>
Signed-off-by: Andreas Fuchs <email address hidden>