Skip to content

Restore upstream wolfHSM pin and release updates - #53

Merged
mattia-moffa merged 2 commits into
wolfSSL:mainfrom
aidangarske:fix/wolfhsm-upstream-pin
Oct 1, 2026
Merged

mattia-moffa merged 2 commits into
wolfSSL:mainfrom
aidangarske:fix/wolfhsm-upstream-pin

Conversation

@aidangarske

Copy link
Copy Markdown
Member
  • wolfHSM still pointed to a fork after Support 128-bit flash programming units wolfHSM#524 merged.
  • Restore the upstream URL and pin main at 66e2482.
  • Require the merged flash support before automatic release bumps.
  • Complete COMM INIT before guest crypto requests.
  • Clean up failed handshakes and cover recovery with regression tests.
  • make test and four firmware builds passed.
  • M33MU positive passed with both engines; hsmattackneg passed with hsm.
  • Closes lib/wolfHSM wolfHSM-v1.5.0 breaks wolfTrust #7.

@aidangarske aidangarske self-assigned this Oct 1, 2026
Copilot AI balanced review requested due to automatic review settings October 1, 2026 15:42
@aidangarske aidangarske added the ci:all Run every M33MU scenario of every port on the PR (core change) label Oct 1, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

A failed handshake during callback-based retry unregisters the retry callback, preventing subsequent automatic recovery.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

Restores upstream wolfHSM integration and adds the required COMM INIT handshake with failure cleanup.

Changes:

  • Restores the upstream wolfHSM URL and release gate.
  • Performs COMM INIT before guest crypto operations.
  • Adds recovery tests and documentation.
File Description
.gitmodules Restores upstream wolfHSM URL.
.github/​workflows/​auto-pin-dependencies.yml Gates release bumps on PR #524.
wolfhsm_client_glue.c Adds handshake and cleanup.
tests/​host/​wolfhsm_relay/​main.c Tests handshake failure recovery.
docs/​Crypto-Engines.md Documents initialization behavior.
docs/​Building.md Documents pin requirements.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@mattia-moffa
mattia-moffa merged commit 8864744 into wolfSSL:main Oct 1, 2026
164 checks passed
@aidangarske
aidangarske deleted the fix/wolfhsm-upstream-pin branch October 1, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:all Run every M33MU scenario of every port on the PR (core change)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

lib/wolfHSM wolfHSM-v1.5.0 breaks wolfTrust

3 participants