wolfProvider icon indicating copy to clipboard operation
wolfProvider copied to clipboard

Add new option to enable unit testing for replace default mode

Open ColtonWilley opened this issue 1 month ago • 4 comments

Add new option to enable unit testing for replace default mode, directly initializing the openssl default provider

ColtonWilley avatar Nov 13 '25 20:11 ColtonWilley

Can we add the new mode to a CI workflow? Maybe simple.yml?

padelsbach avatar Nov 13 '25 21:11 padelsbach

Do we have customers wanting to do this?

SparkiDev avatar Nov 13 '25 22:11 SparkiDev

Do we have customers wanting to do this?

Well since I came up with replace-default, every single prospective customer has wanted the replace default option. Without this PR, we have no way to unit test wolfProvider against an openssl built with replace default. We are still in early stages with many of them, but they are already starting to ask about testing/verification. I thought this was a decent way to keep our original testing strategy against the openssl that most closely resembles what they will run in production.

ColtonWilley avatar Nov 13 '25 22:11 ColtonWilley

Document this then in the README.md then. Add examples to show customers how to do this.

SparkiDev avatar Nov 13 '25 22:11 SparkiDev

I dont think we should be deleting binaries after test. They might want to retest, or the binaries may need to be put somewhere else or modified before ready to run for them. We have clear prints, I think that is sufficient rather than start deleting artifacts for them.

ColtonWilley avatar Dec 08 '25 19:12 ColtonWilley