~awe/snappy-hwe-snaps/+git/tpm2:tpm2-tools/v3.1.0

Last commit made on 2018-06-21
Get this branch:
git clone -b tpm2-tools/v3.1.0 https://git.launchpad.net/~awe/snappy-hwe-snaps/+git/tpm2
Only Tony Espy can upload to this branch. If you are Tony Espy please log in for upload directions.

Branch merges

Branch information

Name:
tpm2-tools/v3.1.0
Repository:
lp:~awe/snappy-hwe-snaps/+git/tpm2

Recent commits

ca5b3d1... by Joshua Lock <email address hidden>

CHANGELOG: update for 3.1.0 release

Signed-off-by: Joshua Lock <email address hidden>

da418d9... by Joshua Lock <email address hidden>

CHANGELOG: prepare for 3.1.0-rc0 release

Signed-off-by: Joshua Lock <email address hidden>

d836981... by Joshua Lock <email address hidden>

CHANGELOG: update for 3.1 release

Signed-off-by: Joshua Lock <email address hidden>

a19a14c... by Joshua Lock <email address hidden>

test_tpm2_alg_util: fix array out of bounds issue

Building with gcc 8.1.1 reports that:

test/unit/test_tpm2_alg_util.c:350:78: error: array subscript 3 is above
 array bounds of ‘TPMT_HA[3]

Ensure that the index isn't increased above TPM2_NUM_PCR_BANKS, as is done
on the master branch.

Signed-off-by: Joshua Lock <email address hidden>

b8c937f... by Joshua Lock <email address hidden>

lib/tpm2_policy: address "Big parameter passed by value" from Coverity

Coverity Scan suggests that copying around "large" structures is
inefficient. Pass TPML_PCR_SELECTION by reference instead.

Signed-off-by: Joshua Lock <email address hidden>

dfdec78... by Joshua Lock <email address hidden>

tcti_ldr: load TCTI's by SONAME, not raw .so filename

The raw .so file always points to the latest shared library object and is
usually split into the development package in distributions.

Factor TCTI dlopen'ing into a shared function that loads the TCTI by
versioned SONAME.

Resolves issue #1057

Signed-off-by: Joshua Lock <email address hidden>

6c92bcf... by Joshua Lock <email address hidden>

ci: build against the latest rc of tpm2-tss - 2.0.0_rc3

Signed-off-by: Joshua Lock <email address hidden>

c1538a7... by Joshua Lock <email address hidden>

coverity: fix scanning

Travis' Coverity addon needs access to the build artifacts and doesn't know
how to look into the container, furthermore the Trusty environment in Travis
is difficult to set up with all of the dependencies for the tpm-software
stack (due to conflicting files in packages and requiring newer package
versions).

Therefore instead we run the Coverity tools ourselves instead of relying on
Travis' automation: we ensure the tools are available inside the container,
perform the build with cov-int and bundle up the output for submission
outside of the container.

Signed-off-by: Joshua Lock <email address hidden>

f97583b... by Joshua Lock <email address hidden>

README: fix link to Travis

Signed-off-by: Joshua Lock <email address hidden>

e103bbf... by William Roberts <email address hidden>

objectattrs: clear before or'ing in values

When a user specifies object attributes they should be the ones used,
not or'd in with the defaults.

Signed-off-by: William Roberts <email address hidden>