hyperledger / fabric-private-chaincode

FPC enables Confidential Chaincode Execution for Hyperledger Fabric using Intel SGX.
Apache License 2.0
160 stars 91 forks source link

Chaincode enclave / tlcc binding. #14

Open mbrandenburger opened 5 years ago

mbrandenburger commented 5 years ago

When a new chaincode enclave spawns it binds itself to a given tlcc enclave using local attestation. Typically, this includes a key exchange to protect the communication between the chaincode enclave and tlcc later.

However, the current code base has hardcoded shared key. Attestation and key exchange needs a revision.

Steps

See #410 and #420 for related bigger context.

g2flyer commented 5 years ago

Potentially we might eventually share the TLCC with multiple machines (e.g., VCA) to scale in which case we might also look at RA-TLS for this ..