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 |
||
|---|---|---|
| .. | ||
| ci-deps-image.yml | ||
| code-coverage.yml | ||
| codespell.yml | ||
| coverity-scan-fixes.yml | ||
| cppcheck.yml | ||
| cxx-check.yml | ||
| espressif.yml | ||
| interop-mlkem.yml | ||
| mldsa-composite-config.yml | ||
| multi-compiler.yml | ||
| network-contention-test.yml | ||
| os-check.yml | ||
| paramiko-sftp-test.yml | ||
| sanitizer.yml | ||
| sbom.yml | ||
| scp-test.yml | ||
| sftp-test.yml | ||
| singlethread-check.yml | ||
| sshd-test.yml | ||
| test-fatfs.yml | ||
| tpm-ssh.yml | ||
| windows-cert-store-test.yml | ||
| windows-check.yml | ||
| windows-sftp.yml | ||
| x509-interop.yml | ||
| zephyr.yml | ||