You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/securing-mpc-with-tee-design-doc.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -424,7 +424,7 @@ We grant access to all contract methods rather than an explicit allow-list becau
424
424
425
425
In addition -The node will generate multiple responder account keys as well.These are used to increase throughout when posting generated MPC signatures to the chain.
426
426
427
-
_Note-We plan (in future release) to add a restriction that some of contract API can only be invoked with the node key and not the operators key, those enhancing the security and separation of duty._
427
+
Node-only contract APIs (`respond`, `respond_ckd`, `respond_verify_foreign_tx`, the key-event calls, `register_foreign_chains_config`) reject the operator key: the contract requires the signer key to be the attested node account key.
428
428
429
429
## RemoteAttestation
430
430
@@ -440,9 +440,7 @@ The node will use the Dstack APIs in order to generate the remote attestation in
440
440
441
441
-ATDX quote (including RTMRs and reportData)
442
442
443
-
- reportData ==Version||SHA384(node's TLSP2P public key)
444
-
445
-
_Note_-In a future release, we plan to add the hash of node's public account key as well -in order to be able to add restriction on the operator calling some of the contract APIs
443
+
- reportData ==Version (2 bytes, big endian) ||SHA3-384(node's TLSP2P public key || node's account public key), zero-padded to 64 bytes
446
444
447
445
-Collateral (TCBInfo, QEIdentity, PCKCRL) — fetched from a configurable PCCS endpoint chain.See [PCCSCollateralHandling](#pccs-collateral-handling) below for endpoint configuration, freshness, and TLS trust.
448
446
@@ -473,7 +471,7 @@ Review Dstack [RMTR calculation and attestation](https://github.com/Dstack-TEE/d
473
471
Those are the high level steps the contract does in order to verify the attestation quote generated by the MPC node.
474
472
475
473
1.VerifyTDX quote (according to intel spec, mainly validating signatures and chain of trust).
476
-
2.VerifyReportdata==Version||SHA384(node's public signing key)
474
+
2.VerifyReportdata==Version||SHA3-384(node's TLSP2Ppublic key || node's account public key)
0 commit comments