hyperledger / hyperledger/fabric-private-chaincode

Chaincode enclave / tlcc binding.

Open
#14 1 comment 0 reactions 1 assignee Claimed by @g2flyer View on GitHub
Dominant language
Go
Stars
174
Forks
98
Avg merge
2d 21h
Merged PRs (30d)
1

Description

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
- [x] Design of API and high-level architecture
- [ ] Library implementation
- [ ] quick'n'dirty mock version
- [ ] secure version
- [ ] Library test-cases
- [ ] Library integration
- [ ] Session setup
- from a staging perspective, we might "leak" the key here and stuff it into the place of the currently hard-coded (global) key [note this will prevent concurrent chaincodes with the session lifetime as defined in the UMLs ...)
- [ ] Session request handling

See #410 and #420 for related bigger context.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.