Skip to content

Fix test configuration for MLDSA composites and restore type discrimination checks - #1266

Open
stenslae wants to merge 1 commit into
wolfSSL:masterfrom
stenslae:fix-tests
Open

stenslae wants to merge 1 commit into
wolfSSL:masterfrom
stenslae:fix-tests

Conversation

@stenslae

Copy link
Copy Markdown
Member

Added #ifndef WOLFSSH_NO_MLDSA_COMPOSITES around the composite test vectors to fix compilation errors when building the library without MLDSA composites enabled. Added a loop to ensure that CheckAuthKeysLine strictly rejects key blobs when the line token requests a different signature type. Added specific test cases to verify that both rsa-sha2-256 and rsa-sha2-512 line tokens properly accept the embedded ssh-rsa key blobs. Reorganized the ssh-rsa mismatch checks so they run cleanly and reliably in all builds, verifying that it correctly rejects non-RSA blobs.

@stenslae stenslae self-assigned this Sep 18, 2026

@wolfSSL-Fenrir-bot wolfSSL-Fenrir-bot 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.

Fenrir Automated Review — PR #1266

Scan targets checked: wolfssh-src, wolfssh-bugs

Fenrir result: Approved ✅

No new issues found in the changed files.

Advisory only — this automated result does not count as a GitHub approval.

@stenslae stenslae assigned wolfSSL-Bot and unassigned stenslae Sep 18, 2026
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.

3 participants