Closed hug-dev closed 4 years ago
From the ESAPI specs:
No two threads are allowed the same ESAPI context simultaneously.
We did a test where creating two contexts and trying in one to refer to the key handle of the other, ESAPI does not allow that (key handle does not exist) (cc @ionut-arm ). That would mean that inside the provider functions, the code will be single-threaded (ensured with mutexes) so that we only have one context at all time. This context will be created when the provider is created.
This issue tracks the work of adding a new provider in PARSEC for TPM support. This new provider will implement the
Provide
trait to respond to clients requests.Multiple options are possible for the implementation:
cc @parallaxsecond/maintainers