Skip to content

Commit

Permalink
[FAB-6751] Remove encshim interface
Browse files Browse the repository at this point in the history
encshim exposed a confusing interface to permit chaincode-level encryption
since it wrapped GetState and PutState but it didn't wrap GetStateByRange
(which had to be handled directly with EncrypterEntity). This change set fixes
that, removing encshim and amending the example to show how encryption can be
performed only by using the entitites interface.

Change-Id: Ice24f9655baccd7d574b2878f689edfb0af86f67
Signed-off-by: Alessandro Sorniotti <ale.linux@sopit.net>
  • Loading branch information
ale-linux committed Oct 28, 2017
1 parent d558e44 commit 5d091c4
Show file tree
Hide file tree
Showing 6 changed files with 190 additions and 336 deletions.
81 changes: 0 additions & 81 deletions core/chaincode/shim/ext/encshim/encshim.go

This file was deleted.

131 changes: 0 additions & 131 deletions core/chaincode/shim/ext/encshim/encshim_test.go

This file was deleted.

38 changes: 0 additions & 38 deletions core/chaincode/shim/ext/encshim/interfaces.go

This file was deleted.

Loading

0 comments on commit 5d091c4

Please sign in to comment.