Skip to content
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 for TPM Using PyOpenSSL with Azure IoT SDK #1194

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

IniterWorker
Copy link
Contributor

First, this is a proof of concept of the implementation. It is stable and we are actively using it in our current project. However, we believe it is necessary to contribute these changes upstream, as they affect two projects: azure-iot-sdk-python to support PyOpenSSL and paho.mqtt.python.

This Draft is mainly for early feedback purpose.

Reference/Link to the issue solved with this PR (if any)

Description of the problem

There is currently no straightforward way to use a TPM with the azure-iot-sdk-python.

Description of the solution

This PR leverages PyOpenSSL to provide a custom context with OpenSSL PKCS#11 support, enabling the use of a TPM. This requires changes to both the azure-iot-sdk-python and paho.mqtt.python to support the PyOpenSSL context.

Copy link
Contributor

@IniterWorker the command you issued was incorrect. Please try again.

Examples are:

@microsoft-github-policy-service agree

and

@microsoft-github-policy-service agree company="your company"

@AndreRicardo-Zoetis
Copy link

AndreRicardo-Zoetis commented Dec 13, 2024

+1
Would also like to see this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants