diff options
author | Dan Streetman <ddstreet@ieee.org> | 2022-12-07 11:23:59 -0500 |
---|---|---|
committer | Dan Streetman <ddstreet@ieee.org> | 2023-05-05 18:34:46 -0400 |
commit | 2cd9d57548b0dadd52523df486d33aa4cf7c3b84 (patch) | |
tree | 9bae43346cdb32bb8e7e0af7e67cd1a3629c3b3a /man | |
parent | e976445d035e21afec2f64a7c825be5df1f664a0 (diff) | |
download | systemd-2cd9d57548b0dadd52523df486d33aa4cf7c3b84.tar.gz |
tpm2: move policy building out of policy session creation
This retains the use of policy sessions instead of trial sessions
in most cases, based on the code comment that some TPMs do not
implement trial sessions correctly. However, it's likely that the
issue was not the TPMs, but our code's incorrect use of PolicyPCR
inside a trial session; we are not providing expected PCR values
with our call to PolicyPCR inside a trial session, but the spec
indicates that in a trial session, the TPM *may* return error if
the expected PCR value(s) are not provided. That may have been the
source of the original confusion about trial sessions.
More details:
https://github.com/systemd/systemd/pull/26357#pullrequestreview-1409983694
Also, future commits will replace the use of trial sessions with
policy calculations, which avoids the problem entirely.
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions