Skip to content

Commit 6b6d46d

Browse files
committed
doc/CHANGELOG.md: Update tpm2-tools to version 5.1
5.1 2021-05-24 * Build - Dependency-update: Minimum tpm2-tss version dependency bumped to 3.1.0 - Dependency-update: Minimum tpm2-abrmd version dependency bumped to 2.4.0 - tpm2_eventlog: Fix build errors on 64 bit arm systems. - tpm2_checkquote: Fix build on 32b little-endian platforms. - Fixes builds on CentOS 7 which notably has an ancient version of GCC: 4.8.5 and an older version of OSSL, 1.0.2 - Configure handles searching for python executable more gracefully, thus just having python3, will work. - Moved to GitHub Actions for CI testing. - Added fedora-32 to CI testing configurations and related fixes. - FreeBSD testing is bumped up to version 12.2 - Fix compiler and packaging warnings for OpenSuse builds. - configure: make build gnu99. - configure: make -Wbool-compare non fatal. - configure: only use -Werror for non-release builds * tss2: - Support in tools for PolicyRef inclusion in policy search per latest TSS. - Support to use TPM objects protected by a policy with PolicySigned. - Enable backward compatibility to old Fapi callback API. - Fix PCR selection for tss2 quote. - Support policy signed policies by implementing Fapi_SetSignCB. * Command/ response parameter support for auditing and pHash policies: - lib/tpm2_util.c: Add method to determine hashing alg for cp/rphash - Add support to calculate rphash for tpm2_create, tpm2_activatecredential, tpm2_certify, tpm2_certifycreation, tpm2_changeauth, tpm2_changeeps, tpm2_changepps, tpm2_nvdefine, tpm2_nvextend, tpm2_unseal - Add support to calculate cphash for tpm2_changeeps, tpm2_changepps. * Session-support: - tpm2_sessionconfig: Add tool to display and configure session attributes. - tpm2_getrandom: Fix— session input was hardcoded for audit-only - tpm2_startauthsession: Add option to specify the bind object and its authorization value. - tpm2_startauthsession: support for bounded-only session. - tpm2_startauthsession: support for salted-only session. - tpm2_startauthsession: add option to specify an hmac session type. - Add support for specifying non-authorization sessions for audit and parameter encryption for tpm2_getrandom, tpm2_create, tpm2_nvextend, tpm2_nvdefine, tpm2_unseal, tpm2_activatecredential, tpm2_certify, tpm2_certifycreation, tpm2_changeauth, tpm2_changeeps, tpm2_changepps. * tpm2_eventlog: - Support for event type: EV_IPL extensively used by the Shim and Grub. - Support for event type: EV_EFI_GPT_EVENT to parse. UEFI_PARTITION_TABLE_HEADER and UEFI_PARTITION_ENTRY. - Support for event type: EFI_SIGNATURE_LIST, which contains one or more EFI_SIGNATURE_DATA. - Support for event type EV_EFI_VARIABLE_AUTHORITY. - Parse UEFI_PLATFORM_FIRMWARE_BLOB structure that the CRTM MUST put into the Event Log entry TCG_PCR_EVENT2.event field for event types EV_POST_CODE, EV_S_CRTM_CONTENTS, and EV_EFI_PLATFORM_FIRMWARE_BLOB. - Parse secureboot variable to indicate enable as 'Yes'. - Parse BootOrder variable to a more readable format. - Parse Boot variables per EFI_LOAD_OPTION described in more details in UEFI Spec Section 3.1.3 - Parse Device-path in a readable format using the efivar library. - Support for logs longer than 64 kilobytes. - Perform verification for event types where digest can be verified from their event payload. - Better support for multiline strings. - Fix handling of event log EV_POST_CODE data where field is empty and len is specified. * scripts/utils: Add a utility to read the cert chain of embedded CA. * tpm2_getekcertificate: Fix tool failing to return error/non-zero for HTTP 404. * tpm2_nvdefine: allow setting hash algorithm by command line parameter for NV indices set in extend mode. * tpm2_duplicate, tpm2_import: support duplicating non-TPM keys to a remote TPM without first requiring them to be loaded to a local TPM. * tpm2_dictionarylockout: Fix issue where setting value for one parameter caused to reset the others. * tpm2_getpolicydigest: Add new tool to enable TPM2_CC_PolicyGetDigest. * Fix segfault where optind > argc. * tools/tpm2_checkquote: fix missing initializer * tpm2_convert: fix EVP_EncodeUpdate usage for OSSL < 1.1.0 * openssl: fix EVP_ENCODE_CTX_(new|free) * test: Add support for swTPM simulator to the testing framework and make it the default if mssim isn't available. * tpm2_unseal: - Added option **\--rphash**=_FILE_ to specify ile path to record the hash of the response parameters. This is commonly termed as rpHash. * tpm2_nvextend: - Added option **\--rphash**=_FILE_ to specify ile path to record the hash of the response parameters. This is commonly termed as rpHash. * tpm2_nvdefine: - Added option **\--rphash**=_FILE_ to specify ile path to record the hash of the response parameters. This is commonly termed as rpHash. * tpm2_changepps: - Added option **\--cphash**=_FILE_ to specify ile path to record the hash of the command parameters. This is commonly termed as cpHash. - Added option **\--rphash**=_FILE_ to specify ile path to record the hash - Added option **-S**, **\--session** to specify to specify an auxiliary session for auditing and or encryption/decryption of the parameters. * tpm2_changeeps: - Added option **\--cphash**=_FILE_ to specify ile path to record the hash of the command parameters. This is commonly termed as cpHash. - Added option **\--rphash**=_FILE_ to specify ile path to record the hash of the response parameters. This is commonly termed as rpHash. - Added option **-S**, **\--session** to specify to specify an auxiliary session for auditing and or encryption/decryption of the parameters. * tpm2_changeauth: - Added option **\--rphash**=_FILE_ to specify ile path to record the hash of the response parameters. This is commonly termed as rpHash. - Added option **-S**, **\--session** to specify to specify an auxiliary session for auditing and or encryption/decryption of the parameters. * tpm2_certifycreation: - Added option **\--rphash**=_FILE_ to specify ile path to record the hash of the response parameters. This is commonly termed as rpHash. - Added option **-S**, **\--session** to specify to specify an auxiliary session for auditing and or encryption/decryption of the parameters. * tpm2_certify: - Added option **\--rphash**=_FILE_ to specify ile path to record the hash of the response parameters. This is commonly termed as rpHash. - Added option **-S**, **\--session** to specify to specify an auxiliary session for auditing and or encryption/decryption of the parameters. * tpm2_activatecredential: - Added option **\--rphash**=_FILE_ to specify ile path to record the hash of the response parameters. This is commonly termed as rpHash. - Added option **-S**, **\--session** to specify to specify an auxiliary session for auditing and or encryption/decryption of the parameters. * tpm2_create: - Added option **\--rphash**=_FILE_ to specify ile path to record the hash of the response parameters. This is commonly termed as rpHash. * tpm2_unseal: - Added option **-S**, **--session** to specify auxiliary sessions for audit and encryption. * tpm2_nvdefine: - Added option **-S**, **--session** to specify auxiliary sessions for audit and encryption. * tpm2_nvextend: - Added option **-S**, **--session** to specify auxilary sessions for audit and encryption. Signed-off-by: Imran Desai <imran.desai@intel.com>
1 parent 948b5bc commit 6b6d46d

File tree

1 file changed

+161
-0
lines changed

1 file changed

+161
-0
lines changed

doc/CHANGELOG.md

Lines changed: 161 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,166 @@
11
## Changelog
22

3+
### 5.1 2021-05-24
4+
5+
* Build
6+
- Dependency-update: Minimum tpm2-tss version dependency bumped to 3.1.0
7+
- Dependency-update: Minimum tpm2-abrmd version dependency bumped to 2.4.0
8+
- tpm2_eventlog: Fix build errors on 64 bit arm systems.
9+
- tpm2_checkquote: Fix build on 32b little-endian platforms.
10+
- Fixes builds on CentOS 7 which notably has an ancient version of
11+
GCC: 4.8.5 and an older version of OSSL, 1.0.2
12+
- Configure handles searching for python executable more gracefully, thus
13+
just having python3, will work.
14+
- Moved to GitHub Actions for CI testing.
15+
- Added fedora-32 to CI testing configurations and related fixes.
16+
- FreeBSD testing is bumped up to version 12.2
17+
- Fix compiler and packaging warnings for OpenSuse builds.
18+
- configure: make build gnu99.
19+
- configure: make -Wbool-compare non fatal.
20+
- configure: only use -Werror for non-release builds
21+
22+
* tss2:
23+
- Support in tools for PolicyRef inclusion in policy search per latest TSS.
24+
- Support to use TPM objects protected by a policy with PolicySigned.
25+
- Enable backward compatibility to old Fapi callback API.
26+
- Fix PCR selection for tss2 quote.
27+
- Support policy signed policies by implementing Fapi_SetSignCB.
28+
29+
* Command/ response parameter support for auditing and pHash policies:
30+
- lib/tpm2_util.c: Add method to determine hashing alg for cp/rphash
31+
- Add support to calculate rphash for tpm2_create, tpm2_activatecredential,
32+
tpm2_certify, tpm2_certifycreation, tpm2_changeauth, tpm2_changeeps,
33+
tpm2_changepps, tpm2_nvdefine, tpm2_nvextend, tpm2_unseal
34+
- Add support to calculate cphash for tpm2_changeeps, tpm2_changepps.
35+
36+
* Session-support:
37+
- tpm2_sessionconfig: Add tool to display and configure session attributes.
38+
- tpm2_getrandom: Fix— session input was hardcoded for audit-only
39+
- tpm2_startauthsession: Add option to specify the bind object and its
40+
authorization value.
41+
- tpm2_startauthsession: support for bounded-only session.
42+
- tpm2_startauthsession: support for salted-only session.
43+
- tpm2_startauthsession: add option to specify an hmac session type.
44+
- Add support for specifying non-authorization sessions for audit and
45+
parameter encryption for tpm2_getrandom, tpm2_create, tpm2_nvextend,
46+
tpm2_nvdefine, tpm2_unseal, tpm2_activatecredential, tpm2_certify,
47+
tpm2_certifycreation, tpm2_changeauth, tpm2_changeeps, tpm2_changepps.
48+
49+
* tpm2_eventlog:
50+
- Support for event type: EV_IPL extensively used by the Shim and Grub.
51+
- Support for event type: EV_EFI_GPT_EVENT to parse.
52+
UEFI_PARTITION_TABLE_HEADER and UEFI_PARTITION_ENTRY.
53+
- Support for event type: EFI_SIGNATURE_LIST, which contains one or more
54+
EFI_SIGNATURE_DATA.
55+
- Support for event type EV_EFI_VARIABLE_AUTHORITY.
56+
- Parse UEFI_PLATFORM_FIRMWARE_BLOB structure that the CRTM MUST put into
57+
the Event Log entry TCG_PCR_EVENT2.event field for event types
58+
EV_POST_CODE, EV_S_CRTM_CONTENTS, and EV_EFI_PLATFORM_FIRMWARE_BLOB.
59+
- Parse secureboot variable to indicate enable as 'Yes'.
60+
- Parse BootOrder variable to a more readable format.
61+
- Parse Boot variables per EFI_LOAD_OPTION described in more details in
62+
UEFI Spec Section 3.1.3
63+
- Parse Device-path in a readable format using the efivar library.
64+
- Support for logs longer than 64 kilobytes.
65+
- Perform verification for event types where digest can be verified from
66+
their event payload.
67+
- Better support for multiline strings.
68+
- Fix handling of event log EV_POST_CODE data where field is empty and len
69+
is specified.
70+
71+
* scripts/utils: Add a utility to read the cert chain of embedded CA.
72+
73+
* tpm2_getekcertificate: Fix tool failing to return error/non-zero for HTTP 404.
74+
75+
* tpm2_nvdefine: allow setting hash algorithm by command line parameter for NV
76+
indices set in extend mode.
77+
78+
* tpm2_duplicate, tpm2_import: support duplicating non-TPM keys to a remote TPM
79+
without first requiring them to be loaded to a local TPM.
80+
81+
* tpm2_dictionarylockout: Fix issue where setting value for one parameter caused
82+
to reset the others.
83+
84+
* tpm2_getpolicydigest: Add new tool to enable TPM2_CC_PolicyGetDigest.
85+
86+
* Fix segfault where optind > argc.
87+
88+
* tools/tpm2_checkquote: fix missing initializer
89+
90+
* tpm2_convert: fix EVP_EncodeUpdate usage for OSSL < 1.1.0
91+
92+
* openssl: fix EVP_ENCODE_CTX_(new|free)
93+
94+
* test: Add support for swTPM simulator to the testing framework and make it the
95+
default if mssim isn't available.
96+
97+
* tpm2_unseal:
98+
- Added option **\--rphash**=_FILE_ to specify ile path to record the hash
99+
of the response parameters. This is commonly termed as rpHash.
100+
101+
* tpm2_nvextend:
102+
- Added option **\--rphash**=_FILE_ to specify ile path to record the hash
103+
of the response parameters. This is commonly termed as rpHash.
104+
105+
* tpm2_nvdefine:
106+
- Added option **\--rphash**=_FILE_ to specify ile path to record the hash
107+
of the response parameters. This is commonly termed as rpHash.
108+
109+
* tpm2_changepps:
110+
- Added option **\--cphash**=_FILE_ to specify ile path to record the hash
111+
of the command parameters. This is commonly termed as cpHash.
112+
- Added option **\--rphash**=_FILE_ to specify ile path to record the hash
113+
- Added option **-S**, **\--session** to specify to specify an auxiliary
114+
session for auditing and or encryption/decryption of the parameters.
115+
116+
* tpm2_changeeps:
117+
- Added option **\--cphash**=_FILE_ to specify ile path to record the hash
118+
of the command parameters. This is commonly termed as cpHash.
119+
- Added option **\--rphash**=_FILE_ to specify ile path to record the hash
120+
of the response parameters. This is commonly termed as rpHash.
121+
- Added option **-S**, **\--session** to specify to specify an auxiliary
122+
session for auditing and or encryption/decryption of the parameters.
123+
124+
* tpm2_changeauth:
125+
- Added option **\--rphash**=_FILE_ to specify ile path to record the hash
126+
of the response parameters. This is commonly termed as rpHash.
127+
- Added option **-S**, **\--session** to specify to specify an auxiliary
128+
session for auditing and or encryption/decryption of the parameters.
129+
130+
* tpm2_certifycreation:
131+
- Added option **\--rphash**=_FILE_ to specify ile path to record the hash
132+
of the response parameters. This is commonly termed as rpHash.
133+
- Added option **-S**, **\--session** to specify to specify an auxiliary
134+
session for auditing and or encryption/decryption of the parameters.
135+
136+
* tpm2_certify:
137+
- Added option **\--rphash**=_FILE_ to specify ile path to record the hash
138+
of the response parameters. This is commonly termed as rpHash.
139+
- Added option **-S**, **\--session** to specify to specify an auxiliary
140+
session for auditing and or encryption/decryption of the parameters.
141+
142+
* tpm2_activatecredential:
143+
- Added option **\--rphash**=_FILE_ to specify ile path to record the hash
144+
of the response parameters. This is commonly termed as rpHash.
145+
- Added option **-S**, **\--session** to specify to specify an auxiliary
146+
session for auditing and or encryption/decryption of the parameters.
147+
148+
* tpm2_create:
149+
- Added option **\--rphash**=_FILE_ to specify ile path to record the hash
150+
of the response parameters. This is commonly termed as rpHash.
151+
152+
* tpm2_unseal:
153+
- Added option **-S**, **--session** to specify auxiliary sessions for
154+
audit and encryption.
155+
156+
* tpm2_nvdefine:
157+
- Added option **-S**, **--session** to specify auxiliary sessions for
158+
audit and encryption.
159+
160+
* tpm2_nvextend:
161+
- Added option **-S**, **--session** to specify auxilary sessions for
162+
audit and encryption.
163+
3164
### 5.1-rc1 2021-05-19
4165

5166
* scripts/utils: Add a utility to read the cert chain of embedded CA

0 commit comments

Comments
 (0)