-
Notifications
You must be signed in to change notification settings - Fork 738
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
Add PKCS #11 support. #1246
Comments
As per offline discussion, we have come to an agreement that the new Azure SDK for Embedded C suite would be the best place for this enhancement to be done. |
Hi team, is PKCS #11 support now available? |
@ronnytittoto yes, support has been added for OpenSSL on Linux by supporting OpenSSL ENGINEs. (Windows should already have support if the Windows Certificate Store is used instead of files on disk with a proper HSM/PKCS#11 driver.) For most cases, we recommend using our SDK in conjunction with Azure Identity Service. This support has been added in #1798 |
@CIPop Is this support (pkcs11 via OpenSSL engine) limited to iothub client or does it equally apply to DPS (provisioning) client? This query is since, as part of #1798, although samples in iothub_client folder have been updated, the samples in provisioning_client were left untouched. Raising this query on a closed issue for completeness |
@kiranpradeep The feature was added to the common TLS layer but we have only tested it to work with the IoT Hub client and various OpenSSL engines. I don't know of any reason this wouldn't work with DPS although the API would require you to implement a custom HSM module to use the feature. |
@CIPop Thanks. To confirm the understanding, can we provide a string like Fully understand that this might be untested. Also. this query is only for those who cannot use azure identity service. |
@kiranpradeep you would also need to configure the type of Key, engine name, etc - similar to the Hub sample and documentation, but yes, in theory it should work. |
Are there any news using SSL Engine support in Provisioning Client? |
@Styne13 Creating a sample and testing this at least with SoftHSM and the TPM engine in our backlog but that could take a while as we work on higher pri tasks. |
Is your feature request related to a problem? Please describe.
Feature request: Many HSMs can be conveniently accessed by a standardized API called PKCS 11. By supporting this in the SDK itself it would allow a much easier path for those wishing to use an HSM that supports this interface. Essentially having out of the box support in the manner of the existing TPM support.
Describe the solution you'd like
See above.
Describe alternatives you've considered
The alternative is making extensive modifications to the SDK code to support the HSM.
The text was updated successfully, but these errors were encountered: