wso2 / product-apim

Welcome to the WSO2 API Manager source code! For info on working with the WSO2 API Manager repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
821 stars 767 forks source link

Perform SHA-256 Hash for Certificate Signature Validation #13455

Open hisanhunais opened 3 months ago

hisanhunais commented 3 months ago

Purpose

The PR [1] changed the default certificate hashing algorithm to SHA-256. This PR incorporates that change in to integration tests by performing SHA-256 hashing for certificate signature validation.

This should be merged after merging [1]

[1] https://github.com/wso2/carbon-apimgt/pull/12365

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 20.52%. Comparing base (06a3b3e) to head (c38f92d). Report is 35 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #13455 +/- ## ============================================ + Coverage 14.50% 20.52% +6.01% - Complexity 748 1039 +291 ============================================ Files 254 254 Lines 11489 11495 +6 Branches 1200 1200 ============================================ + Hits 1667 2359 +692 + Misses 9804 9116 -688 - Partials 18 20 +2 ``` | [Flag](https://app.codecov.io/gh/wso2/product-apim/pull/13455/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | Coverage Δ | | |---|---|---| | [integration_tests](https://app.codecov.io/gh/wso2/product-apim/pull/13455/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | `20.52% <ø> (+6.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.