mirror of https://github.com/wolfSSL/wolfssh.git
readKeyBlob() checks each part of the key file against its destination before reading it, and every failure now returns an error with the file closed. wolfSSH_TPM_InitKey() refuses a key auth that does not fit the blob, frees what it loaded when it fails, and wipes the key material. The tpm-ssh job feeds the client a bad key blob for each check. - reject a public size over pubAreaBuffer, a private part over key->priv - return BUFFER_E on a short read; parse errors go through exit - refuse a -K value longer than the auth buffer - unload the EK, session and key blob when the key load fails - wipe the key blob and session on return, the TPM key on cleanup Issue: F-8855, F-10558, F-10604, F-10601, F-10602, F-10603, F-17098 |
||
|---|---|---|
| .. | ||
| actions/install-apt-deps | ||
| ci-deps | ||
| scripts | ||
| workflows | ||