Skip to content

give debug log hint about hash min size and adjust configure with CI#228

Open
JacobBarthelmeh wants to merge 1 commit into
wolfSSL:mainfrom
JacobBarthelmeh:update
Open

give debug log hint about hash min size and adjust configure with CI#228
JacobBarthelmeh wants to merge 1 commit into
wolfSSL:mainfrom
JacobBarthelmeh:update

Conversation

@JacobBarthelmeh
Copy link
Copy Markdown
Contributor

No description provided.

@JacobBarthelmeh JacobBarthelmeh self-assigned this May 22, 2026
Copilot AI review requested due to automatic review settings May 22, 2026 22:56
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates wolfCLU’s dgst sign/verify path to surface an additional hint when MD5 signatures fail due to wolfSSL’s minimum signature-hash policy, and adjusts GitHub Actions CI to build wolfSSL with that minimum lowered so existing MD5-related test cases keep passing.

Changes:

  • Capture and inspect wc_SignatureVerify / wc_SignatureGenerate return codes to optionally print an MD5-specific hint on BAD_FUNC_ARG.
  • Update CI’s wolfSSL ./configure invocation to define WC_SIG_MIN_HASH_TYPE=WC_HASH_TYPE_MD5 during the wolfSSL build.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/sign-verify/clu_dgst_setup.c Adds MD5-specific diagnostic logging based on BAD_FUNC_ARG from signature verify/generate.
.github/workflows/ci.yml Forces wolfSSL CI builds to lower WC_SIG_MIN_HASH_TYPE to MD5 to keep MD5 test cases working.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +419 to +420
WOLFCLU_LOG(WOLFCLU_L0,
"Note: MD5 below default min sig hash on wolfSSL > 5.9.1");
Comment on lines +461 to +462
WOLFCLU_LOG(WOLFCLU_L0,
"Note: MD5 below default min sig hash on wolfSSL > 5.9.1");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants