Azure / iot-identity-service

Source of the Azure IoT Identity Service and related services.
MIT License
37 stars 46 forks source link

[tpmd] Fix regression in TPM authentication key index #456

Closed gordonwang0 closed 2 years ago

gordonwang0 commented 2 years ago

The default index was incorrectly written, and the value inherited from the configuration was not used in the key import subroutine.

arsing commented 2 years ago

There's also this change from the first commit that you need, no?

gordonwang0 commented 2 years ago

https://github.com/Azure/iot-identity-service/pull/457

arsing commented 2 years ago

But if you merge that then it has the change to template.toml and tpmd-config/lib.rs that was reverted in the second commit, and which you've not included here. I thought you were cherry-picking and squashing both in this PR so that the template.toml and tpmd-config/lib.rs changes canceled out.

gordonwang0 commented 2 years ago

Ok, I've cherry-picked both into this PR.