Support for Key Separation and Sharing (KSS) #2058
Replies: 2 comments 6 replies
-
@atsuki-momose: Thank you for your interest in KSS support in Gramine!
Currently, we have no plans to support KSS in the near future. Could you please share how you intend to use KSS in Gramine, like are you looking to use it in a production environment or for research purposes? |
Beta Was this translation helpful? Give feedback.
-
@kailun-qin: Thank you for your quick reply! We are planning to use KSS to design a microservice system that we may adopt in our production environment. Specifically, we are considering two Gramine instances, P and Q, for different tasks, which may run on the same host or on separate hosts. Our requirements are:
To establish a secure channel, P must attest to Q using a known measurement value (i.e., the MR-Enclave hard-coded in P). At the same time, Q must attest to P to satisfy the second requirement. However, since P’s measurement is only available after Q’s measurement has been determined, it cannot be hard-coded in Q. Although P’s measurement could be provided at runtime, we prefer binding it to the quote without service-level mutability for security reasons. For these reasons, we plan to use the config ID to bind P’s measurement to Q’s quote. |
Beta Was this translation helpful? Give feedback.
-
Dear Gramine Team,
We understand that KSS is currently unsupported in Gramine. We believe this is a crucial feature in some cases, such as mutual attestation. For example, suppose we have two enclaves, P and Q. Enclave P can attest Q with a hard-coded measurement (i.e., MR-Enclave) of Q. However, Q lacks the measurement of P in its attested enclave. Therefore, P’s measurement must somehow be provided without changing Q’s measurement. The extended IDs in KSS, such as the extended product ID or configuration ID, are thus necessary for resolving this asymmetry.
We have noticed some related discussions that appear to remain open:
Could you kindly let us know if there is any plan to support KSS in the near future?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions