-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Update libinjection & Mbed TLS #3161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Updated to latest Mbed TLS version (v3.6.0)
|
We should indeed update these libraries from time to time. |
In both cases the PR references a specific commit hash in order to pin down the version included in libModSecurity until a new review and update is done. With regards to libinjection, as the project is not currently tagged (the last tag is from 2017), I'm referencing the current head (libinjection/libinjection@b9fcaaf). Mbed TLS references the commit for tag 3.6.0 (git submodules don't currently support explicitly referencing a tag), Mbed-TLS/mbedtls@2ca6c28. |
Hi @eduar-hte, thanks again for this great PR! Fortunately @fzipi is one of the maintainer/developer of libinjection project so I tagged him - may be he can help us. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Thanks @eduar-hte for this great work again. A reminder to myself: add |
What you normally do is use the checkout actions like this:
That will bring you what you want. |
So, we should replace the hard-coded files in v2 with submodules as well, right? |
That's right, the If you take a look at the build with the workaround, you'll see that the 'configure' step shows version info on MbedTLS & libInjection correctly:
However, if you look at an older build, you'll notice that the version information is missing:
|
Oh, for describe you might also want to use |
You're right, fetch-depth: 0 works! (I thought I had tested that before going for the workaround 🤷♂️) I just created a simple PR (#3185) to simplify the workflow again, thanks. |
what
Update third-party dependencies (included in
others
directory): libinjection & Mbed TLS.why
The versions included in ModSecurity have not been updated in a while: