rust-tss-esapi icon indicating copy to clipboard operation
rust-tss-esapi copied to clipboard

Added integration test for pcr_extend

Open mkulke opened this issue 2 years ago • 3 comments

I didn't find a test for extending PCRs in the repo, it would be useful also as a reference

mkulke avatar Sep 28 '23 11:09 mkulke

Well this is nice. But I think this is in the wrong place. pcr_extend is an actual Esys API so it should be a context method.

So I think a better place for this test would be here.

Or maybe att it as an example in the documentation for that method if it is not properly documented.

Superhepper avatar Sep 28 '23 19:09 Superhepper

Well this is nice. But I think this is in the wrong place. pcr_extend is an actual Esys API so it should be a context method.

So I think a better place for this test would be here.

Or maybe att it as an example in the documentation for that method if it is not properly documented.

Ah indeed, thx for clarifying. the linked test seems to cover pcr_extend. from glancing over it, I assumed it was testing some advanced tpm ceremony, but it's more or less the same test. I'll change this into an example similar to the hmac one and then you can decide whether it's a helpful addition.

mkulke avatar Sep 29 '23 09:09 mkulke

Is this still in active development or should this be closed?

Superhepper avatar Dec 29 '23 10:12 Superhepper

Closed due to non activity.

Superhepper avatar Aug 18 '24 18:08 Superhepper