In a hyperledger fabric setup, various organizations that take part in network need to execute chaincode (assuming every org has an endorser). My question is around signing of the chaincode to prevent tampering. I see any peer can create a signedCDS using (just for example)
peer chaincode package -n mycc -p github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02 -v 0 -s -S -i "AND('OrgA.admin')" ccpack.out
Now, my question is 1. How do we specify that chaincode should be signed by required number of owners, I don't see any argument where I can specify the owners? 2. How I can validate if a chaincode has been signed by owners, that is verification by looking at CDS? 3. How can we ensure if every owner has deployed the actual signed version and not tampered with chaincode?
Thanks