balena-os / meta-balena

A collection of Yocto layers used to build balenaOS images
https://www.balena.io/os
968 stars 115 forks source link

tpm2: ensure auth session contexts are flushed after use #3479

Closed jakogut closed 3 weeks ago

jakogut commented 3 months ago

The TPM is capable of storing a limited number of auth session handles. Ensure auth sessions are flushed after use, to prevent tpm2_startauthsession from failing with 'out of session handles'.

Change-type: patch


Contributor checklist

Reviewer Guidelines

github-actions[bot] commented 3 months ago

Website deployed to CF Pages, 👀 preview link https://b848e42a.balena-os.pages.dev

jakogut commented 3 months ago

@resin-jenkins retest this please