-
Notifications
You must be signed in to change notification settings - Fork 739
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
Support openssl engine #2400
Support openssl engine #2400
Conversation
…L_ENGINE for credential type IOTHUB_CREDENTIAL_TYPE_X509
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
So I see the error in the tests:
and
Basically I could adjust the logic, to also accept these arguments (engine and private key) in case it uses no certificate based authentication (x509). Or actually I should probably adjust the tests, to set the required property beforehand. |
/azp run |
Commenter does not have sufficient privileges for PR 2400 in repo Azure/azure-iot-sdk-c |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
The following tests FAILED: |
I can repro this on my system: likely the Unit test expectations on expected API calls are incorrect. The 3 new UTs are failing:
To repro, configure the following CMake options (I find it easier to use
Then run
|
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.
The UTs are very sensitive to changes and our UT framework is not the easiest to ramp-up to.
I've left comments on why these are failing and checked-in fixes.
Thank you @JonathanKnam for your contribution!
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
@CIPop Thanks for merging, and also for the explanations about the missing parts in the unittests. |
Checklist
devdoc
folder and added or modified requirements.main
branch.main
branch prior to submission and re-merged as needed after I took any feedback.Reference/Link to the issue solved with this PR (if any)
Description of the problem
Normal communication via mqtt works find when using an OpenSSL engine.
However when it compes to uploading files to the blob storage it failed, because OpenSSL engines have not been supported when using curl-library.
Description of the solution
This solution builds up on my previous pull request, that was already merged (Azure/azure-c-shared-utility#602) in the c-utilities submodule, and will now fully enable the support to upload files to the blob storage when using openssl engines together with curl.