Techniques to prevent collusion using simultaneous key distribution
Through blockchain and dedicated encirclement technology, users can transparently control data access and use, solving data management transparency and security issues, and achieving fair distribution and safe processing of data.
Patent Information
- Application Number
- CN201980077589.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-12-21
- Filing Date
- 2019-05-02
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2039-05-02
AI Technical Summary
Users lack transparency when managing sensitive data and have no control over how the data is used, and existing protocols require online approvals, automatically enforcing policies that can lead to data security vulnerabilities and fairness issues.
Through blockchain technology and dedicated enclaves, users can create and store information usage policies, ensure transparency in how data is accessed and used, and process data securely in an untrusted environment to ensure fair distribution of data.
It achieves user control over data access and guarantees fairness, prevents data leakage and tampering, and ensures the security, transparency and fair distribution of data among multiple parties.
Smart Images

Figure CN113169866B_ABST
Abstract
Description
[0001] Cross-reference to related applications
[0002] This international application claims priority to U.S. Patent Application No. 62 / 784,194, filed on December 21, 2018, and is a continuation-in-part of International Patent Application No. PCT / US2018 / 062847, filed on November 28, 2018, the disclosures of which are incorporated herein by reference in their entirety for all purposes. Background Art
[0003] Modern web services have raised increasing public concern about the lack of transparency in how they manage sensitive user data. Beyond legally mandated privacy policies, users have little visibility, let alone control, into how their data is used or shared with third parties. Not surprisingly (and unbeknownst to users), their sensitive data proliferates, is misused, and sometimes leaked to attackers due to security breaches. While this user data can often provide users with functionality that would not otherwise be available, once the data is no longer owned by the user, those users often have no control over how the data is used.
[0004] Although there are protocols for controlling the use of user data, these protocols require the user to be online (or trust one or more online third parties to execute the protocol on the user's behalf). Offline users cannot manually approve each computational step, so the system must automatically enforce policies on how the input is used. When the automatic enforcement of policies exceeds the capabilities of a separate trusted execution environment (TEE), this may expose the data to attacks because the policy itself cannot protect the input and output. For example, enemy host software (controlled by the host of the TEE) may roll back the permanent storage device across the restart of the program hosted by the TEE and tamper with network communications. In this instance, the enemy host may repeatedly evaluate the approval function (also known as a rewind-and-fork attack) for different subsets of the user data set and infer information about individual records, which violates the user's desire to only display the aggregate function for the user data set. In addition, the host may also only deliver output to a colluding subset of the intended recipient, which hinders the fair distribution of data.
[0005] Embodiments of the invention address these and other problems individually and collectively. Summary of the invention
[0006] Embodiments of the present invention relate to technologies for enabling users to control which entities are allowed to access which data of the user and how the data can be used, while ensuring fairness between parties sharing data. In some embodiments, users can create one or more information use policies, which may include conditions under which data can be used. The storage of these policies retains each user modification and the actual use of user information (e.g., about blockchain). Then, user information (e.g., information collected by client devices) is subject to the information use policy before distributing the information. To achieve this, a data user can submit a request for information to a service provider described herein. In some cases, the service provider can forward the request to a host server, which can be a third-party entity or other untrusted entity. The host server can determine whether the request is an authorized request and respond appropriately by compiling the current policy based on several transactions stored on the blockchain.
[0007] If it is determined that the request is authorized, the host server processes the request within a private enclave, thereby processing the data without the data being available to other applications running on the host server. During the processing of the request, the host server decrypts the requested data using a cryptographic key stored in the private enclave. The host server can then perform several calculations on the requested data, thereby generating an output value. The output value can then be encrypted multiple times for multiple receiving entities and written to a shared ledger. In some embodiments, the output value can be encrypted for each recipient using a public cryptographic key associated with the recipient. Access to the encrypted output is then provided to each of the recipients simultaneously.
[0008] One embodiment of the present disclosure relates to a method, comprising: receiving a distribution instruction for private information related to a user of a client device, the distribution instruction including indications of multiple data users; encrypting the private information using a first cryptographic key; providing each of the multiple data users with access to the encrypted private information; receiving an indication from each of the multiple data users that the data user has received the access to the encrypted private information; and upon confirming that each of the multiple data users has been provided with access to the encrypted private information, issuing a second cryptographic key to the multiple data users, the second cryptographic key being capable of being used to access the private information.
[0009] Another embodiment of the present disclosure relates to a computing system, comprising: a processor; and a memory, comprising instructions, which, when executed together with the processor, cause the computing system to perform at least the following operations: receive a distribution instruction for output data related to a user of a client device, the distribution instruction including indications of multiple data users; encrypt the output data using a first cryptographic key; provide each of the multiple data users with access to the encrypted output data; receive an indication from each of the multiple data users that the data user has received the access to the encrypted output data; and after confirming that each of the multiple data users has been provided with access to the encrypted output data, issue a second cryptographic key to the multiple data users, the second cryptographic key being capable of being used to access the output data.
[0010] These and other embodiments of the invention are described in further detail below and in the accompanying appendix. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 Depicting example systems for implementing at least some embodiments of the present disclosure;
[0012] Figure 2 depicts an example system architecture that may be implemented to enable controllable access to private data in accordance with embodiments of the present disclosure;
[0013] Figure 3 depicts a swim lane diagram illustrating a process by which access to data may be provided in response to a request according to at least some embodiments;
[0014] Figure 4 depicts an example blockchain record that may be implemented according to embodiments of the present disclosure;
[0015] Figure 5 depicts a flow diagram illustrating a technique for determining whether a request is an authorized request using a blockchain according to at least some embodiments;
[0016] Figure 6 depicts a flow chart illustrating a process for providing requested information to multiple data users in a fair manner according to at least some embodiments;
[0017] Figure 7 depicts examples of various checks that may be performed by the system to ensure that blocks in a ledger are valid according to embodiments of the present disclosure;
[0018] Figure 8 depicts an illustrative example of a technique for using enclaves and a shared ledger to accomplish policy-compliant computations in accordance with at least some embodiments; and
[0019] Fig. 9 Illustrative examples of techniques for distributing data to multiple data consumers while ensuring fairness in the data distribution are depicted in accordance with at least some embodiments. DETAILED DESCRIPTION
[0020] In the following description, various embodiments will be described. For the purpose of explanation, specific configurations and details are set forth in order to provide a thorough understanding of the embodiments. However, it should also be understood by those skilled in the art that the embodiments may be practiced without the specific details. In addition, well-known features may be omitted or simplified in order to avoid obscuring the described embodiments.
[0021] Before discussing the details of some embodiments of the present invention, a description of some terms may aid in understanding the various embodiments.
[0022] A "blockchain" may include a distributed database. A blockchain may be used to maintain a growing list of records called blocks. A blockchain may be used to maintain a record of transactions or events between parties in a way that is difficult to forge. Each block in a blockchain may include several records and a hash of the previous block in the blockchain. If a record in a previous block changes, then the hash in any following block may be corrupted. As a result, in order to forge a given record, a hacker must forge that record and all subsequent records so that the hash ends up being the same. This is extremely difficult in practice. In addition, a blockchain may be distributed to a large number of entities through a distributed network. Any changes to the blockchain may be verified by comparing the blockchain to multiple individual records.
[0023] A "blockchain ledger" is a series of records maintained according to the blockchain protocol. A complete copy of the blockchain ledger may include every transaction performed by the system. Each entry (e.g., block) in the ledger may contain a hash of the previous entry. This has the effect of creating a series of blocks from the genesis block to the current block. Each block is guaranteed to follow the previous block in chronological order, because the hash of the previous block would not be known otherwise. It is also computationally impractical to modify each block once it has been in the series of blocks for a period of time, because each block after the block must also be regenerated. These properties make the blockchain ledger relatively secure and tamper-proof.
[0024] A "client device" may be a device operated by a user. Examples of client devices may include mobile phones, smart phones, personal digital assistants (PDAs), notebook computers, desktop computers, server computers, vehicles such as cars, thin client devices, tablet PCs, etc. In addition, the client device may be any type of wearable technology device, such as a watch, headphones, glasses, etc. The client device may include one or more processors capable of processing user input. The client device may also include one or more input sensors for receiving user input. As is known in the art, there are a variety of input sensors capable of detecting user input, such as accelerometers, cameras, microphones, etc. The user input obtained by the input sensor may come from various data input types, including but not limited to audio data, visual data, or biometric data. The client device may include any electronic device that can be operated by a user, and the electronic device may also provide remote communication capabilities with a network. Examples of remote communication capabilities include using a mobile phone (wireless) network, a wireless data network (e.g., 3G, 4G or similar networks), Wi-Fi, Wi-Max, or any other communication medium that can provide access to a network such as the Internet or a private network.
[0025] A "computation" can be any string with a set of attributes. A computation can be defined by at least a function, policy, and identity of one or more input providers (users) and one or more output recipients (data users). Each computation can be identified using a unique identification number (e.g., a 64-bit number). Each computation can be recorded in a ledger by a specification for the computation. In some embodiments, the specification for each computation can be associated with a public key that is used to encrypt input data used in the computation. The specification for the computation can also specify a public key for encrypting output data to be provided to data users. The function associated with the computation can indicate one or more mathematical operations to be performed on the input data in order to obtain the desired output data.
[0026] A "computing device" may be any suitable device or software module configured to process data. In some embodiments, a computing device may include communication capabilities, such as using a mobile phone (wireless) network, a wireless data network (e.g., 3G, 4G, or similar network), Wi-Fi, Wi-Max, or any other communication medium that may provide access to a network such as the Internet, an overlay network, or the like. Examples of computing devices include mobile phones (e.g., cellular phones), PDAs, tablet computers, netbooks, notebook computers, personal music players, handheld dedicated readers, server computers, and the like. A computing device may include any suitable hardware and software for performing such functions, and may also include multiple devices or components (e.g., when a device accesses a network by binding to another device - i.e., using the other device as a modem - two electronic devices combined together may be considered a single computing device).
[0027] A "cryptographic key" may include a piece of information used in a cryptographic algorithm to transform input data into another representation. A cryptographic algorithm may be an encryption algorithm that transforms original data into an alternative representation, or a decryption algorithm that transforms encrypted information back into the original data. Examples of cryptographic algorithms may include Triple Data Encryption Standard (TDES), Data Encryption Standard (DES), Advanced Encryption Standard (AES), etc.
[0028] A "cryptographic key pair" may include a pair of linked cryptographic keys. For example, a key pair may include a public key and a corresponding private key. In a cryptographic key pair, a first cryptographic key (e.g., a public key) may be used to encrypt a message, and a second cryptographic key (e.g., a private key) may be used to decrypt the encrypted message. In addition, the public key may be able to verify a digital signature created with the corresponding private key. The public key may be distributed throughout the network so that messages signed with the corresponding private key can be verified. The public key and the private key may be in any suitable format, including a format based on RSA or elliptic curve cryptography (ECC). In some embodiments, an asymmetric key pair algorithm may be used to generate a key pair.
[0029] A "decentralized network" may include a network where a single computing device or software module cannot control all network processing. A "centralized network" may include a network where a single computing device or node (or a relatively small number of computing devices or nodes) controls network processing. Between the two, a decentralized network may be less likely to fail unexpectedly because it relies on many independent components that are unlikely to fail simultaneously. In addition, a decentralized system is more expensive to attack and destroy or manipulate than a centralized network because a decentralized network lacks sensitive central points that can be attacked at much lower costs than the economies of scale of the surrounding systems. In addition, it may be significantly more difficult for participants in a decentralized network to take actions that benefit themselves at the expense of other participants.
[0030] An "enclave" or "enclave program" is an isolated memory area containing both code and data that is protected by a trusted execution environment platform (i.e., only the processor manufacturer is trusted). An enclave on a host computer is configured so that code and data within the enclave cannot be accessed by applications outside the enclave. In some cases, the host computer protects the enclave from hardware attacks by encrypting and integrity protecting the cache lines of the enclave before writing them to memory (e.g., DRAM). An enclave may also provide a "sealed storage device" in which data can be stored in memory and encrypted using a secret key known only to the processor manufacturer. Data "sealed" in this manner can be stored in the host computer's memory, outside the enclave. The sealed data can then only be decrypted and processed inside the enclave.
[0031] The term "fair" refers to the concept that data users each have the same opportunity to receive data. For the purposes of this disclosure, a fair system is one in which all eligible data users either receive or none receive output data. In other words, for a system to be considered fair, if any data user obtains output data, then all eligible honest data users must obtain the same output data. Ensuring fairness is important because the communication of output data described herein is controlled by untrusted parties who may be in collusion with data users.
[0032] A "node" or "network node" may include a connection point in a communication network. A network node may be a physical electronic device that is capable of creating, receiving, or transmitting data (e.g., a server). In some embodiments, a network node may be a computing device within a record-keeping network (e.g., a blockchain network). A network node is capable of creating data packets (e.g., data payloads), transferring data packets, receiving data packets, verifying data packets, accessing central records, and / or performing any other suitable function. Different types of network nodes are capable of performing different groups of functions in a record-keeping network. In some embodiments, a network node may be associated with and / or operated by, for example, an online service provider, a resource provider of a content provider, a certificate issuing center, a financial institution (e.g., a bank), a merchant, a transaction processing network, or any other suitable entity.
[0033] A "record" may include evidence of one or more interactions. A digital record may be an electronic document of an interaction. A record may include a record identifier and record information. For example, the record information may include information describing one or more interactions and / or information associated with the interaction (e.g., a digital signature). The record information may also include multiple data packets, each of which includes different data describing different interactions. A record identifier may be a number, title, or other data value used to identify a record. A record identifier may be non-descriptive in that it may not provide any meaningful information about the information included in the record. Examples of records include medical records, academic records, transaction records, credential issuance records, and the like. In some embodiments, records may be stored in blocks of a blockchain. In these embodiments, a single block may include a single record or a predetermined number of records, and a blockchain may be a series of records organized into blocks.
[0034] A "server computer" may include a powerful computer or cluster of computers. For example, a server computer may be a large mainframe, a cluster of small computers, or a group of servers that work as a unit. In one example, a server computer may be a database server coupled to a network server. The server computer may be coupled to a database and may include any hardware, software, other logic, or combination of the foregoing for servicing requests from one or more client computers. The server computer may include one or more computing devices and may use any of a variety of computing structures, arrangements, and compilations to service requests from one or more client computers.
[0035] A "signature" may include an electronic signature of a message or some data. A digital signature may be a digital data value, an alphanumeric data value, or any other type of data including a graphical representation. A digital signature may be a unique data value generated from a message and a private key using an encryption algorithm. In some embodiments, a verification algorithm using a public key may be used to verify the signature.
[0036] "Software Guard Extensions" (SGX) is a set of central processing unit (CPU) instruction codes that allow user-level code to allocate dedicated memory areas, called enclaves, which are protected from programs running at higher privilege levels. SGX is designed to be suitable for implementing secure remote computing, secure web browsing, and digital rights management (DRM).
[0037] The term "verification" and its derivatives may include the process of using information to determine whether the underlying subject matter is valid under a given set of circumstances. Verification may include any information comparison to ensure that certain data or information is correct, valid, accurate, legal and / or reputable. In some instances of verification described in the present disclosure, an electronic record may be signed using a private key and may be verified using a public key. For example, the verification process may involve independently generating a value to be verified (e.g., a hash value from the provided data). The verification process may also involve performing cryptographic operations on the information to be verified (which may involve using a public key for an entity associated with the information to be verified) to produce a plain text version of the information to be verified. The verification process may then involve comparing the plain text version of the information to be verified with the independently generated value to determine a match. If the two values match, it is likely that the information to be verified was signed using the entity's private key. This verifies whether the information is likely to have originated from the entity that claims to have provided the information.
[0038] Details of some embodiments of the invention will now be described in greater detail.
[0039] Figure 1 Describes an example system for implementing at least some embodiments of the present disclosure. Figure 1 In the example, a client device 102 operated by a user 104 can communicate with a host server 106, which collects user information from the client device 102. In this example, the collected information can be encrypted by the client device 102 or the host server 106 (e.g., using a public encryption key associated with the services described herein) and can be stored in a database 108. In addition, the user 104 can have the ability to change the information usage policy through a decentralized network 110 (e.g., a blockchain network). A data user 112 can request one or more of the collected information stored in the database 108 from the host server 106. In some embodiments, the data user 112 can additionally access an output database 114.
[0040] In some embodiments, client device 102 may be any suitable electronic device that is operated by user 104 and that is capable of collecting and transmitting information. For example, client device 102 may be a mobile phone, a smart phone, a personal digital assistant (PDA), a notebook computer, a desktop computer, a fitness tracker, or any other suitable electronic device. In some embodiments, the collected information may include information about user 104. For example, client device 102 may be configured to collect information about activities performed by user 104 or biometric information related to user 104.
[0041] Host server 106 may be any electronic device capable of performing at least a portion of the functionality described herein. Figure 1 106 is depicted as being separate from the decentralized network 110, but it should be noted that in some embodiments, the host server 106 can be a network node of the decentralized network 110. The host server 106 can include a secure and dedicated memory area (i.e., a dedicated enclave 116) allocated through SGX. The dedicated enclave 116 can store one or more cryptographic keys. For example, private keys associated with the services described herein can be stored within the dedicated enclave 116. It should be noted that because the processing described herein is performed on the dedicated enclave 116, and because the data in the dedicated enclave is protected from even higher-level privileged applications, the processing can be performed on untrusted devices even if the processing involves sensitive data. It should be noted that when the host server 106 is an untrusted entity (e.g., a network node of the decentralized network 110), the information can be encrypted by the client device 102 before being provided to the host server 106, thereby preventing the host server 106 from accessing the data.
[0042] The decentralized network 110 can be any suitable combination of multiple electronic devices configured to store data in a decentralized manner. In some embodiments, the decentralized network can be a blockchain network that stores data (e.g., policy data) within a blockchain. In at least some of these embodiments, a blockchain ledger of the blockchain network can store transactions related to policy changes submitted by several users. For example, a user 104 can add or revoke various information usage policies, where each policy addition / revocation can constitute a transaction. In this example, the current state of any given information usage policy associated with a particular user and / or data user 112 can be assessed by identifying the latest transaction associated with the information usage policy in the blockchain ledger.
[0043] Each data consumer 112 may be any electronic device configured to use or consume data collected by a client device 102. In some embodiments, a data consumer 112 may be a computing device operated by a third-party entity (i.e., an entity unrelated to a host server 106 and / or client device 102). Each data consumer 112 may maintain an account associated with a user 104 and / or client device 102 (which may be separate from accounts maintained by other data consumers 112).
[0044] By way of illustration of at least some of the interactions that can be performed using the systems described herein, consider the following exemplary scenario in which data is collected and provided to a data user 112 by a client device 102. At step 1 of the illustrative scenario, a user 104 can add or revoke various information usage policies in a blockchain network (decentralized network 110). For example, a user can indicate that one or more third-party entities (i.e., data users 112) are allowed to use his or her information in a particular manner or are authorized to receive a specified subset of his or her information. This indication will then constitute a transaction written to a block. The block is then added to a blockchain ledger within a chain of similar blocks. This process is described in more detail below.
[0045] In this illustrative scenario, client device 102 can collect information about user 104, and can transmit the information to host server at step 2. Information can be collected in several ways. In some embodiments, user 104 can provide information to user device 102. For example, the user can input text or user selection into client device 102. In some embodiments, client device 104 can include one or more input sensors that collect information about user 104. In some embodiments, information can include tracking information related to activities performed by the user. For example, information can include the number of steps a user walks in a day or an indication of a website that the user has visited. In some embodiments, embodiments of the present disclosure can only involve one type or category of information. In some embodiments, embodiments of the present disclosure can involve several different types or categories of data. Information provided to host server 106 can be encrypted and stored in a database maintained by the host server 106.
[0046] After the host server 106 has received the information from the client device 102, the host server may receive a request to provide the information from the user to one or more data users 112 at step 3. In some embodiments, the request may be received from one or more data users. The request may include a certain function 118 to be performed on the information. In some embodiments, the request may also include a public key associated with each of the data users 112. Upon receiving the request, the request may be processed within a secure execution environment (e.g., a private enclave 116) that is protected from other applications running on the host server 106. In performing this processing, the private enclave may receive the information as encrypted input 120. At step 4, the processing performed by the private enclave 116 may involve obtaining policy information from the blockchain network 110. Based on the policy information, the private enclave may determine (according to a particular function) whether each of the data users 112 is entitled to receive the processed information that has been requested. It should be noted that step 4 may be performed by private enclave 116, or may be performed by an application on host server 106, external to private enclave 116 (eg, prior to initiating processing on the private enclave).
[0047] If the private enclave 116 determines that each data user 112 is indeed entitled to receive the requested information, the private enclave 116 may then decrypt the encrypted input 120, perform one or more functions 118 indicated in the request on the information, and generate one or more encrypted outputs at step 5. The private enclave 116 may then report the executed functions 118 to the blockchain record to record the transaction of the functions 118. If the private enclave 116 determines that the data user 112 is not entitled to receive the requested information, the private enclave may respond to the request with a denial, raise an error, provide the encrypted result only to the entitled data user 112, or simply take no action. In some embodiments, the data user's attempt to access the information may be reported to the blockchain network 110 for record.
[0048] At step 6, data user 112 may be provided with access to the information. It should be noted that this may be accomplished in a variety of ways. The encrypted output 122 may be provided directly to data user 112, or may be stored in a database of encrypted outputs (e.g., output database 114), and a reference (e.g., address or link) to the encrypted output 122 stored in the database may be provided to data user 112. In some embodiments, the encrypted output 122 may be encrypted using a public key associated with each data user 112. This enables each data user 112 to decrypt the encrypted output and access information from the encrypted output using a private key associated with the data user 112. In some embodiments, a dedicated enclave may maintain a set of cryptographic key pairs for generating the encrypted output 122. In these embodiments, the encrypted output 122 may be encrypted using a cryptographic key selected (e.g., randomly) from the set of cryptographic key pairs. The corresponding key from the selected cryptographic key pair may then be provided to data user 112 for decrypting the encrypted output 122. In some embodiments, the cryptographic key used to encrypt encrypted output 122 may be a symmetric cryptographic key (e.g., where the same cryptographic key is used to encrypt and decrypt data). In those embodiments, the symmetric cryptographic key may be provided to data users 112. In this manner, each data user may be able to access requested information while making the data inaccessible to entities maintaining the data (which may be untrusted parties).
[0049] In some embodiments, the output database 114 may be a shared ledger, such as an append-only ledger. When data is shared with multiple data users 112, data may be written to the output database 114 multiple times (once for each data user 112) using different cryptographic keys (e.g., a public key for each data user 112). In some embodiments, after providing each data user with a means to access the encrypted output (e.g., by linking, referencing, directly providing the encrypted output, etc.), the system may receive a signed delivery receipt from the data user 112. The respective data user may sign each signed delivery receipt using a private cryptographic key associated with the data user 112.
[0050] In some embodiments, upon receipt of a complete set of delivery receipts, access to the output data may be granted to all data users 112 simultaneously. For example, the link provided to each data user 112 by which the output data may be accessed may be inactive when provided to the data user 112. In this instance, upon determining that all delivery receipts have been obtained, each link to the output data may be activated (i.e., enabled to gain access). In some embodiments, an aggregate encoding of the signatures from each data user 112 may be published to an output database 114 or a ledger on the blockchain network 110.
[0051] In some embodiments, the encrypted output data and / or decryption key may be provided to a dedicated enclave operating on a computing device operated by each data user 112. In at least some of these embodiments, upon receiving a release signal from dedicated enclave 116, the dedicated enclave on each respective data user 112 may release the output data or decryption key to the data users of the dedicated enclave. In these embodiments, the output data provided to each of the data users may be encrypted using the same cryptographic key. A second (e.g., decryption) key may then be provided to the dedicated enclave so that upon receiving an indication that the decryption key should be released, the second key may be provided to the data user 112.
[0052] Figure 2 Depicts an example system architecture that may be implemented to enable controllable access to private data in accordance with an embodiment of the present disclosure. Figure 2 In some embodiments, host server 202 may communicate with a plurality of client devices 204 and data users 206 via a connection to network 208. Network 208 may include some combination of interconnected electronic devices capable of routing communications between electronic devices. Network 208 may include or provide an ingress / egress to blockchain network 210 (or other suitable decentralized network). In some embodiments, host server 202 may be Figure 1 An example host server 106 is shown.
[0053] In at least some embodiments, host server 202 may include at least one memory 212 and one or more processing units (or processors) 214. Processor 214 may be implemented in hardware, computer executable instructions, firmware, or a combination thereof, as appropriate. Computer executable instructions or firmware embodiments of processor 214 may include computer executable or machine executable instructions written in any suitable programming language for performing the various functions described. In some embodiments, memory 212 may include a secure execution environment created using Software Guard Extensions (SGX), hereinafter referred to as a dedicated enclave 216.
[0054] The memory 212 may store program instructions that may be loaded and executed on the processor 214, as well as data generated during the execution of these programs. Depending on the configuration and type of the host server 202, the memory 212 may be volatile (e.g., random access memory (RAM)) and / or non-volatile (e.g., read-only memory (ROM), flash memory, etc.). The host server 202 may also include additional storage devices 218, such as removable storage devices or non-removable storage devices, including but not limited to magnetic storage devices, optical disks, and / or tape storage devices. The disk drive and its associated computer-readable media may provide non-volatile storage of computer-readable instructions, data structures, program modules, and other data for the host server 202. In some embodiments, the memory 212 may include multiple different types of memory, such as static random access memory (SRAM), dynamic random access memory (DRAM), or ROM.
[0055] Turning to more detail of the contents of memory 212, memory 212 may include an operating system and one or more applications or services for implementing the features disclosed herein, including at least a module for retrieving information usage data and determining whether to provide requested information (policy interpretation module 220) and a module for processing received requests (request processing module 222). Memory 212 may also include input and / or output data 224 that provides data to be provided to host server 202 and / or data to be distributed to one or more data consumers 206. Additionally, host server 202 may include any number of modules for implementing additional functionality, such as the functionality described later herein. Within private enclave 216, host server 202 may include functionality to perform one or more requested computations on data (computation module 226) and one or more cryptographic keys 228.
[0056] In some embodiments, the policy interpretation module 220 may be configured with the processor 214 to determine whether a particular request for information should be authorized. To this end, the policy interpretation module 220 may retrieve information related to the information usage policy stored on the blockchain network 210. This may involve identifying several transactions related to the information usage policy to identify the current state of the policy. For example, the policy interpretation module 220 may identify functions for policy addition, policy revocation, and execution recorded with respect to the information usage policy. In some embodiments, the policy interpretation module 220 may determine the current state of the information usage policy with respect to the specific type of information in question and / or with respect to the specific data user 206 that has requested the information. The policy interpretation module 220 may then determine whether the request should be authorized based on whether the request conflicts with the current state of the information usage policy. In response, the policy interpretation module 220 may provide an indication of whether the request is authorized. It should be noted that although the policy interpretation module 220 is depicted as running outside the dedicated enclave 216, in some embodiments, the policy interpretation module 220 may run inside the dedicated enclave 216.
[0057] In some embodiments, request processing module 222 may be configured with processor 214 to receive a request from a data user, initiate computation module 226 on private enclave 216, and provide the resulting encrypted output (or a link to the encrypted output) to the requesting data user 206. Request processing module 222 may provide private enclave 216 with one or more pieces of data received in the request. For example, request processing module 222 may provide private enclave 216 with a public cryptographic key (e.g., associated with data user 206), the type of information requested, an indication of a function to be performed on the requested information, or any other suitable data (e.g., as a parameter in a method call). In some embodiments, request processing module 222 may be configured to initiate policy interpretation module 220, and may be further configured to initiate computation module 226 upon receiving an indication from policy interpretation module 220 that the request is authorized. In some embodiments, request processing module 222 may be configured to store the encrypted output to a database record or transmit the encrypted output to data user 206 from which the request was received.
[0058] In some embodiments, the computing module 226 can be configured with the processor 214 to process requests for information in a manner that prevents the host server 202 (or other applications running on the host server 202) from gaining access to the processed information. As noted elsewhere, the private enclave 216 can be a secure execution environment implemented on a portion of the memory 212 that is separated from the rest of the memory 212 so that applications (even those with higher privilege levels) cannot access information processed on the private enclave 216. After determining (e.g., by the policy interpretation module 220) that the request is authorized, the computing module 226 can be configured to decrypt the requested information stored on the host server 202. In some embodiments, the computing module 226 can be configured to perform a certain requested function on the requested information. For example, the submitted request can be for an average or mean associated with a plurality of data points. In this instance, the computing module 226 can decrypt the values associated with the plurality of data points and average the resulting values. The computing module 226 can further be configured to encrypt any resulting output values. In some embodiments, the output value may be encrypted using a public key associated with the data consumer 206 from which the request was received. In some embodiments, a cryptographic key may be selected from a set of available cryptographic keys 228 maintained on a dedicated enclave. The output value may then be encrypted using the selected cryptographic key. The corresponding cryptographic key (or the same cryptographic key in the case of a symmetric key) may then be provided to the data consumer 206.
[0059] The host server 202 may also include a communication interface 230 that enables the host server 202 to communicate with a stored database, another computing device or server, one or more remote devices, other application servers, and / or any other suitable electronic device. In some embodiments, the communication interface 228 may enable the host server 202 to communicate with other electronic devices on a network (e.g., a private network). The host server 202 may also include input / output (I / O) devices and / or ports 232, such as for enabling connections to a keyboard, mouse, pen, voice input device, touch input device, display, speaker, printer, etc.
[0060] Client device 204 may be any electronic device capable of communicating with other electronic devices. For example, client device 204 may be a mobile phone capable of wirelessly communicating with host server 202 and / or data user 206 (e.g., via network 208). In some embodiments, client device 204 may be Figure 1. The client device 204 may have a number of input sensors 234 installed thereon that are capable of collecting information about the user, one or more activities in which the user is engaged, the client device 204, the environment in which the client device 204 is located, or any other suitable data. In some embodiments, the client device 204 may have a number of software applications installed thereon. One or more of the software applications installed on the client device 204 may enable the client device 204 to transmit information collected by the client device 204 to the host server 202 for distribution to the data user 206. In some embodiments, the client device 204 may also enable the user to modify the information usage policy maintained on the blockchain network 210.
[0061] In some embodiments, data user 206 may be Figure 1 206, which may be configured to request and consume data. Data user 206 may be an entity that consumes data to provide a service or product. Data user 206 may maintain several accounts, at least one of which may be an account associated with a user and / or client device 204. In some embodiments, data user 206 may provide backend support for a mobile application installed on client device 204. In some embodiments, at least some of the information usage policies stored on blockchain network 210 may be associated with a particular data user 206. In some embodiments, data user 206 may store a cryptographic key 236 that may be used to access encrypted output data. In some cases, cryptographic key 236 may be a private key associated with data user 206. In some cases, cryptographic key 236 may be a cryptographic key provided by dedicated enclave 216 (e.g., one of cryptographic keys 228).
[0062] Figure 3 A swim lane diagram depicts a process by which access to data may be provided in response to a request, according to at least some embodiments. Figure 3 In the example embodiment of the present invention, a client device 102 can communicate with a blockchain network 110 (e.g., an example of a decentralized network) and / or a host server 106 having a dedicated enclave 116. The host server 106 can in turn communicate with a number of data users 112. The host server 106 and the data users 112 can access a data storage device 114 (e.g., a database). In some embodiments, the data storage device 114 can be included in the memory of the host server 106. In some embodiments, the host server 106 can maintain an account associated with the client device 102 and / or an operator of the client device 102.
[0063] In some embodiments, the process may start at 302 when a user of the client device 102 sets one or more information usage policies within the blockchain network 110. In some embodiments, setting one or more information usage policies may be implemented by a series of transactions that add, revoke, or otherwise modify the information usage policy. At 304, various transactions submitted by the user may be added to the blockchain ledger at 304. For example, for a certain information sharing policy p, the user may provide authorization to distribute the information in question to entity AZ for any purpose. The user may then revoke authorization to use the information to create targeted advertisements. The user may also revoke authorization for entities D and P to use their data. In this instance, each addition / revocation may consist of a separate transaction that is written to the blockchain ledger distributed across the blockchain network 110. After assessing the current state of the information sharing policy p, it may be determined from the above transaction that the user has authorized the distribution of its information to entities AC, EO, and QZ for any purpose other than creating targeted advertisements (which may be identified by code). Therefore, any request for information about an information sharing policy p that meets these requirements should be authorized.
[0064] At 306, the client device 102 can transmit information to the host server 106. The information transmitted by the client device 102 to the host server 106 can be encrypted. In some embodiments, the host server 106 can operate on behalf of an untrusted entity. In these embodiments, the client device 102 can encrypt information using a public key associated with the service described herein. In this way, the host server 106 cannot access the information provided to it. In some embodiments, the host server 106 can be a trusted entity. In at least some of these embodiments, the information received by the host server 106 from the client device 102 can be encrypted by the host server 106. The encrypted received information can be stored on the host server 106 or in a location accessible to the host server 106. It should be noted that although step 306 is depicted in the figure as occurring after steps 302 and 304, step 306 can occur at any time relative to these steps. For example, step 306 can occur before, after, or simultaneously with step 302.
[0065] After the client device 102 provides the information to the host server 106, the data user 112 may request the provided information at step 308. In some embodiments, the data user 112 may transmit the request directly to the host server 106. In some embodiments, the data user 112 may submit the request to a service provider disclosed herein, and the service may route the request to the host server 106. The request may include several details related to the request. In some embodiments, the request may include a cryptographic key (e.g., a public key associated with the data user 112) for encrypting the requested data. In some embodiments, the request may include one or more functions to be performed on the requested data. In some embodiments, the request may include an address or location where the requested data is to be placed, and / or a communication channel to be used to provide the requested data.
[0066] Upon receiving the request for data, the host server 106 may determine whether the request for data is an authorized request. To do this, the host server 106 may retrieve a blockchain ledger from the blockchain network 110 associated with the information usage policy or otherwise access the blockchain network. After retrieving the blockchain ledger, the host server 106 may determine the current state of the information policy associated with the requested data at 312. This may involve identifying each of the recorded transactions associated with the requested information within the blockchain ledger and assessing which information uses are authorized based on those transactions. In this case, the host server 106 may identify the types of information uses that have been authorized by the user. The host server 106 may then compare the requested information use with the types of information uses that the user has authorized to determine whether the request is authorized.
[0067] After determining that the request is an authorized request, the host server 106 may comply with the request by accessing the requested information, decrypting the information (within the dedicated enclave), performing any relevant functions or calculations on the decrypted information, and re-encrypting the output information using the cryptographic key. It should be noted that the output information may be encrypted using an encryption key that is different from the key used to encrypt the information at step 302. In some embodiments, the host server 106 may store the encrypted output data on the data storage device 114, as depicted at 314. In some embodiments, the encrypted output data may be provided directly to the data user 112 (or to a service provider for forwarding to the data user 112).
[0068] In embodiments where the encrypted output is stored in the data storage device 114, the host server 106 may provide the data user 112 with a cryptographic key that may be used to access the encrypted output stored on the data storage device 114 at 316. It should be noted that the cryptographic key may be provided by a private enclave within the host server 106 such that the cryptographic key is not accessible to other applications running on the host server 106. Once the data user 112 receives the cryptographic key, the data user 112 may access the encrypted output in the data storage device 114 at 318 and may decrypt the encrypted output using the cryptographic key at 320.
[0069] Figure 4 Depicted is an example blockchain record that may be implemented in accordance with embodiments of the present disclosure. Figure 4 4, a blockchain record 402 (also referred to as a blockchain ledger) may include a series of records of interactions distributed across a decentralized network. As depicted, the record may include a blockchain in which a number of transactions related to various policies are processed in blocks 404 and then distributed to a number of nodes of the decentralized network as part of the blockchain record 402. Specifically, the blockchain record 402 depicts a technique by which a record of information usage policies may be stored, modified, and otherwise updated.
[0070] As described above, several blocks 404 may be appended to a genesis block 406. Although a genesis block 406 may be generated for a blockchain record 402, in some embodiments, the contents of the genesis block may be ignored. In other embodiments, a genesis block 406 may include an indication of an initial state of one or more information usage policies. In some embodiments, a genesis block 406 may be generated by a decentralized network node on behalf of a provider of the services described herein. In some embodiments, separate genesis blocks 406 and / or blockchain records 402 may be generated for different types or categories of information usage policies. In some embodiments, a separate genesis block 406 and / or blockchain record 402 may be generated for each account.
[0071] Since the user requests policy updates through computing device 408, a transaction may be generated for each request. Computing device 408 may be a network node of a blockchain network. Information related to the transaction may be added to block 404. Each block 404 may include a header 410 and transaction data 412. Header 410 may include a hash of the previous block in blockchain record 402 and a nonce value and various other information to be used to verify block 404. Each block 404 may store transaction data 412 for a predetermined number (N) of transactions.
[0072] In some embodiments, transaction data 412 included in block 404 may include payload data 414 and digital signature 416. Payload data 414 may include a policy identifier 418 indicating a particular policy to be updated, and transaction data 420 indicating a modification or other transaction to be recorded with respect to the policy. Payload data 412 may also include any other suitable information. For example, in some embodiments, policy data 412 may include a public key associated with a data user with respect to policy data 412. In some embodiments, computing device 408 may sign transaction data 412 using a cryptographic key associated with computing device 408 or a cryptographic key associated with a data owner (e.g., a user), thereby generating digital signature 416.
[0073] Each block 404 of the blockchain can be independently verified by independently generating a hash of the previous block using a given temporary value and by verifying the next block. In addition, each transaction data 412 can be verified by verifying a digital signature. Blocks 404 can be searched for transaction data 412 associated with a specific information usage policy type, a specific user, a specific data user, or based on any other suitable factors. It should be noted that the transactions recorded in the blockchain record 402 may include transactions conducted by entities other than users. For example, whenever a request to access specific information is received, the blockchain record 402 may record an attempt to access the information. Therefore, the information usage policy may include access restrictions because the policy may limit the number of times a specific entity can access information within a certain time period.
[0074] Figure 5 Depicted is a flow diagram illustrating a technique for using a blockchain to determine whether a request is an authorized request according to at least some embodiments. In some embodiments, Figure 5 The process 500 depicted in FIG. 5 may be performed by a host server, such as a Figure 1 The host server 106 is depicted in FIG.
[0075] In at least some embodiments, process 500 may begin when a request for user data is received from a data user at 502. In some embodiments, the request may be a request for data collected by a client device operated by a user.
[0076] In some embodiments, the host server may receive a current blockchain state from a blockchain network node at 504. The depicted blockchain state depicts a number of blocks 504(A), where each block includes 25 transactions (depicted as smaller boxes 504(B)). At the current blockchain state, the blockchain recorder or ledger may have recorded a number of transactions related to the received request (indicated as filled boxes 504(c) within the blocks).
[0077] At 506, the host server may verify whether the user has set an information usage policy related to the request and whether the received current blockchain state is authentic. In some embodiments, even if the user has not set an information usage policy related to a particular data user, there may be a default data policy that covers the request. In some embodiments, the system may require the user to create a relevant policy for the user data before receiving a request for the user data. In some embodiments, verifying whether the received current blockchain state is authentic may involve contacting other host servers on the network and comparing the received current blockchain state with the current blockchain state stored by those other host servers. In some embodiments, verifying whether the received current blockchain state is authentic may involve checking a digital signature and / or hash value within the received current blockchain state.
[0078] After determining that the user has not set a relevant information usage policy (and in the case where a default policy is not available), or after determining that the authenticity of the received current blockchain state cannot be verified, process 500 may involve aborting the request at 508. In some embodiments, the host server may return a notification indicating that the request cannot be completed. In some embodiments, the host server may simply raise an error, which may be handled by the data consumer through an error handler.
[0079] After verifying that the user has set an information usage policy related to the request and that the received current blockchain state is authentic, process 500 may involve identifying and compiling a number of transaction records related to the received request. In some embodiments, each transaction within the blockchain record related to the request may be identified. For example, the blockchain record may be queried for transaction records related to a particular data user, user, function, time period, or any other factor related to the request. At 510, each identified transaction record may be compiled into a set of related transaction records.
[0080] After the transaction records associated with the received request have been compiled, process 500 may involve generating a current policy state at 512. This may involve parsing each transaction record in the set of related transaction records to determine which policies have been added, which policies have been revoked, and which information has been provided to which data users. In some embodiments, this may also involve determining whether there are any restrictions on the use of data included in the policy and the extent to which those restrictions are met. For example, an information usage policy may indicate that a particular data user may only request a particular piece of user data indicated in a request five times per day. In this instance, the system may identify the number of transaction records from the current date that the data user has requested this particular piece of user data. In this instance, if the number of transaction records from the current date indicating successful requests for data exceeds five, the current policy state may reflect that the data user is unable to access this particular piece of user data.
[0081] Process 500 may then involve determining at 514 whether the received request is an authorized request. In some embodiments, this may involve determining whether the received request complies with the generated current policy state. In some embodiments, if the requested information is indicated as available to the data user, the request may be determined to comply with the generated current policy state. In some embodiments, if the requested information is not indicated as unavailable to the data user, the request may be determined to comply with the generated current policy state. If the request is determined to be an authorized request, the process may continue to 516 and the request may be processed. This step is described in more detail elsewhere. If the request is not determined to be an authorized request, the request may be aborted at 508.
[0082] Figure 6 A flow chart depicting a process for providing requested information to multiple data users in a fair manner according to at least some embodiments. Figure 6 The process 600 depicted in FIG. 600 may be performed by a host server, such as a Figure 1 . In some embodiments, process 600 may be performed by an enclave hosted by a computing device (e.g., host server 106), wherein an enclave is an isolated memory area protected by a trusted execution environment platform that is separate from other memory of the computing device. In these embodiments, the output data is not available to other applications running on the computing device outside the enclave. In some embodiments, the computing device may be operated by a data user of a plurality of data users. Each of the plurality of data users may be an untrusted entity.
[0083] In some embodiments, process 600 may begin when a distribution instruction for output data is received at 602. In some embodiments, multiple data consumers may be identified according to a specification for a computation for generating output data, the specification being retrieved from a public ledger (e.g., a blockchain ledger).
[0084] At 604, process 600 may involve encrypting the output data using a first cryptographic key. In some embodiments, the output data may be encrypted using a symmetric cryptographic scheme. In other words, the output data may be encrypted and decrypted using the same cryptographic key. In these embodiments, the second cryptographic key provided to the data user may be the same as the first cryptographic key used to encrypt the output data. In some embodiments, the output data may be encrypted using an asymmetric cryptographic scheme. In other words, the cryptographic key used to encrypt the data may be different from the cryptographic key used to decrypt the output data.
[0085] At 606, process 600 may involve providing access to the encrypted output data to a plurality of data users. In some embodiments, the encrypted output data is written to a storage unit, and each of the plurality of data users can access the encrypted output data at the storage unit. In some embodiments, the encrypted output data is transmitted to each of the plurality of data users. In at least some embodiments, the encrypted output may be further encrypted using a public key associated with the data user. For example, each of the plurality of data users may be provided access to the encrypted output data, which is further encrypted using its corresponding public key.
[0086] At 608, process 600 may involve confirming that the encrypted output data has been received by each of the plurality of data users. This may involve receiving, from each of the plurality of data users, an indication that the data user has received access to the encrypted output data. In some embodiments, the indication that the data user has received access to the encrypted output data may be a signed delivery receipt from the data user, the delivery receipt having been signed using a private key associated with the data user. In some embodiments, process 600 may also involve generating an aggregate encoding of each of the indications of received access to the encrypted output data. For example, the enclave may aggregate the signed receipts received from each data user and may publish the aggregation to the ledger.
[0087] In some embodiments, process 600 may further involve confirming that each of the plurality of data users has not been provided access to the encrypted output data. In some embodiments, upon confirming this, process 600 may further involve writing an entry to the ledger indicating that the plurality of data users have been provided access to the encrypted output data.
[0088] At 610, process 600 may involve transmitting a signal to one or more enclaves hosted by respective data users. In some embodiments, if an indication that access to the encrypted output data has been received is not received from all of the plurality of data users within a timeout window, then the signal is not sent to any of the enclaves (and the second cryptographic key is not released to any of the plurality of data users). In other words, the signal cannot be sent unless a signed receipt is received from all of the data users within the timeout window. If not, process 600 may be aborted and restarted. Alternatively, the process may restart from 606 described above.
[0089] At 612, process 600 may involve causing one or more enclaves to release a second cryptographic key to their respective data consumers. It should be noted that each of the first cryptographic key and / or the second cryptographic key (which may be the same or different keys) may be stored in a memory, external to the enclave, to perform the computation. To this end, the cryptographic keys may be "sealed," or in other words, encrypted using a separate cryptographic key known only to the processor. At 614, process 600 may involve the data consumer decrypting the encrypted output data using the provided second cryptographic key.
[0090] A more detailed description of some embodiments may be described. The description is in the context of the above embodiments. In this example, a data user may submit a request to compute a piece of sensitive data. In some embodiments, the data user may sign this request (hereinafter referred to as message 0) using a private key associated with the data user. Message 0 may be transmitted to a node of a distributed network, where the message may be processed by the node as described below.
[0091] More specifically, Message 0 may include the following data elements:
[0092] msg0 = call, p, input and signature PK_数据_使用者 (call|p|summary(input)), where "p" is a policy, "input" is input data, and "call" is a command to invoke a computational procedure in a receiving node. In a more specific example, if a data consumer's goal is to obtain from a node the total number of steps taken by one of the data consumer's users in a week, "input" may be the number of steps taken by the user on a single day in a week (e.g., 3000). The user may have a smart device (e.g., a smart watch) that tracks the number of steps taken by the user, and the data consumer may be a company that sells smart watches. The policy may be that a data consumer can only receive the total number of steps taken by a user in a given time period, and not any other data associated with the user's activities.
[0093] Upon receiving message 0, the node may call a secure enclave as described above to perform a calculation (after determining that the data user should be granted the data based on the data's policy), providing message 0 and a hash of the latest block (h) as arguments. The node may also receive a portion of the blockchain (described above), up to the latest block (h). In some embodiments, the node or enclave may identify and retrieve the policy associated with request (p). After completing the calculation, the enclave may generate message 1, which may include a summary of the stored data. It should be noted that message 1 may be encrypted and / or signed. In this scenario, the summary of the stored data may include a calculated value from the stored original data. It should be noted that some policies may allow data users to access certain summaries, while other policies prevent the same data user from accessing the underlying original data.
[0094] More specifically, Message 1 may include the following data elements: record, p, temporary value, input, output, and signature 包围区 (record|p|temporary|digest(input)|digest(output)|h), where "p", "h", and "input" are described above. "Record" can be a command to record information to the blockchain, and "output" can be the output of a computation performed by a node or secure enclave. Following the above example, in this example, "output" can be the total number of steps taken by the user in a week. For example, "output" can be 22538 steps.
[0095] After creating Message 1, the enclave may record its creation within the blockchain (to record the attempt of the data user to access the data). To record Message 1 to the blockchain, Message 1 may be transmitted to each node in the blockchain network. In the blockchain network, a mining program or node in the blockchain network may propose a block containing Message 1. Once Message 1 has been accepted on the blockchain (with a negligible probability of reversal), the enclave may reveal the key that encrypted the output.
[0096] It should be noted that in some embodiments, the mining program performs some checks before the block can be accepted on the blockchain. For example, in some embodiments, the node enclave may contact v other voter enclaves to collect v votes on the hash validity of the latest block. In this example, each voter in the v voter enclaves responds to the node with a message 2 (which includes the voting decision). The message 2 may or may not be signed. The response to each received message 2 may be recorded to determine that at least a certain threshold of (c) voters agree on the validity of the generated block. The generated block (block h') that c or more voters agree is valid is then appended to the blockchain. In some embodiments, before inferring that block h' is valid, the node enclave first checks whether h' is a predetermined number of blocks (e.g., 6 blocks) ahead of the recorded block (e.g., the above-mentioned "h" in message 1). It should be noted that once a block has reached a predetermined depth (e.g., reached n blocks), the block can be considered to have a negligible probability of reversal.
[0097] Depending on node "i", the data elements in the exemplary message 2 may include the following: msg_2i = signature 节点_i (p|temporaryvalue|h_i|decision), where “decision” is the vote of node i, and h_i is the hash of the most recent block determined by node i.
[0098] In an alternative approach, a system that may include data producers may designate an entity to act as a timestamp server that signs requests for the latest converged block header. For example, a data producer broadcasts a hash of a block whose block height is some threshold number less than the longest chain seen (the hash of the block may be h' above). Similar to above, in this approach, a node enclave may check to see if h' has preceded the recorded block by a threshold number of blocks.
[0099] After the mining program writes block h' to the blockchain, and after the node enclave determines that h' is ahead of the record block by a threshold number of blocks, the node enclave can release the requested data to the data user. To do this, the node enclave can generate a message 3 including a cryptographic key (e.g., an output key) that can be used to decrypt the requested data (e.g., where the requested data is stored in an accessible database entry in encrypted form). Message 3 can then be transmitted to the data user. In some embodiments, message 3 can be encrypted using a public key associated with the data user. The data user can then access the data using the provided cryptographic key. The data user can then decrypt the encrypted calculated value (e.g., 22538 steps) using its private key, which corresponds to the public key used to encrypt the computer value.
[0100] An example of message 3 may look like this:
[0101] msg_3=enc 公钥_数据_使用者 (output_key), where "output_key" is a key that can be provided to a data user to decrypt a calculation result such as the above-mentioned "output".
[0102] As described above, systems according to embodiments may be configured to use various consensus algorithms to address validity challenges associated with one or more blocks. For example, the system may employ a voting consensus model (where each node is able to "vote" for blocks it deems valid), or the system may employ a proof-of-work (PoW) model (where nodes compete to "mine" blocks by performing a large number of computations). In some embodiments, the system may employ a combination of voting and PoW protocols. It should be noted that in some embodiments, a block may need to be ahead of a record block by a predetermined number of blocks in order to be considered valid. For example, when retrieving policy data, the system may ensure that the block including the latest policy transaction is at least 6 blocks ahead of the record block before retrieving the policy data or providing the requested data.
[0103] Figure 7 Depicted are examples of various checks that can be performed by a system to ensure that blocks in a ledger (i.e., a blockchain) are valid according to embodiments of the present disclosure. As described above, a consensus algorithm can be used to verify the authenticity of a distributed blockchain platform and is the process of establishing agreement in a network of mutually untrusted participants. While several consensus algorithms are available (e.g., Nakamoto Consensus), additional checks may be required for the disclosed system to prevent concurrency issues. For example, the disclosed system can be configured to ensure that writes of consecutive blocks to the blockchain do not overlap.
[0104] about Figure 7 , consider scenarios 702, 704, and 705. In scenario 702, h1 can be the hash of the latest block in the blockchain when the computation enclave performs the requested computation for a particular interaction (e.g., computing the number of steps a user has taken in a week). h1' can be the hash of the block of nodes in the blockchain network that agree that the computation and / or interaction should be recorded. h2 can be the hash of the block at the start of the requested computation for the second interaction in the same computation enclave, and h2' can be the hash of the block that includes the second interaction (after the nodes agree on the block). Scenario 702 shows that each interaction processed by the computation enclave can be performed sequentially according to the order of the requested computations.
[0105] On the other hand, scenarios 704 and 706 depict scenarios where it may be found inappropriate to write a block to the blockchain. For example, in 704 and 706, h1 may be the hash of the latest block in the blockchain when the computation enclave performs the requested computation for a particular interaction (e.g., calculating the number of steps a user has taken in a week). h1' may be the hash of the block of nodes in the blockchain network that agree that the computation and / or interaction should be recorded. h2 may be the hash of the block at the start of the requested computation for the second interaction in the same computation enclave, and h2' may be the hash of the block that includes the second interaction (after the nodes agree on the block). However, in this example, h1' is determined after the second computation is performed by the security enclave, so the security enclave does not complete the requested computation for the interaction before starting a subsequent computation for another interaction. This may indicate that a particular security enclave / node is malicious or not functioning properly. In this case, other nodes in the network may prevent such subsequent interactions from being written to the blockchain.
[0106] Figure 8 An illustrative example of a technique for using enclaves and a shared ledger to accomplish policy-compliant computations in accordance with at least some embodiments is depicted. Figure 8 , the technology may involve multiple enclaves, such as a key manager enclave 802, a policy checker enclave 804, and a computation enclave 806. Each of the enclaves 802-806 may access a ledger 808 that provides policies and an immutable record of data transactions made with respect to those policies. The technology may also utilize one or more data repositories that may be implemented outside of the enclaves. For example, the technology may use a permanent data store 810 that stores key data, state data 812 that stores the current state of a policy, input data 814 that stores (encrypted) user data for use as input to one or more computations, and output data 816 that stores computation outputs to provide to one or more data consumers 818.
[0107] Now we will discuss Figure 8 The interactions between the various components shown are described as process 800 to describe techniques for performing policy-compliant computations using enclaves and a shared ledger.
[0108] At step 1 of process 800, a user 820 may create a computation and may record specifications for the computation in ledger 808. Any user 820 may create a computation to be added to ledger 808. In some cases, user 820 may be a user associated with data consumer 818. In some cases, user 820 may be an input provider 822 to which data is distributed.
[0109] As an illustrative example, agreement may be reached between input provider 822 and at least one data consumer 818 to use the following calculation:
[0110] calculate{
[0111] id:525600, / *unique id* /
[0112] Input: [("txs":vk_Alice), ("db":vk_Acme)],
[0113] Output: [("rprt":[pk_Acme,pk_BankA,pk_BankB])],
[0114] Strategy: 0xcoff..eeee / *8r 2 txs.fresh(r)* /
[0115] Function: 0x1337...c0de, / *aggregate function* /
[0116] }
[0117] In the above example, either party can add this computation specification to the shared ledger. The "id" field can be a value (e.g., a 64-bit value) that uniquely identifies this computation in the system. The "inp" field can list a set of named inputs, as well as the public keys of the input providers 822 (who can be expected to sign those inputs). Similarly, the "output" field can list a set of named outputs, each of which has one or more recipient data consumers 818 (the outputs can be encrypted under their corresponding public keys). The input and output data structures can be of one of several types, including unstructured files, lists, key value storage devices, or any other suitable structure. The "function" field can uniquely identify function f. In some embodiments, this operation can be performed using a cryptographic hash measurement of a machine code program that implements function f. In this example, f can be evaluated for inputs "txs" and "db". In some embodiments, historical dependency protection can be included in the attribute "policy". Similar to function f, a policy can be specified by a cryptographic hash measurement of the machine code that implements the policy.
[0118] The specification for a computation stored in the ledger 808 may include a public key associated with (e.g., bound to) the computation. In some embodiments, this public key may be generated by the key manager enclave 802. In these embodiments, a private key corresponding to the public key associated with the computation may be sealed and stored in the storage device 810. Then, only the sealed private key is provided to the policy checker enclave 804 and / or the computation enclave 806 for the computation work. It should be noted that by binding the cryptographic key to the computation rather than the original input data, the system enables the reuse of inputs across function evaluations and across computations without having to copy data. It should be noted that the permanent storage device 810 can store the private key even if the private key is outside the enclave because the private key is sealed.
[0119] After creating and recording a calculation for ledger 808, input provider 822 can bind him / herself to the calculation. For example, a calculation can provide data related to a user's monthly expenses to be aggregated with other user expense data by several data users. As long as the data user only receives the overall total (i.e., no granularity), the user can decide that he or she approves the use of this data. In this example, the user can bind his / her input to the calculation. At step 2 of process 800, input provider 822 can contact key manager enclave 802 to obtain a public key for encrypting the input data to be used in the calculation. Then, the input of input provider 822 can be encrypted using the public key associated with the calculation and stored in input data 814. In addition, key manager 802 can generate a separate key for protecting the calculation state in all future function evaluations, which can be sealed and stored in permanent storage 810.
[0120] At step 3 of process 800, policy checker enclave 804 may be invoked to check whether the execution of the computation complies with the policy of the computation. The policy checker retrieves the policy data of the computation from ledger 808, the input data from input data 814, the previous state of the computation from state data 812, and any cryptographic keys needed to access data from key manager enclave 802. It should be noted that the cryptographic keys provided to policy checker enclave 804 may be sealed so that policy checker enclave 804 can access the cryptographic keys with the aid of a private key associated with the processor for the enclave. Because the system must scale to large data, and because the physical memory of the environment is limited, the encrypted inputs and state may be placed in non-enclave memory, and the accessed bits authenticated, integrity checked, and decrypted as needed within the protected memory of the enclave.
[0121] The policy checker enclave 804 can check that the execution of a computation complies with the policy of the computation by checking two events. First, the computation must be added to the ledger 808 and not later undone by either party. When creating a local copy, the policy checker enclave 804 can scan the ledger 808 for entries related to the computation and compile, create, and undone only those entries. The policy checker then asserts the validity of the prediction:
[0122]
[0123] In the above, a set of content is generated that represents policies associated with a computation that have been created with respect to a certain ledger height t and have not been revoked.
[0124] Second, the conditions of the policy for the computation must be satisfied. In some embodiments, policy checker 804 may create a local copy of ledger 808. Assuming the policy checker enclave determines that the execution of the computation complies with the policy for the computation, process 800 may involve continuing to execute the computation.
[0125] [e|t * ∈{0...t}∧t=L.getCurrentCounter∧(σ,e)=L.getContent(t*)∧Verify L (σ, t*||e)∧e=calculate||c.id||...]
[0126] In the above, e is the last recorded element (i.e., entry) in a series of ledger 808 entries for calculation. In addition, t can be the height of the ledger 808, and σ can be a signature. As an example, consider that all transaction records in the input must be signed by the input provider 822. The policy belongs to the same month and is fresh. An efficient way to enforce freshness is to propagate the state of the calculation (including the timestamp of the latest transaction record), and then assert that all transaction records in the current ledger 808 input have a later timestamp, thus inductively indicating freshness. To this end, a function f can be written so that the function records the highest timestamp in the input record as the state of the calculation, and implements a policy to check the last element in the aforementioned series of ledger entries [e|...] (this element is called e). In order to evaluate the policy, we require the host of the policy checker enclave 804 to load the state of e (which can produce a summary policy state recorded in e), and transfer control to the policy checker 804, which obtains each transaction record in the current ledger 808 input and compares its timestamp with the state of e. Alternatively, the policy checker 804 may also load the inputs from all previous computations (i.e., all [e|...]) and check the membership of each ledger 808 record in the current input. It should be noted that this process results in significantly increased computational and storage overhead.
[0127] At step 4 of process 800, after obtaining approval from policy checker enclave 804, computation enclave 806 may be called to perform the computation. Computation enclave 806 may retrieve input data from input data 814, information about the function to be performed on the input data, data users (and public keys associated with those data users), the current height of ledger 808 (when checked by policy checker 804), and any other relevant information used in performing the computation. Computation enclave 806 may then perform the function on the input data to generate output data. In some embodiments, the output data may be encrypted using one or more cryptographic keys (e.g., public keys associated with data users) and stored in output data 816. In some embodiments, the output data may be encrypted using an encryption key where the data user to whom the data is to be provided does not have a corresponding decryption key.
[0128] In some embodiments, after being called, the computation enclave 806 may request information to be used to perform the computation. For example, the computation enclave 806 may request one or more keys from the policy checker enclave 804, as depicted in the following command:
[0129] ε f →ε φ :HW.Quote(ε f ,c.id||epk)
[0130] ε φ →ε f HW.Citation
[0131] in
[0132] in
[0133] In the above, ε f represents the calculation of bounding area 806, and ε Φ represents the policy checker enclave 804. In the above, k represents a cryptographic key. As shown, the computation enclave 806 can also receive a height t from the policy checker enclave 804, which represents the height of the ledger 808 when performing policy checks. The computation enclave 806 can use the height t to prevent the situation where the data consumer 818 provides an outdated ledger 808, and to perform serializability checks as described below.
[0134] At step 5 of process 800, computation enclave 806 may create a record of the computation performed for ledger 808. Future policy checker enclaves and / or computation enclaves may use this record to perform computations. For example, a policy checker enclave and / or computation enclave may determine that because the computation has been performed for a particular data user, performing the computation a second time would violate the policy. In an embodiment where ledger 808 is a blockchain, this ledger provides an immutable record, which is advantageous for this system because it also prevents tampering. In some embodiments, after performing the computation, but before writing the computational record to ledger 808, computation enclave 806 may perform a serializability check. Serializability checks are performed to ensure that the computation is still active by checking all records that occur after the height h used to perform the computation, where h is the height of ledger 808 when policy checker 804 checks policy data (policy checker 804 may pass height h to computation enclave 806). If the serializability check fails (ie, it is determined that the computation has already been performed), then computation enclave 806 aborts the computation and may not write any records to ledger 808 .
[0135]
[0136] Here, the ledger L is checked to ensure that computation c is still active and that no other function evaluations (using c.id) are performed between height t and the current height t'. If the check fails and the entry is not recorded on the ledger L, the computation is rejected. An enclave (e.g., policy checker 804 and / or computation enclave 806) can be configured to reject requests that do not satisfy the serializability check (i.e., the enclave rejects the computation). Therefore, it is expected that the ledger (or more accurately, the participants of the ledger) will reject entries that do not satisfy serializability. However, since each enclave repeats the check internally, the ledger cannot be trusted to do so.
[0137] In an embodiment utilizing a history-based strategy, the system may require that all computation steps be recorded, such that computation enclosure 806 must record the evaluation of function f on ledger 808 before it can display the output to any data consumer 818. For example, computation enclosure 806 may execute a "publish" command where:
[0138] L. Published (HW. Citation (ε f , e))
[0139] in
[0140] It should be noted that in the above, e represents an entry to be written to the ledger 808 for calculating c. As described above, t represents the height of the ledger 808. The entry E may also include input values, output values, states, and entropy sources r (which may be pseudo-random bit streams).
[0141] At step 6 of process 800, the system may implement techniques for distributing output data to multiple data users while ensuring fairness in the distribution of the output data. Fig. 9 These techniques are described in more detail.
[0142] Fig. 9 An illustrative example of a technique for distributing data to multiple data consumers while ensuring fairness in the data distribution is depicted in accordance with at least some embodiments. Fig. 9 The illustrated example of depicts data distributed to three data users (902(AC)), but it should be noted that the system can be implemented to distribute data to any number (n) of data users in the manner described. Fig. 9For purposes of the example shown in , we assume that a computing enclave 904 hosted by one of the data users (902(B)), which is an untrusted party, is outputting data. In the example, each of the n-1 data users that do not host a computing enclave can implement a delivery enclave (906(A) and 906(C)) that is configured to perform at least a portion of the functionality described herein. In addition, each data user can access a public ledger 908 that provides policies and an immutable record of data transactions conducted with respect to those policies. An instance of ledger 908 can be a blockchain, such as blockchain 210 described above. In some embodiments, the output generated by computing enclave 904 can be written to output data 910, which can be stored in a memory of a host of computing enclave 904 (e.g., a computer operated on behalf of data user 902(b)). Each of data users 902(AC) can be granted access to retrieve data from output data 910.
[0143] Now we will discuss Fig. 9 The interactions between the various components shown in FIG. 9 and FIG. 1 are used to describe techniques for distributing data to multiple data users while ensuring fairness in the data distribution. These techniques are described as process 900. It should be noted that process 900 can be described in detail in the above description of Figure 8 The described process 800 is performed within step 6.
[0144] Step 1 of process 900 may first involve encrypting the output of the computation to generate a new random key k. o This encrypted output is then provisioned by the computation enclave 904 to each of the n-1 delivery enclaves 906, which store the output internally.
[0145] ε d →ε f :HW.Quote(ε d ,c||epk)
[0146] ε f →ε d :HW.Quote(ε f ,c||t||PKE.Enc(epk,k o ))
[0147] Then, the calculation enclave 806 converts the encrypted output Enc(k o , output) is delivered to each of the data users 902(AC). At step 2 of process 900, computation enclave 904 collects signed receipts σ from each of those data users 902(AC).
[0148] HW.Quote(ε f ,c||t||δ out )||AEAD.Enc(k o , out)
[0149]
[0150] At step 3 of process 900, the calculation enclave 904 may generate an aggregate encoding of all n signatures and include the aggregated record π 1 Posted to ledger 908.
[0151] L. Release (π 1 ), which returns (σ 1 , _)
[0152]
[0153] In some embodiments, records published to ledger 908 may be combined with on-ledger records of computations performed.
[0154] Note that this may require that the computation enclave receive all signatures (i.e., signed receipts) at step 2 of process 900 before it can move to step 3 of process 900. As will be appreciated, a dishonest data user 902 may attempt to stop the process at this point by simply not providing a signed receipt. Therefore, in some embodiments, the system may include additional processes involved in ensuring that process 900 proceeds, which are described in the following sections.
[0155] To ensure that process 900 continues, the computation enclave may set a timeout, after which it aborts the process and restarts, rather than blocking reception in steps 2 and 3. Note that aborting in steps 2 or 3 does not compromise fairness, since all recipients (data users 902) must proceed beyond step 3 (and send signatures) in order for the output to be delivered to each of those recipients.
[0156] At step 4 of process 900, upon seeing the record n recorded on ledger 908 1 After that, any of the data users 902 may advance the process 900 to the next stage. In some embodiments, this may involve the data user 902 providing (after publishing the record to the ledger 908) to its corresponding delivery enclave 906. 1 The proof σ generated by the ledger 1 In response, delivery enclave 906 may provide data user 902 with record π 2, the record contains k under the public key of data user 902(B) o encryption.
[0157] At step 5 of process 900, any of data users 902 may publish a record π on ledger 908. 2 In response, the data user 902 may be provided (after publishing the record π to the ledger 908). 2 The proof σ generated by the ledger 2 .
[0158] L. Release (π 2 ), which returns (σ 2 , _)
[0159]
[0160] To ensure that process 900 proceeds in steps 4 and 5, the following modifications may be made. First, it should be noted that each data consumer proceeds by retrying failed steps until the desired ledger entry (step 4) is found. and in step 5 ) to poll the ledger. Two modifications can be made to this rudimentary solution to ensure that process 900 continues.
[0161] First, instead of scanning the entire ledger, a limit can be set on the number of entries that data consumer 902 must scan, and then messages must be published within that limit, lest the solution be considered aborted (by all data consumers). To this end, a parameter Δ 1 , and stipulates that at height t+Δ 1 Published on the internal ledger 808 (where t is the height of the evaluation strategy check). Then, the calculation enclave 904 can check and To verify this requirement. Similarly, it can be stipulated that 2 Entries from (i.e., at a height Internal) Release
[0162] Second, we have data consumer 902 advance the ledger to prevent waiting forever (although in practice we may find that concurrent, unrelated computations can advance the ledger on their own). The system has data consumer 902 make dummy entries on the ledger for the sole purpose of advancing the ledger. To prevent this mechanism from acting as a vehicle for denial of service attacks on other output recipients, a requirement can be enforced that sufficient time must have passed after the last ledger entry (or at least the last ledger entry made by a particular data consumer 902) (using a trusted clock source). In this way, the dummy entries can act as clock ticks. Furthermore, to prevent other computations (frequently posted to the ledger) from aborting the computation, a Δ 1 and Δ 2 , where each tick must indicate the number of clock cycles that have passed since the previous tick. It should be noted that the clock service is not trusted for fairness or correctness, but is only used to reliably advance the protocol.
[0163] Then, at step 6 of process 900, each delivery enclave 906 may receive a certificate from its corresponding data user. In response, at step 7 of process 900, upon receiving the certificate σ 2 After that, the delivery enclave 906 may provide the key k to its corresponding data user 902. o Note that data user 902(B), which is the host of computation enclave 904, can obtain record π only from ledger 908. 2 , because the record π 2 k including the public key of data user 902(B) o Therefore, the private key of data user 902 (B) can be used to obtain k o Then, each data user 902 can use the key k o Decrypt the encrypted output.
[0164] Embodiments of the present disclosure provide several technical advantages over conventional systems. For example, embodiments of the present disclosure enable a user to dictate how his or her information is distributed and used in a secure manner. Using blockchain in the manner described can enable a user to manage information usage policies in a secure, immutable, and verifiable manner. This in turn enables trusted transactions to be performed in a distributed environment that includes entities that are not necessarily trusted. In addition, embodiments of the system can maintain a record of how the user's data is actually used, thereby making the user more informed.
[0165] Furthermore, while embodiments of the described system enable efficient computations on sensitive data, the embodiments do not require computations to be performed locally. In fact, the system even enables computations to be performed on sensitive data by untrusted entities. Using dedicated enclaves to perform various processing in the manner described enables untrusted entities to process sensitive data without actually gaining access to the sensitive data.
[0166] In addition, the system described herein is configured to publish sensitive data to different data users simultaneously. This prevents collusion between one or more data users and the host computer that computes the data. When data is not distributed simultaneously, collusion may be harmful to the users. For example, in a scenario where the data user is a competitor of the user's business, if the data user receives the user data before other data users (or if the other data users do not receive the user data at all), the user may be forced to accept an offer from the data user, even if the offer is not in the best interest of the user. The described system prevents this situation by ensuring that all users of the user data receive the data at the same time or do not receive the data at all.
[0167] It should be understood that any embodiment of the present invention can be implemented in the form of control logic using hardware (e.g., an application specific integrated circuit or a field programmable gate array) and / or using computer software, wherein a general purpose programmable processor is modular or integrated. As used herein, a processor includes a single-core processor, a multi-core processor on the same integrated chip, or multiple processing units on a single circuit board or networked. Based on the disclosure and the teachings provided herein, a person of ordinary skill in the art will know and understand other methods and / or methods of implementing embodiments of the present invention using hardware and a combination of hardware and software.
[0168] Any software components or functions described in this application may be implemented as software code executed by a processor using any suitable computer language such as Java, C, C++, C#, Objective-C, Swift, or a scripting language such as Perl or Python using, for example, conventional or object-oriented techniques. The software code may be stored as a series of instructions or commands on a computer-readable medium for storage and / or transmission, suitable media including random access memory (RAM), read-only memory (ROM), magnetic media such as a hard drive or floppy disk, or optical media such as a compact disk (CD) or digital versatile disk (DVD), flash memory, etc. The computer-readable medium may be any combination of such storage or transmission devices.
[0169] Such programs can also be encoded and transmitted using carrier signals adapted to be transmitted via wired, optical and / or wireless networks that meet multiple protocols including the Internet. Therefore, the computer-readable medium according to an embodiment of the present invention can be created using data signals encoded with such programs. The computer-readable medium encoded with program code can be encapsulated with compatible devices or provided separately from other devices (e.g., downloaded via the Internet). Any such computer-readable medium can reside on or inside a single computer product (e.g., hard drive, CD or entire computer system), and can be present on or inside different computer products in a system or network. The computer system may include a monitor, a printer, or other suitable displays for providing any result mentioned herein to the user.
[0170] The above description is illustrative and non-restrictive. After those skilled in the art have read this disclosure, many variations of the present invention will become apparent to them. Therefore, the scope of the present invention should not be determined with reference to the above description, but should be determined with reference to the pending claims and their full scope or equivalents.
[0171] One or more features of any embodiment may be combined with one or more features of any other embodiment without departing from the scope of the present invention.
[0172] Unless clearly indicated to the contrary, the term "a", "an" or "the" is intended to mean "one or more".
[0173] All patents, patent applications, publications, and descriptions mentioned above are incorporated by reference in their entirety for all purposes. No admission is made that they are prior art.
Claims
1. A method for providing content, the method comprising: receiving a distribution instruction for output data associated with a user of a client device, the distribution instruction including an indication of a plurality of data users; encrypting the output data using a first cryptographic key; providing each of the plurality of data users with access to the encrypted output data; receiving, from each of the plurality of data users, an indication that the data user has received the access to the encrypted output data; as well as publishing to the blockchain ledger records comprising a plurality of indications respectively received from the plurality of data users and indicating that the plurality of data users have received access to the encrypted output data; wherein, upon confirming with the blockchain ledger the indication that access to the encrypted output data has been provided to each of the plurality of data users, a second cryptographic key is provided for release to a plurality of dedicated enclaves associated with computing devices operated by the plurality of data users, the second cryptographic key being configured for use by the data users to decrypt the encrypted output data.
2. The method of claim 1, wherein the plurality of dedicated enclaves include a computation enclave and a delivery enclave, the computation enclave delivering the encrypted output data to the delivery enclave.
3. The method of claim 1, wherein the indication that a data user has received the access to the encrypted output data comprises a signed delivery receipt from the data user.
4. The method of claim 3, wherein the signed delivery receipt is signed using a private key of the data user. The method of claim 1 , wherein the output data is further encrypted using a plurality of third cryptographic keys after being encrypted using the first cryptographic key.
6. A method according to claim 5, wherein the plurality of third cryptographic keys include a public key associated with each of the plurality of data users, wherein each of the plurality of data users is provided with access to the encrypted output data, wherein the encrypted output data is further encrypted using the corresponding public key of each of the plurality of data users.
7. The method of claim 1, wherein the first cryptographic key and the second cryptographic key are the same cryptographic key, wherein the plurality of dedicated enclaves are embedded in the computing device.
8. The method of claim 1, wherein the first cryptographic key is an encryption key and the second cryptographic key is a decryption key corresponding to and different from the encryption key.
9. The method of claim 1 , wherein when an indication that access to the encrypted output data has been received is not received from all of the plurality of data users within a timeout window, the second cryptographic key is not provided to any of the plurality of data users.
10. The method according to claim 1, further comprising: confirming that each of the plurality of data users has not been provided access to the encrypted output data; as well as An entry is written to the blockchain ledger indicating that the plurality of data users have been provided access to the encrypted output data.
11. A computing system comprising: processor; as well as A memory including instructions that, when executed by the processor, cause the computing system to perform at least the following operations: receiving a distribution instruction for output data associated with a user of a client device, the distribution instruction including an indication of a plurality of data users; encrypting the output data using a first cryptographic key; providing each of the plurality of data users with access to the encrypted output data; receiving, from each of the plurality of data users, an indication that the data user has received the access to the encrypted output data; as well as publishing to the blockchain ledger records comprising a plurality of indications respectively received from the plurality of data users and indicating that the plurality of data users have received access to the encrypted output data; wherein, upon confirming with the blockchain ledger the indication that access to the encrypted output data has been provided to each of the plurality of data users, a second cryptographic key is provided to a plurality of dedicated enclaves associated with computing devices operated by the plurality of data users, the second cryptographic key being configured for use by the data users to decrypt the encrypted output data.
12. The computing system of claim 11, wherein the memory comprises an isolated memory area protected by a trusted execution environment platform, separate from other memory of the computing system.
13. The computing system of claim 12, wherein the output data is not available to other applications running on the computing system external to the memory.
14. The computing system of claim 11, wherein the computing system is operated by a server.
15. The computing system of claim 11, wherein the plurality of data users are determined based on a specification for computing used to generate the output data, the specification being retrieved from a public ledger.
16. The computing system of claim 11, wherein the encrypted output data is transmitted to each of the plurality of data consumers.
17. The computing system of claim 11, wherein the encrypted output data is written to a storage unit, each of the plurality of data consumers having access to the encrypted output data at the storage unit.
18. The computing system of claim 11, wherein the instructions further cause the computing system to generate an aggregate encoding of the plurality of indications of receipt of the access to the encrypted output data.
19. The computing system of claim 11, wherein the plurality of data users are untrusted entities.
20. The computing system of claim 11, wherein the first cryptographic key is encrypted using a third cryptographic key associated with the processor and stored external to the memory.
