hyperledger / fabric-test

A collection of utilities used to test the core Hyperledger Fabric projects
Apache License 2.0
151 stars 130 forks source link

Privacy leakage in mapkeys.go #511

Closed pdchecker closed 1 month ago

pdchecker commented 1 month ago

The "Invoke" function in chaincodes/mapkeys/go/mapkeys.go gets the private data directly via function parameters, which will be included in the transaction and all peers can access.

denyeart commented 1 month ago

Thank you, it's ok though, this is a legacy test that is not run and will likely get retired. The integration tests in core fabric repository and fabric-samples repository demonstrate the correct usage patterns. We direct people to those tests instead.