wolfSSL / wolfBoot

wolfBoot is a portable, OS-agnostic, secure bootloader for microcontrollers, supporting firmware authentication and firmware update mechanisms.
https://www.wolfssl.com
GNU General Public License v3.0
347 stars 98 forks source link

Fix for setting and unsetting the session auth #367

Closed dgarske closed 1 year ago

dgarske commented 1 year ago

Resolves issue with trying to use the existing session multiple times. The TPM nonce was being lost.

Fix to use the new unset auth session API, that captures the last TPM nonce, so the session auth can be properly set again. Requires wolfTPM PR https://github.com/wolfSSL/wolfTPM/pull/299