hyperledger / hyperledger/fabric-private-chaincode
TLCC should validate endorsement policies
Open
- Dominant language
- Go
- Stars
- 174
- Forks
- 98
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 1
Description
Right now we stop once we verify that an endorsement has a matching certificate grounded in any root-ca. We should make sure that the certificate is grounded in the root of the claimed mspid (organization) and then based on that evaluate the endorsement policy.
BTW: The underlying MSP validation/management logic would eventually also be necessary for ecc for client authentication.
PS: we should probably also through an error in tlcc_enclave/ledger.cpp parse_block if we get config updates after block 0 to be on safe side instead of just ignoring it?
Contributor guide
Assessment
This issue has not been assessed yet.