Channel Policy
Nicholas Leonardi
Hey guys, Trying to change the channel writers policy but nothing seems to work. Channel: &ChannelDefaults Policies: # Who may invoke the 'Deliver' API Readers: Type: ImplicitMeta Rule: "ANY Readers" # Who may invoke the 'Broadcast' API Writers: Type: Signature Rule: "OR('Org1MSP.member')" # By default, who may modify elements at this config level Admins: Type: ImplicitMeta Rule: "ANY Admins" I need the writers policy to be one organization Org1. I've tried: "OR('Org1MSP.admin')" -> got unexpected status: FORBIDDEN -- signature set did not satisfy policy: permission denied Thanks in advance
|
|
Re: core.yaml
Joe Alewine <joe.alewine@...>
Marina,
core.yaml is the file that governs the configuration of a single peer, which should be owned by a single organization, so wanting a sample core.yaml with multiple organizations doesn't make sense to me.
Regards,
Joe Alewine
IBM Blockchain, Raleigh
rocket chat: joe-alewine
slack: joe.alewine
----- Original message -----
|
|
Faisal
This is the 2nd time the peer has crashed due to this error. Nework is on HLF 1.4.2 and the logs are attached in the file. Have anyone faced the same issue before or any ideas on resolving it? I have seen that this is common issue in GO as there are many questions posted on stackoverflow and issues opened on github related to it. Thank you.
|
|
Re: core.yaml
Howin Ho
Hi Marina, Howin.
|
|
core.yaml
Marina Wanis <marinamaged1996@...>
Hi,
I was trying to setup the peer configuration in core.yaml, does anyone have a code for core.yaml with multiple organizations? I wanted to take a look at a sample of the code in core.yaml with multiple organizations and each organization have at least one peer.
Thank you, Marina
Sent from Mail for Windows 10
|
|
Re: [Hyperledger TSC] [Hyperledger Technical WG China] [i18n] Status report on translation of Fabric docs
Yang Cheng
Hi, Sara! I agree with you, Transifex has good features like manage updates, but it's really inefficient, we have tried transifex for months and amlost finished Fabric 2.0 alpha translation, by the end we changed back to Github. Let's work togethor and find a better way for translating. Keep connecting and if you have any idea please share with us. And there is a i18n(https://chat.hyperledger.org/channel/i18n) channel in hyperledger chat, welcome to join the channel and discuss with us. -- 程阳 Yang Cheng great_cy_ang@...
At 2020-01-20 17:36:14, "Sara Garifullina" <garifullina@...> wrote:
|
|
Re: [Hyperledger Technical WG China] [i18n] Status report on translation of Fabric docs
Yang Cheng
Hi, Brain, Thanks for your replay, for now our translating work is mainly for fabric project and Chinese language, and just a dozen translators, so that the workflow is good for us now. We are also looking for a way adopting different projects and manage the updates conveniently, because we also want to translate the docs of other projects like Indy. We have learned the workflow of kubernetes, they also use github for translating jobs, they made scripts to generate github issues automatically, and developed a slack robot to manage the issues. We want to use the same workflow, but Fabric is different with kubernetes, the docs are separated from code repo and showed in a website they developed, not readthedocs. So we have to find other ways and tools, maybe we also have to develop some tools for this job. We will not use Transifex because it is really inefficient for us, translate with text editor and manage the translations with github is more efficient, we will keeping using github for translating until find a better way. Now, what we want is : 1. Show the Chinese translations in the official docs page, so that more developers would see the translations, and may attract more translators. 2. Create a new repo in github named “fabric-i18n” or “hyperledger-i18n”, so we can put the docs of different projects into the same repo, like sdk, fabric-ca, Indy projects not only Fabric. About in-app localization, we won’t do it right now, it is much complex we should change many codes in Fabric, and actually most developers are used to English output, so the translation is not necessary now.
Yours, Cheng Yang -- 程阳 Yang Cheng great_cy_ang@...
At 2020-01-17 12:07:40, "Brian Behlendorf" <bbehlendorf@...> wrote:
This has gone without a reply since it was posted so I thought I would add one,
|
|
Re: Fabric token status and roadmap
#fabric
Brian Behlendorf <bbehlendorf@...>
Chris and I just
had a conversation about this on Twitter.
Brian
On 1/21/20 6:40 AM, Pancham Singh
wrote:
What is plan for Fabric token which was introduced in 2.0 alpha and later removed?
-- Brian Behlendorf Executive Director, Hyperledger bbehlendorf@... Twitter: @brianbehlendorf
|
|
How to correctly access current identity public key cert in node.js SDK
#fabric-sdk-node
Mike Harding
Hi, I wish to access the public key certificate of the current user prior to invoking a chaincode transaction in my client application. At present to access the identity I do the following using the Node SDK: const adminIdentity = gateway.getCurrentIdentity();From here I'd assume a function e.g. id.getCertificate() or id.getPublicKey() to be available but this is not the case based on the documentation. From exploring the object I see I can do something like id._publicKey._key.pubKeyHex. But this doesn't seem right to me? Any clarification would be much appreciated, Thanks, Mike
|
|
Fabric token status and roadmap
#fabric
Pancham Singh <pksingh8878@...>
What is plan for Fabric token which was introduced in 2.0 alpha and later removed?
I could not find mention of it in fabric development roadmap Will appreciate information on what are the next steps on Fabric Token and how can I contribute. Thanks
|
|
Re: Editing/deleting world state in blockchain.
David Enyeart
See prior related answer: I know that blockchain is tamper-proof and that World state stores the most recent state of a transaction. But the World state ledger can be deleted/edited. So, what if instead of tampering the blockchain ledger we directly tamper the world state. And also, is the world state visible to everyone on the network? If yes, then anyone can know the amount of money that is in my wallet, how is this not a security concern.
|
|
Fw: Next Hyperledger Fabric Application Developer Community call - this Thursday, Jan 23rd @ 4pm UTC (4pm UK) - 11am ET, 8am PT
Paul O'Mahoney <mahoney@...>
dear Fabric Application
Developer,
the next Fabric Application Developer community call is scheduled for this Thursday Jan 23rd @ 4pm UTC (4pm UK) - 11am ET (-5 hrs), 8am PT(-8 hrs) - see time zones. It lasts approx 30-60 mins FYI. The agenda is here -> https://wiki.hyperledger.org/display/fabric/Meeting+Agendas%3A+Fabric+Application+Developer+Community+Call This community call is held bi-weekly via Zoom webconference and is aimed at : -
helping the worldwide Hyperledger Fabric Application Developer community
grow (eg. developing applications, smart contracts, developing application
clients, using the SDKs, tutorials/demos etc - NodeJS/TypeScript,
Java, Go etc etc) If
you wish to share content on a call, just let me know via email direct
or DM me on Rocketchat (ID: mahoney1) and I'll put an item on the agenda.
Provide the following: The Zoom webconference ID is https://zoom.us/my/hyperledger.community More information can be found on the community page -> https://wiki.hyperledger.org/display/fabric/Fabric+Application+Developer+Community+Calls You can get calendar invites (eg iCal) here many thanks for your time - feel free to forward this email if you think it is of interest to a colleague. Paul O'Mahony Community Lead - Hyperledger Fabric Developer Community RocketChat: mahoney1 mahoney@... Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
|
|
Re: Which languages are supported for chaincode? Contradictory docs
Hi Trevor, At present fabric supports GO, JAVA and all JavaScript frameworks (typescript, JavaScript and node.js) as a chaincode language. Following SDKs are officially supported JAVA and Node.js. GO and Python SDKs are also supported unofficially. Fabric platform was built in such way that it can take any general purpose programming language as it is chaincode programming languages. Issue with general purpose programming languages are the Non-deterministic nature. With help of fabric architecture (execute - order - validate) we can avoid them. Thanks and Regards Parthiban Selvaraj
On Mon, 20 Jan, 2020, 10:58 AM Trevor Lee Oakley, <trevor@...> wrote:
|
|
Which languages are supported for chaincode? Contradictory docs
Trevor Lee Oakley <trevor@...>
What languages are supported for chaincode and also SDK implementations?
I saw the online docs state just Java and Nodejs are supported. The pdf states -
Trevor
|
|
Editing/deleting world state in blockchain.
qwert limframe
I know that blockchain is tamper-proof and that World state stores the most recent state of a transaction. But the World state ledger can be deleted/edited. So, what if instead of tampering the blockchain ledger we directly tamper the world state. And also, is the world state visible to everyone on the network? If yes, then anyone can know the amount of money that is in my wallet, how is this not a security concern.
|
|
Re: Consenter error after docker images update
Jay Guo
it seems that requests are submitted too quickly, before `allarewelcome` channel completes its start phase. Could you try inject a sleep before failed operation and try again? - J
On Sun, Jan 19, 2020 at 1:22 AM Niklas Krohn <niklas.krohn1@...> wrote:
|
|
Re: Consenter error after docker images update
Niklas Krohn <niklas.krohn1@...>
If I switch orderer mode back to Solo instead of Kafka, the same error appear again. So, I suspect this has nothing to do with kafka-configuration, but maybe something between the ports between peer0.org1, peer1.org1 and the orderer node? Network overview after switching back to Solo, and re-starting the whole network: Peer0.org1 log: peer1.org1 log: Orderer log: lør. 18. jan. 2020 kl. 18:19 skrev Niklas Krohn via Lists.Hyperledger.Org <niklas.krohn1=gmail.com@...>:
|
|
Consenter error after docker images update
niklas.krohn1@...
Hi all, So to describe the situation: This is just the basic starterFiles-network based on BYFN. I set up a simple script deploying the network, and it all worked fine 7 days ago. However, in the meantime I updated all docker images on the computer and now when I run the bootstrap script, it fails halfway in it. I read about the issue here - https://hyperledger-fabric.readthedocs.io/en/release-1.1/ordering-service-faq.html, but it seems like kafka-nodes and zookeeper-nodes are fine? Issue seems to be between orderer and peers? I suspect there might be two possible explanations: - I updated the docker images today, then there is something that needs to be some adjustments to orderer config? I believe this maybe due to the fact that everything worked fine 7 days ago before I updated all images. - There are some mixups between the ports that the docker containers use? The error messages are easy to locate in orderer and peer logs below, in addition to last line in bootstrap-script. However, I do struggle to find the way to a solution. I obviously already tried to teardown the network, restart computer and recreated new crypto material and re-start the network, with same error message. Appreciate all hints in the right direction. Thank you! Network-overview: Bootstrap script with error message - the script stops at last line, when it tries to install chaincode on peer1, after successfully doing it on peer0: Orderer log: Peer0.org1 log: Peer1.org1 logs: Kafka node log: Zookeeper node log: Ports overview: orderer info from docker-compose.yml: peer0 info from docker-compose.yml: peer1 info from docker-compose.yml:
|
|
Re: Error when creating channel using peer command
Chetan Gadgilwar
Try this link https://stackoverflow.com/questions/45726536/peer-channel-creation-fails-in-hyperledger-fabric I faced the same problem but regenerated everything from scrach and it started working again.
On Fri, Jan 17, 2020 at 7:56 PM Marina Wanis <marinamaged1996@...> wrote:
--
Chetan Gadgilwar +91-99750-48421
|
|
Re: ACL - Read Only
David Enyeart
I'm going to have to rescind my response. Yacov's and Simon's comment in the Jira is correct. The Jira stories were opened in 2017 with a pre-fine-grained-ACL mindset. With the fine-grained ACL support (since v1.2), you can now simply exclude the org from the coarse /Channel/Writers policy so that they can't submit transactions to ordering service: Unfortunately it still has to be managed in chaincode. The requirement for channel readers to be able to call read-only chaincode functions has been open for a long time, see https://jira.hyperledger.org/browse/FAB-6959 and its duplicates. I think it is time to prioritize this on the roadmap. What do others think? Dave Enyeart From: "Nicholas Leonardi via Lists.Hyperledger.Org" <nlzanutim=yahoo.com@...> To: Fabric <fabric@...> Cc: fabric@... Date: 01/17/2020 08:36 AM Subject: [EXTERNAL] [Hyperledger Fabric] ACL - Read Only Sent by: fabric@... Hey, I'm trying to achieve an organization to be read-only (query-only) in a channel. Is that possible? I've been researching on different ACLs but since a "peer chaincode query" is a proposal because it needs to verify the authenticity of the data with other peers, I haven't been able to map out how to do it. I know it's possible in chaincode level but I needed it to be channel application-level. If anyone has any idea please let me know. Thanks in advance. Regards, Nick
|
|