hyperledger / hyperledger/fabric-private-chaincode

TLCC should validate endorsement policies

Open
#125 0 comments 0 reactions 0 assignees View on GitHub
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

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.