Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@shjala
Copy link
Member

@shjala shjala commented Sep 22, 2025

Backport of #5229

Validate the length of nonce provided for TPM quote requests before
using it, tpm2.Quote can fail if the nonce length is too long.

Signed-off-by: Shahriyar Jalayeri <[email protected]>
(cherry picked from commit dcda4ab)
Make sure that tpmmgr.getQuote returns an error if it fails,
instead of returning nil and logging the error. This way the caller
can handle the error appropriately.

Signed-off-by: Shahriyar Jalayeri <[email protected]>
(cherry picked from commit 52254e4)
@shjala shjala requested a review from rucoder as a code owner September 22, 2025 08:13
@shjala shjala self-assigned this Sep 22, 2025
@OhmSpectator OhmSpectator merged commit eb99e3b into lf-edge:14.5-stable Sep 22, 2025
41 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants