Comments (4)
Looking at Fabric v2 documentation, I don't see how the designated peer can be implemented using the provided primitives.
from fabric-private-chaincode.
I guess a OR('Org1.peer')
is the closest what we can get, however, this policy does not express that we only want a single specific peer and therefore any peer or Org1 can endorse.
from fabric-private-chaincode.
I guess we have two options here.
-
Just say endorsement policy is ignored for MVP and in Peer_CLI we set it to
any org
and enforce the designated peer/enclave through fpc-vscc and ERCC. We could restrict ERCC to register only a single enclave per chaincode. In fpc-vscc we invalidate every transaction from an enclave that is not registered. The documentation should mention that any endorsement policy is ignored for FPC_Chaincodes. -
Implement CCKeyImport/Export and support any form of `OR(...) endorsement policy.
from fabric-private-chaincode.
I guess a
OR('Org1.peer')
is the closest what we can get,
That would have been my take.
however, this policy does not express that we only want a single specific peer and therefore any peer or Org1 can endorse.
I don't think we have to implement it to the letter, we can further restrict it by saying only a single peer for that org will have createenclave
called for it and the clients have to make sure that they call the correct peer ...
from fabric-private-chaincode.
Related Issues (20)
- initEnclave failed in the helloword tutorial HOT 10
- Update ECDSA signature
- Add support for: (i) Proposal's Transient and (ii) Idemix HOT 1
- test.sh: peer-cli-assist command does not exist in '/project/src/github.com/hyperledger/fabric-private-chaincode/utils/fabric' HOT 2
- How to interact with FPC go simple asset tutorial chaincode from a new terminal HOT 1
- Failed to connect to 127.0.0.1 port 8080: Connection refused HOT 7
- I cannot run `make` successfully, hint "Options file not found" HOT 2
- How could I obtain the keys of the enclave in chaincode? HOT 1
- Upgrade ego to v1.2 HOT 3
- Docker commands are not found inside the development environment HOT 5
- Problem of Build Fabric Private Chaincode HOT 4
- Upgrade yq from v3.x to v4.x HOT 1
- CI, Golint Check before building PR HOT 2
- Correct steps for Option 1 in readme to contemplate alternatives
- Restructure Readme to more of a tree like approach HOT 7
- CI CD build error HOT 4
- Get error if use different chaincode with Fabric Smart Client
- Fabric image missing when running sample HOT 1
- Use caching CI builds HOT 10
- pull access denied for fpc/fpc-simple-asset-go-hw, failed to parse connections: EOF HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fabric-private-chaincode.