diff --git a/discovery/endorsement/endorsement.go b/discovery/endorsement/endorsement.go index e3149bd0391..4611655d792 100644 --- a/discovery/endorsement/endorsement.go +++ b/discovery/endorsement/endorsement.go @@ -268,6 +268,23 @@ func (ea *endorsementAnalyzer) computePrincipalSets(channelID common.ChannelID, sessionLogger.Debug("Policy for chaincode '", chaincode, "'doesn't exist") return nil, errors.New("policy not found") } + if chaincode.DisregardNamespacePolicy && len(chaincode.KeyPolicies) == 0 && len(policies) == 1 { + sessionLogger.Warnf("Client requested to disregard chaincode %s's policy, but it did not specify any "+ + "collection policies or key policies. This is probably a bug in the client side code, as the client should"+ + "either not specify DisregardNamespacePolicy, or specify at least one key policy or at least one collection policy", chaincode.Name) + return nil, errors.Errorf("requested to disregard chaincode %s's policy but key and collection policies are missing, either "+ + "disable DisregardNamespacePolicy or specify at least one key policy or at least one collection policy", chaincode.Name) + } + if chaincode.DisregardNamespacePolicy { + if len(policies) == 1 { + sessionLogger.Debugf("Client requested to disregard the namespace policy for chaincode %s,"+ + " and no collection policies are present", chaincode.Name) + continue + } + sessionLogger.Debugf("Client requested to disregard the namespace policy for chaincode %s,"+ + " however there exist %d collection policies taken into account", chaincode.Name, len(policies)-1) + policies = policies[1:] + } inquireablePoliciesForChaincodeAndCollections = append(inquireablePoliciesForChaincodeAndCollections, policies...) } diff --git a/discovery/endorsement/endorsement_test.go b/discovery/endorsement/endorsement_test.go index a9745ad7627..5fdfc14dca0 100644 --- a/discovery/endorsement/endorsement_test.go +++ b/discovery/endorsement/endorsement_test.go @@ -751,6 +751,163 @@ func TestPeersForEndorsement(t *testing.T) { peerIdentityString("p6"): {}, }, intersection) }) + + t.Run("Chaincode call with DisregardNamespacePolicy set but no key policies or collection policies present", func(t *testing.T) { + // Scenario XVI: A chaincode call with DisregardNamespacePolicy set + // Total organizations are 0, 2, 4, 6, 10, 12 + // and there is a collection specified by the client but no collection policies exist + // We expect an error because since DisregardNamespacePolicy is specified, and no collection policies are defined, + // there is not a single endorsement policy to compute. + + chanPeers := peerSet{} + for _, id := range []int{0, 2, 4, 6, 10, 12} { + peer := newPeer(id).withChaincode("cc1", "1.0") + chanPeers = append(chanPeers, peer) + } + + g.On("PeersOfChannel").Return(chanPeers.toMembers()).Once() + + mf := &metadataFetcher{} + mf.On("Metadata").Return(&chaincode.Metadata{ + Name: "cc1", + Version: "1.0", + }).Once() + + pb := principalBuilder{} + cc1policy := pb.newSet().addPrincipal(peerRole("p0")).addPrincipal(peerRole("p2")). + newSet().addPrincipal(peerRole("p6")).addPrincipal(peerRole("p10")).buildPolicy() + + pf.On("PoliciesByChaincode", "cc1").Return(cc1policy).Once() + + analyzer := NewEndorsementAnalyzer(g, pf, &principalEvaluatorMock{}, mf) + desc, err := analyzer.PeersForEndorsement(channel, &peer.ChaincodeInterest{ + Chaincodes: []*peer.ChaincodeCall{ + { + Name: "cc1", + DisregardNamespacePolicy: true, + }, + }, + }) + require.EqualError(t, err, "requested to disregard chaincode cc1's policy but key and collection policies are missing,"+ + " either disable DisregardNamespacePolicy or specify at least one key policy or at least one collection policy") + require.Nil(t, desc) + }) + + t.Run("Chaincode call with state based endorsement policy and no chaincode namespace policy", func(t *testing.T) { + // Scenario XVII: A chaincode call with a state based endorsement policy and DisregardNamespacePolicy set + // Total organizations are 0, 2, 4, 6, 10, 12 + // and the endorsement policies of the chaincode is: + // cc1: OR(AND(0, 2), AND(6, 10)) + // However the chaincode call is accompanied with a hint + // for a state based endorsement policy for both organizations 2 and 6 + // Therefore, the result should be: {2, 6} + + chanPeers := peerSet{} + for _, id := range []int{0, 2, 4, 6, 10, 12} { + peer := newPeer(id).withChaincode("cc1", "1.0") + chanPeers = append(chanPeers, peer) + } + + g.On("PeersOfChannel").Return(chanPeers.toMembers()).Once() + + mf := &metadataFetcher{} + mf.On("Metadata").Return(&chaincode.Metadata{ + Name: "cc1", + Version: "1.0", + }).Once() + + pb := principalBuilder{} + cc1policy := pb.newSet().addPrincipal(peerRole("p0")).addPrincipal(peerRole("p2")). + newSet().addPrincipal(peerRole("p6")).addPrincipal(peerRole("p10")).buildPolicy() + + pf.On("PoliciesByChaincode", "cc1").Return(cc1policy).Once() + + analyzer := NewEndorsementAnalyzer(g, pf, &principalEvaluatorMock{}, mf) + desc, err := analyzer.PeersForEndorsement(channel, &peer.ChaincodeInterest{ + Chaincodes: []*peer.ChaincodeCall{ + { + Name: "cc1", + DisregardNamespacePolicy: true, + KeyPolicies: []*common2.SignaturePolicyEnvelope{ + { + Identities: []*msp.MSPPrincipal{peerRole("p2")}, + Rule: policydsl.SignedBy(0), + }, + { + Identities: []*msp.MSPPrincipal{peerRole("p6")}, + Rule: policydsl.SignedBy(0), + }, + }, + }, + }, + }) + require.NoError(t, err) + require.NotNil(t, desc) + require.Len(t, desc.Layouts, 1) + require.Len(t, desc.Layouts[0].QuantitiesByGroup, 2) + require.Equal(t, map[string]struct{}{ + peerIdentityString("p2"): {}, + peerIdentityString("p6"): {}, + }, extractPeers(desc)) + }) + + t.Run("Chaincode call with collection endorsement policy and no namespace endorsement policy", func(t *testing.T) { + // Scenario XVIII: A chaincode call with collection endorsement policy and DisregardNamespacePolicy set + // The chaincode EP is OR(AND(0, 2), AND(6, 10)) + // The collection endorsement policy is p0 and p2. + // Additionally, the client sets DisregardNamespacePolicy which makes + // discovery only use the collection policy and not the namespace policy. + + chanPeers := peerSet{} + for _, id := range []int{0, 2, 4, 6, 10, 12} { + peer := newPeer(id).withChaincode("cc1", "1.0") + chanPeers = append(chanPeers, peer) + } + + g.On("PeersOfChannel").Return(chanPeers.toMembers()).Once() + + collectionOrgs := []*msp.MSPPrincipal{ + peerRole("p0"), + peerRole("p2"), + } + col2principals := map[string][]*msp.MSPPrincipal{ + "collection": collectionOrgs, + } + mf := &metadataFetcher{} + mf.On("Metadata").Return(&chaincode.Metadata{ + Name: "cc1", + Version: "1.0", + CollectionsConfig: buildCollectionConfig(col2principals), + }).Once() + + pb := principalBuilder{} + cc1policy := pb.newSet().addPrincipal(peerRole("p0")).addPrincipal(peerRole("p2")). + newSet().addPrincipal(peerRole("p6")).addPrincipal(peerRole("p10")).buildPolicy() + + collectionEP := pb.newSet().addPrincipal(peerRole("p0")). // p0 and p6 + addPrincipal(peerRole("p2")).buildPolicy() + + pf.On("PoliciesByChaincode", "cc1").Return([]policies.InquireablePolicy{cc1policy, collectionEP}).Once() + + analyzer := NewEndorsementAnalyzer(g, pf, &principalEvaluatorMock{}, mf) + desc, err := analyzer.PeersForEndorsement(channel, &peer.ChaincodeInterest{ + Chaincodes: []*peer.ChaincodeCall{ + { + Name: "cc1", + DisregardNamespacePolicy: true, + CollectionNames: []string{"collection"}, + }, + }, + }) + require.NoError(t, err) + require.NotNil(t, desc) + require.Len(t, desc.Layouts, 1) + require.Len(t, desc.Layouts[0].QuantitiesByGroup, 2) + require.Equal(t, map[string]struct{}{ + peerIdentityString("p0"): {}, + peerIdentityString("p2"): {}, + }, extractPeers(desc)) + }) } func TestPeersAuthorizedByCriteria(t *testing.T) { diff --git a/go.mod b/go.mod index afd382ae176..bfa925051e5 100644 --- a/go.mod +++ b/go.mod @@ -30,7 +30,7 @@ require ( github.com/hyperledger/fabric-chaincode-go v0.0.0-20201119163726-f8ef75b17719 github.com/hyperledger/fabric-config v0.1.0 github.com/hyperledger/fabric-lib-go v1.0.0 - github.com/hyperledger/fabric-protos-go v0.0.0-20210717172449-368ac8b7bc5b + github.com/hyperledger/fabric-protos-go v0.0.0-20210720123151-f0dc3e2a0871 github.com/kr/pretty v0.2.1 github.com/magiconair/properties v1.8.1 // indirect github.com/mattn/go-runewidth v0.0.4 // indirect diff --git a/go.sum b/go.sum index ef6229e518d..68a89248f7a 100644 --- a/go.sum +++ b/go.sum @@ -161,8 +161,8 @@ github.com/hyperledger/fabric-lib-go v1.0.0 h1:UL1w7c9LvHZUSkIvHTDGklxFv2kTeva1Q github.com/hyperledger/fabric-lib-go v1.0.0/go.mod h1:H362nMlunurmHwkYqR5uHL2UDWbQdbfz74n8kbCFsqc= github.com/hyperledger/fabric-protos-go v0.0.0-20190919234611-2a87503ac7c9/go.mod h1:xVYTjK4DtZRBxZ2D9aE4y6AbLaPwue2o/criQyQbVD0= github.com/hyperledger/fabric-protos-go v0.0.0-20200424173316-dd554ba3746e/go.mod h1:xVYTjK4DtZRBxZ2D9aE4y6AbLaPwue2o/criQyQbVD0= -github.com/hyperledger/fabric-protos-go v0.0.0-20210717172449-368ac8b7bc5b h1:F3UmdNp9Hl6OCw3NwmEjrkJzG08X0+Xmt3NhmPnueE8= -github.com/hyperledger/fabric-protos-go v0.0.0-20210717172449-368ac8b7bc5b/go.mod h1:xVYTjK4DtZRBxZ2D9aE4y6AbLaPwue2o/criQyQbVD0= +github.com/hyperledger/fabric-protos-go v0.0.0-20210720123151-f0dc3e2a0871 h1:d7do07Q4LaOFAEWceRwUwVDdcfx3BdLeZYyUGtbHfRk= +github.com/hyperledger/fabric-protos-go v0.0.0-20210720123151-f0dc3e2a0871/go.mod h1:xVYTjK4DtZRBxZ2D9aE4y6AbLaPwue2o/criQyQbVD0= github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= diff --git a/vendor/github.com/hyperledger/fabric-protos-go/peer/proposal_response.pb.go b/vendor/github.com/hyperledger/fabric-protos-go/peer/proposal_response.pb.go index a50783d6316..5d4d3b49cd6 100644 --- a/vendor/github.com/hyperledger/fabric-protos-go/peer/proposal_response.pb.go +++ b/vendor/github.com/hyperledger/fabric-protos-go/peer/proposal_response.pb.go @@ -373,10 +373,12 @@ type ChaincodeCall struct { NoPublicWrites bool `protobuf:"varint,4,opt,name=no_public_writes,json=noPublicWrites,proto3" json:"no_public_writes,omitempty"` // The set of signature policies associated with states in the write-set // that have state-based endorsement policies. - KeyPolicies []*common.SignaturePolicyEnvelope `protobuf:"bytes,5,rep,name=key_policies,json=keyPolicies,proto3" json:"key_policies,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + KeyPolicies []*common.SignaturePolicyEnvelope `protobuf:"bytes,5,rep,name=key_policies,json=keyPolicies,proto3" json:"key_policies,omitempty"` + // Indicates we wish to ignore the namespace endorsement policy + DisregardNamespacePolicy bool `protobuf:"varint,6,opt,name=disregard_namespace_policy,json=disregardNamespacePolicy,proto3" json:"disregard_namespace_policy,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ChaincodeCall) Reset() { *m = ChaincodeCall{} } @@ -443,6 +445,13 @@ func (m *ChaincodeCall) GetKeyPolicies() []*common.SignaturePolicyEnvelope { return nil } +func (m *ChaincodeCall) GetDisregardNamespacePolicy() bool { + if m != nil { + return m.DisregardNamespacePolicy + } + return false +} + func init() { proto.RegisterType((*ProposalResponse)(nil), "protos.ProposalResponse") proto.RegisterType((*Response)(nil), "protos.Response") @@ -455,41 +464,42 @@ func init() { func init() { proto.RegisterFile("peer/proposal_response.proto", fileDescriptor_2ed51030656d961a) } var fileDescriptor_2ed51030656d961a = []byte{ - // 563 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0xdd, 0x6a, 0xdb, 0x4c, - 0x10, 0xc5, 0x4e, 0xe2, 0xd8, 0x63, 0xe7, 0xfb, 0xdc, 0x2d, 0x69, 0x55, 0x13, 0x88, 0x51, 0x6f, - 0x54, 0x48, 0x24, 0x48, 0x31, 0xf4, 0xda, 0x21, 0xf4, 0xe7, 0xa2, 0x98, 0x6d, 0x69, 0xa1, 0x14, - 0xc4, 0x5a, 0x9e, 0x48, 0x8b, 0xa5, 0x5d, 0xb1, 0xbb, 0x76, 0xeb, 0x77, 0xe9, 0xf3, 0xf5, 0x39, - 0x8a, 0x56, 0x5a, 0xd9, 0x69, 0x7a, 0x65, 0xcf, 0xd9, 0x33, 0x67, 0x66, 0xce, 0x68, 0xe0, 0xa2, - 0x44, 0x54, 0x51, 0xa9, 0x64, 0x29, 0x35, 0xcb, 0x63, 0x85, 0xba, 0x94, 0x42, 0x63, 0x58, 0x2a, - 0x69, 0x24, 0xe9, 0xd9, 0x1f, 0x3d, 0xb9, 0x4c, 0xa5, 0x4c, 0x73, 0x8c, 0x6c, 0xb8, 0xdc, 0xdc, - 0x47, 0x86, 0x17, 0xa8, 0x0d, 0x2b, 0xca, 0x9a, 0x38, 0x39, 0x4f, 0x64, 0x51, 0x48, 0x11, 0x95, - 0x32, 0xe7, 0x09, 0x47, 0x5d, 0xc3, 0xfe, 0xaf, 0x2e, 0x8c, 0x17, 0x8d, 0x36, 0x6d, 0xa4, 0x89, - 0x07, 0xa7, 0x5b, 0x54, 0x9a, 0x4b, 0xe1, 0x75, 0xa6, 0x9d, 0xe0, 0x84, 0xba, 0x90, 0xbc, 0x81, - 0x41, 0x2b, 0xec, 0x75, 0xa7, 0x9d, 0x60, 0x78, 0x33, 0x09, 0xeb, 0xd2, 0xa1, 0x2b, 0x1d, 0x7e, - 0x76, 0x0c, 0xba, 0x27, 0x93, 0x2b, 0xe8, 0xbb, 0xd6, 0xbd, 0x63, 0x9b, 0x38, 0xae, 0x33, 0x74, - 0xe8, 0xea, 0xd2, 0x96, 0x51, 0x75, 0x50, 0xb2, 0x5d, 0x2e, 0xd9, 0xca, 0x3b, 0x99, 0x76, 0x82, - 0x11, 0x75, 0x21, 0x99, 0xc1, 0x10, 0xc5, 0x4a, 0x2a, 0x8d, 0x05, 0x0a, 0xe3, 0xf5, 0xac, 0xd4, - 0x53, 0x27, 0x75, 0xb7, 0x7f, 0xa2, 0x87, 0x3c, 0x32, 0x83, 0x3e, 0x17, 0x06, 0x15, 0x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, 0xe3, 0x52, 0xf1, 0x2d, 0x33, 0x18, 0x2b, 0x64, 0x2b, 0x6d, 0x6d, - 0xee, 0xd3, 0xff, 0x84, 0x5c, 0xd4, 0x30, 0xad, 0x50, 0xc7, 0xdc, 0x2c, 0x73, 0x9e, 0xc4, 0x3f, - 0x14, 0x37, 0xa8, 0xed, 0x37, 0x58, 0x33, 0x2d, 0xfc, 0xd5, 0xa2, 0x64, 0x0e, 0xa3, 0x35, 0xee, - 0x62, 0x77, 0x24, 0xde, 0x89, 0x9d, 0xee, 0x32, 0xac, 0x8f, 0x27, 0xfc, 0xe4, 0x9c, 0x59, 0x54, - 0x84, 0xdd, 0x9d, 0xd8, 0x62, 0x2e, 0x4b, 0xa4, 0xc3, 0x35, 0xee, 0x16, 0x4d, 0xce, 0x7c, 0x0d, - 0xbe, 0x54, 0x69, 0x98, 0xed, 0x4a, 0x54, 0x39, 0xae, 0x52, 0x54, 0xe1, 0x3d, 0x5b, 0x2a, 0x9e, - 0x38, 0x8f, 0xaa, 0x83, 0x9e, 0xff, 0x63, 0xff, 0xc9, 0x9a, 0xa5, 0xf8, 0xed, 0x2a, 0xe5, 0x26, - 0xdb, 0x2c, 0xab, 0x92, 0xd1, 0x81, 0x46, 0x54, 0x6b, 0x5c, 0xd7, 0x1a, 0xd7, 0xa9, 0x8c, 0x2a, - 0x99, 0x65, 0x7d, 0xff, 0xaf, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0xb1, 0xd1, 0xa0, 0x61, 0x26, - 0x04, 0x00, 0x00, + // 591 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x54, 0xdd, 0x6b, 0xdb, 0x3e, + 0x14, 0x25, 0xe9, 0x57, 0x72, 0x93, 0xfe, 0x7e, 0x99, 0x46, 0x37, 0x2f, 0x14, 0x1a, 0xbc, 0x97, + 0x0c, 0x5a, 0x1b, 0x3a, 0x0a, 0x7b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b3, 0x64, 0x04, 0x00, 0x00, } diff --git a/vendor/modules.txt b/vendor/modules.txt index d38eef62256..8a8fe3d5271 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -195,7 +195,7 @@ github.com/hyperledger/fabric-config/protolator/protoext/peerext # github.com/hyperledger/fabric-lib-go v1.0.0 ## explicit github.com/hyperledger/fabric-lib-go/healthz -# github.com/hyperledger/fabric-protos-go v0.0.0-20210717172449-368ac8b7bc5b +# github.com/hyperledger/fabric-protos-go v0.0.0-20210720123151-f0dc3e2a0871 ## explicit github.com/hyperledger/fabric-protos-go/common github.com/hyperledger/fabric-protos-go/discovery