Skip to content

Add initial mbedTLS v4 support#3477

Closed
Easton97-Jens wants to merge 0 commit intoowasp-modsecurity:v3/masterfrom
Easton97-Jens:v3/master-mbedtl-v4
Closed

Add initial mbedTLS v4 support#3477
Easton97-Jens wants to merge 0 commit intoowasp-modsecurity:v3/masterfrom
Easton97-Jens:v3/master-mbedtl-v4

Conversation

@Easton97-Jens
Copy link
Copy Markdown
Contributor

@Easton97-Jens Easton97-Jens commented Dec 20, 2025

what

Updated the project to support mbedTLS v4

Adapted to the new mbedTLS v4 structure, which is split into two separate parts

Integrated mbedTLS v4 as a submodule so it can be used by the main module

why

This pull request is based on the request and discussion in
#3450

mbedTLS v4 introduces structural changes that require updates to the build and integration process

The goal is to provide an initial, working approach for mbedTLS v4 support

known issues / notes

Since mbedTLS v4 is split into two separate components, it is included as a submodule
→ To ensure the submodule is properly loaded by the main module, the following step is currently required:

git submodule update --init --recursive

The include setup is now working, and I can build the project locally.

Note: I am not a professional programmer, and this pull request represents my best effort
→ I am explicitly relying on feedback and guidance from the maintainers, especially regarding the Makefile and build system structure

references

Discussion / Request: #3450
Repository: https://github.com/Easton97-Jens/ModSecurity

@airween airween added the 3.x Related to ModSecurity version 3.x label Jan 24, 2026
@Easton97-Jens Easton97-Jens requested a review from airween January 27, 2026 18:02
@Easton97-Jens
Copy link
Copy Markdown
Contributor Author

I have made all the necessary adjustments. Everything now works as expected with the new test and runs without errors

@airween
Copy link
Copy Markdown
Member

airween commented Mar 29, 2026

I have made all the necessary adjustments. Everything now works as expected with the new test and runs without errors

Unfortunately none of the regression tests were success, all were failed. Please take a look at them.

@Easton97-Jens
Copy link
Copy Markdown
Contributor Author

Only the new test is expected to work.

@airween
Copy link
Copy Markdown
Member

airween commented Mar 29, 2026

Only the new test is expected to work.

I meant all regression tests must be success, including this one too.

Here you can see all tests.

@Easton97-Jens
Copy link
Copy Markdown
Contributor Author

That would require an adjustment to the ci.yml file. Should I correct it or edit the teama file in a new pull?

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 1, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.x Related to ModSecurity version 3.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants