简体   繁体   English

Hyperledger Fabric v1.0上的隐私

[英]Privacy on Hyperledger Fabric v1.0

Can you explain some mechanisms of privacy in Hyperledger Fabric v1.0 - those already implemented and those planned to be implemented in the future? 您能否解释Hyperledger Fabric v1.0中的一些隐私机制 - 那些已经实施的以及计划在未来实施的那些机制?

I understand channels are like seperate blockchains. 我理解渠道就像是单独的区块链。 I also went through the document on https://jira.hyperledger.org/browse/FAB-1151 , where I have found two more mechanisms: one is private data, and other is encryption. 我还浏览了https://jira.hyperledger.org/browse/FAB-1151上的文档,在那里我找到了另外两种机制:一种是私有数据,另一种是加密。 Can you explain what would be the beast approach to use in the following scenario. 你能解释一下在下面的场景中使用的野兽方法吗?

Each car needs car insurance. 每辆车都需要汽车保险。 Let's say the owner of the car wants to change his insurance company. 假设汽车的所有者想要改变他的保险公司。 He signs the contract with new insurance company. 他与新保险公司签订合同。 Let's say there is also a regulator. 比方说,还有一个监管机构。 The new insurance company informs the regulator about the new contract. 新的保险公司向监管机构通报新合同。 The regulator then informs the old insurance company that the car is no longer insured there, but does not inform them about the name of the new insurance company. 然后,监管机构通知旧保险公司,该车不再在那里投保,但没有告知他们新保险公司的名称。 So we have assets that are shared in the network, but also some private data which only some participants can see. 因此,我们拥有在网络中共享的资产,但也有一些私人数据,只有一些参与者才能看到。 I am guessing this is one chain, so the use of multiple channels makes no sense here. 我猜这是一个链,所以使用多个通道在这里没有任何意义。

I do not completely grasp the concept of private data. 我并没有完全掌握私人数据的概念。 Is that data supposed to be private only for one peer / company, or can it be shared between multiple companies, but not all of them? 这些数据是否应该仅对一个同行/公司是私有的,还是可以在多个公司之间共享,但不是全部共享? Is this the way to go in the scenario? 这是在场景中的方式吗? What would be different reasons / use cases to use encryption vs. private data? 使用加密与私有数据有什么不同的原因/用例? What mechanism should be used in the described scenario? 在描述的场景中应该使用什么机制?

First of all, these two concepts of encryption and private data are not mutual exclusive, the intent is to being able to use them both. 首先, 加密私有数据这两个概念不是互斥的,目的是能够同时使用它们。

The concept behind having private data is to keep certain data keys out, to prevent them to being sent to the orderering service and to distribute them separately across the peers via gossip. 拥有私有数据的概念是保留某些数据密钥,以防止它们被发送到orderering服务,并通过八卦分别在对等体上分发它们。

Now, the encryption needed to divide private data into portions which will be encrypted according to the visibility rules, eg to allow to read and see the relevant portions of the data to only involved parties. 现在,需要加密以将私有数据划分为将根据可见性规则加密的部分,例如以允许仅向相关方读取和查看数据的相关部分。

With all that said, please note that FAB-1151 is still under development/design process and to be added post v1.0 of Hyperledger Fabrics. 尽管如此,请注意FAB-1151仍在开发/设计过程中,并在Hyperledger Fabrics v1.0之后添加。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM