CH716266A2 - A method of storing computer data on a blockchain network with proof of storage from a storage node equipped with a cryptographic enclave. - Google Patents

A method of storing computer data on a blockchain network with proof of storage from a storage node equipped with a cryptographic enclave. Download PDF

Info

Publication number
CH716266A2
CH716266A2 CH00740/19A CH7402019A CH716266A2 CH 716266 A2 CH716266 A2 CH 716266A2 CH 00740/19 A CH00740/19 A CH 00740/19A CH 7402019 A CH7402019 A CH 7402019A CH 716266 A2 CH716266 A2 CH 716266A2
Authority
CH
Switzerland
Prior art keywords
node
enclave
storage
group
decryption key
Prior art date
Application number
CH00740/19A
Other languages
French (fr)
Inventor
Attia Jonathan
Louiset Raphaël
Original Assignee
Lapsechain Sa C/O Leax Avocats
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lapsechain Sa C/O Leax Avocats filed Critical Lapsechain Sa C/O Leax Avocats
Priority to CH00740/19A priority Critical patent/CH716266A2/en
Publication of CH716266A2 publication Critical patent/CH716266A2/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6209Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0478Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload applying multiple layers of encryption, e.g. nested tunnels or encrypting the content with a first key and then with at least a second key
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/06Network architectures or network communication protocols for network security for supporting key management in a packet data network
    • H04L63/065Network architectures or network communication protocols for network security for supporting key management in a packet data network for group communications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/18Network architectures or network communication protocols for network security using different networks or channels, e.g. using out of band channels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0643Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
    • H04L9/0825Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/085Secret sharing or secret splitting, e.g. threshold schemes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/14Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using a plurality of keys or algorithms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3234Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving additional secure or trusted devices, e.g. TPM, smartcard, USB or software token
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • H04L9/3239Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2105Dual mode as a secondary aspect
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2107File encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Power Engineering (AREA)
  • Storage Device Security (AREA)

Abstract

L'invention concerne un procédé de stockage sécurisé de données ( 15 ) informatiques au sein d'un groupe de nœuds ( 2A ) de stockage d'un réseau ( 1 ) pair-à-pair sur lequel est déployée une blockchain ( 5 ), qui comprend une phase de contrôle conduite pour partie dans une enclave ( 8 ) de chaque nœud ( 2A ) de stockage, et incluant le calcul d'un condensat ( 25' ) de contrôle d'un conteneur ( 22' ) crypté et la comparaison, au sein d'une enclave ( 8 ) d'un nœud ( 2F ) de contrôle, avec un condensat ( 25 ) de référence reconstitué à partir de fragments distribués sur un autre groupe de nœuds ( 2C ) ; le résultat de la comparaison est inscrit dans un bloc ( 4 ) de la blockchain ( 5 ).The invention relates to a method for secure storage of computer data (15) within a group of storage nodes (2A) of a peer-to-peer network (1) on which a blockchain (5) is deployed, which comprises a control phase conducted partly in an enclave (8) of each storage node (2A), and including the calculation of a control condensate (25 ') of an encrypted container (22') and the comparison , within an enclave (8) of a control node (2F), with a reference condensate (25) reconstituted from fragments distributed over another group of nodes (2C); the result of the comparison is entered in a block (4) of the blockchain (5).

Description

DOMAINE TECHNIQUETECHNICAL AREA

[0001] L'invention a trait au domaine de l'informatique, et plus précisément au domaine du stockage sécurisé des données informatiques en réseau. The invention relates to the field of computing, and more specifically to the field of secure storage of network computer data.

ART ANTERIEURPRIOR ART

[0002] La sécurisation du stockage en réseau des données informatiques a pour double objectif d'éviter la perte des données (c'est-à-dire leur effacement intempestif) et leur exploitation (ce terme incluant la lecture ainsi que la copie partielle ou totale des données) par des tiers non autorisés. En d'autres termes, la sécurisation vise à garantir la pérennité et la confidentialité des données. The securing of the network storage of computer data has the dual objective of avoiding the loss of data (that is to say their untimely erasure) and their use (this term including reading as well as partial copying or total data) by unauthorized third parties. In other words, security aims to guarantee the sustainability and confidentiality of data.

[0003] Pour minimiser le risque de perte des données (en d'autres termes, pour maximiser la pérennité des données), on procède généralement à des réplications, c'est-à-dire que l'on effectue une distribution des données parmi plusieurs espaces de stockage. Les données sont par conséquent stockées de manière redondante. [0003] To minimize the risk of data loss (in other words, to maximize the durability of the data), replications are generally carried out, that is to say, the data is distributed among several storage spaces. The data is therefore stored redundantly.

[0004] Pour garantir (autant que possible) la confidentialité des données stockées en réseau, on recourt généralement à deux méthodes : La première consiste à restreindre (typiquement via des mots de passe ou des certificats électroniques) l'accès à un serveur sur lequel sont stockées les données, ce qui minimise les risques de lecture ou de copie ; La deuxième consiste à chiffrer les données elles-mêmes au moyen de techniques cryptographiques.To guarantee (as much as possible) the confidentiality of data stored in the network, two methods are generally used: The first consists in restricting (typically via passwords or electronic certificates) access to a server on which the data is stored, which minimizes the risk of reading or copying; The second is to encrypt the data itself using cryptographic techniques.

[0005] La première méthode est efficace à deux conditions principales. [0005] The first method is effective under two main conditions.

[0006] Première condition : le risque de faille dans les restrictions d'accès au serveur doit être nul ou, à tout le moins, minimum. [0006] First condition: the risk of loopholes in the restrictions on access to the server must be zero or, at the very least, minimum.

[0007] L'expérience montre toutefois que certaines attaques permettent de contourner ces restrictions, typiquement en récupérant les identifiants et mots de passe d'utilisateurs et en usurpant leur identité pour accéder à leurs données. However, experience shows that certain attacks make it possible to circumvent these restrictions, typically by recovering the usernames and passwords of users and by usurping their identity to access their data.

[0008] Deuxième condition : l'administrateur du serveur doit lui-même être digne de confiance. [0008] Second condition: the administrator of the server must himself be trustworthy.

[0009] L'expérience montre toutefois que certains fournisseurs de services en ligne (notamment de réseaux sociaux), qui administrent des serveurs sur lesquels sont stockées les données personnelles de nombreux utilisateurs, se permettent d'accéder à ces données et d'en faire une exploitation pour leur propre compte, typiquement en revendant les données à des sociétés commerciales ou à des agences gouvernementales, ou en analysant elles-mêmes les données. However, experience shows that some online service providers (including social networks), which administer servers on which are stored the personal data of many users, allow themselves to access this data and make it operating on their own account, typically by reselling the data to commercial companies or government agencies, or by analyzing the data themselves.

[0010] La deuxième méthode résout les problèmes de la première, puisque les tiers non autorisés ne peuvent faire aucune exploitation des données, sauf à craquer les algorithmes de cryptage, ce qui, jusqu'à présent, s'est révélé infaisable pour les algorithmes les plus couramment utilisés, tels que l'algorithme RSA (Rivest, Shamir, Adleman) ou l'algorithme des courbes elliptiques. The second method solves the problems of the first, since unauthorized third parties can not make any use of the data, except to crack the encryption algorithms, which, until now, has proved infeasible for the algorithms most commonly used, such as the RSA algorithm (Rivest, Shamir, Adleman) or the elliptic curves algorithm.

[0011] Généralement, les données sont chiffrées localement au sein d'un terminal émetteur (typiquement un ordinateur personnel), puis les données chiffrées sont transmises au réseau pour y être stockées tandis qu'une clé cryptographique de déchiffrement des données est stockée localement au sein du terminal émetteur. Generally, the data is encrypted locally within a sending terminal (typically a personal computer), then the encrypted data is transmitted to the network to be stored there while a cryptographic key for decryption of the data is stored locally at the network. within the sending terminal.

[0012] Cette méthode présente cependant un risque : la perte de la clé cryptographique de déchiffrement des données, ce qui rend les données définitivement inexploitables (et ce par quiconque, y compris leur propriétaire), car indéchiffrables. However, this method presents a risk: the loss of the cryptographic key for decryption of the data, which renders the data permanently unusable (and this by anyone, including their owner), because they cannot be deciphered.

[0013] Il est envisageable de déléguer au réseau (typiquement à un serveur mandataire distant) le soin de procéder au chiffrement des données et d'administrer la clé cryptographique de déchiffrement. It is conceivable to delegate to the network (typically to a remote proxy server) the task of encrypting the data and administering the cryptographic decryption key.

[0014] Dans ce cas se pose à nouveau le problème d'un potentiel accès aux données par l'administrateur du serveur mandataire, soit que celui-ci les copie avant leur chiffrement, soit qu'il prenne la liberté de les déchiffrer en exploitant la clé cryptographique générée. A supposer que l'on empêche tout ou partie du réseau d'organiser un accès non autorisé aux données, se pose cependant le problème d'obtenir du réseau une preuve, ponctuellement ou régulièrement, que le stockage se poursuit, notamment lorsqu'il est prévu pour durer. In this case, the problem again arises of a potential access to the data by the administrator of the proxy server, either that the latter copies them before their encryption, or that he takes the liberty of decrypting them by using the generated cryptographic key. Assuming that all or part of the network is prevented from organizing unauthorized access to data, however, the problem arises of obtaining from the network proof, occasionally or regularly, that the storage is continuing, in particular when it is planned to last.

[0015] L'invention vise à offrir une solution efficace à ces problèmes, en particulier au problème de la preuve de stockage. The invention aims to offer an effective solution to these problems, in particular to the problem of proof of storage.

RESUME DE L'INVENTIONSUMMARY OF THE INVENTION

[0016] Il est proposé un procédé de stockage sécurisé de données informatiques au sein d'un réseau pair-à-pair composé d'une pluralité de nœuds formant une base de données distribuée sur laquelle est mémorisée, par réplication sur chaque nœud, une chaîne de blocs, ce procédé comprenant : <tb><SEP>A) Une phase de distribution, qui comprend les opérations consistant à : <tb><SEP><SEP>- Emettre, à partir d'un terminal émetteur dans lequel sont stockées les données, une requête de stockage à destination du réseau ; <tb><SEP><SEP>- A réception de la requête de stockage par au moins un nœud du réseau, sélectionner au sein du réseau au moins un nœud, dit nœud d'entrée, équipé d'une unité de traitement informatique dans laquelle est implémenté un environnement d'exécution sécurisé par cryptographie, dit enclave ; <tb><SEP><SEP>- Instancier l'enclave ; <tb><SEP><SEP>- Charger les données, à partir du terminal émetteur et via une ligne de communication sécurisée, vers l'enclave du nœud d'entrée ; <tb><SEP><SEP>- Inscrire dans un bloc de la chaîne de blocs, par un ou plusieurs nœuds du réseau, au moins une transaction contenant une empreinte numérique de la requête de stockage et/ou du chargement ainsi effectué ; <tb><SEP><SEP>- Dans l'enclave du nœud d'entrée : <tb><SEP><SEP>o Chiffrer les données pour former un premier conteneur crypté, en lui associant une première clé cryptographique de déchiffrement ; <tb><SEP><SEP>o Fragmenter la première clé cryptographique de déchiffrement en un nombre prédéterminé de fragments ; <tb><SEP><SEP>o Calculer un condensat, dit de référence, du premier conteneur crypté en lui appliquant une fonction de hachage prédéterminée ; <tb><SEP><SEP>o Fragmenter le condensat de référence en un nombre prédéterminé de fragments ; <tb><SEP><SEP>o Rechiffrer le premier conteneur pour former un deuxième conteneur crypté, en lui associant une deuxième clé cryptographique de déchiffrement ; <tb><SEP><SEP>o Fragmenter la deuxième clé cryptographique de déchiffrement en un nombre prédéterminé de fragments ; <tb><SEP><SEP>o Désigner, parmi le réseau, un premier groupe de nœuds de stockage équipés chacun d'une unité de traitement informatique dans laquelle est implémentée une enclave, <tb><SEP><SEP>o Distribuer le deuxième conteneur crypté vers les nœuds du premier groupe ; <tb><SEP><SEP>o Désigner, parmi le réseau, un deuxième groupe de nœuds de stockage en nombre égal aux fragments de la première clé cryptographique de déchiffrement ; <tb><SEP><SEP>o Distribuer chaque fragment de la première clé cryptographique de déchiffrement vers un nœud du deuxième groupe, chaque nœud du deuxième groupe recevant un unique fragment ; <tb><SEP><SEP>o Désigner, parmi le réseau, un troisième groupe de nœuds de stockage en nombre égal aux fragments du condensat de référence ; <tb><SEP><SEP>o Distribuer chaque fragment du condensat de référence vers un nœud du troisième groupe, chaque nœud du troisième groupe recevant un unique fragment ; <tb><SEP><SEP>o Désigner, parmi le réseau, un quatrième groupe de nœuds de stockage en nombre égal aux fragments de la deuxième clé cryptographique de déchiffrement ; <tb><SEP><SEP>o Distribuer chaque fragment de la deuxième clé de déchiffrement vers un nœud du quatrième groupe, chaque nœud du quatrième groupe recevant un unique fragment ; <tb><SEP><SEP>- Hors de l'enclave du nœud d'entrée : <tb><SEP><SEP>o Mémoriser le deuxième conteneur crypté au sein de chaque nœud de stockage du premier groupe ; <tb><SEP><SEP>o Mémoriser chaque fragment de la première clé cryptographique de déchiffrement au sein de chaque nœud de stockage du deuxième groupe ; <tb><SEP><SEP>o Mémoriser chaque fragment du condensat de référence au sein de chaque nœud de stockage du troisième groupe ; <tb><SEP><SEP>o Mémoriser chaque fragment de la deuxième clé cryptographique de déchiffrement au sein de chaque nœud de stockage du quatrième groupe ; <tb><SEP><SEP>- Inscrire dans au moins un bloc de la chaîne de blocs, par un ou plusieurs nœuds du réseau, au moins une transaction contenant une ou des empreintes numériques de ces distributions ou de ces mémorisations ; <tb><SEP>B) Une phase de contrôle, qui comprend la désignation, parmi les nœuds du réseau, d'un nœud de contrôle équipé d'une unité de traitement informatique dans laquelle est implémentée une enclave, et, pour chaque nœud de stockage du premier groupe, les opérations consistant à : <tb><SEP><SEP>- Instancier l'enclave du nœud de contrôle ; <tb><SEP><SEP>- Instancier l'enclave du nœud de stockage ; <tb><SEP><SEP>- Etablir une liaison sécurisée entre l'enclave du nœud de contrôle et l'enclave du nœud de stockage ; <tb><SEP><SEP>- Dans l'enclave du nœud de contrôle : <tb><SEP><SEP>o Charger, à partir d'un nombre prédéterminé de nœuds du troisième groupe, des fragments du condensat de référence ; <tb><SEP><SEP>o Reconstituer le condensat de référence à partir de ces fragments ; <tb><SEP><SEP>o Charger, à partir d'un nombre prédéterminé de nœuds du quatrième groupe, des fragments de la deuxième clé cryptographique de déchiffrement ; <tb><SEP><SEP>o Reconstituer la deuxième clé cryptographique de déchiffrement ; <tb><SEP><SEP>o Transmettre la deuxième clé cryptographique de déchiffrement à l'enclave du nœud de stockage ; <tb><SEP><SEP>- Dans l'enclave du nœud de stockage : <tb><SEP><SEP>o Charger le deuxième conteneur crypté à partir d'un espace mémoire situé hors de l'enclave ; <tb><SEP><SEP>o Déchiffrer le deuxième conteneur crypté au moyen de la deuxième clé cryptographique de déchiffrement reçue de l'enclave du nœud de contrôle, pour reconstituer une copie du premier conteneur crypté ; <tb><SEP><SEP>o Calculer un condensat, dit de contrôle, de cette copie du premier conteneur crypté ; <tb><SEP><SEP>o Transmettre le condensat de contrôle à l'enclave du nœud de contrôle ; <tb><SEP><SEP>- Dans l'enclave du nœud de contrôle, comparer le condensat de contrôle au condensat de référence ; <tb><SEP><SEP>- Hors de l'enclave, inscrire dans un bloc de la chaîne de blocs, par un ou plusieurs nœuds du réseau, au moins une transaction contenant une empreinte numérique de ce résultat.There is proposed a method of secure storage of computer data within a peer-to-peer network composed of a plurality of nodes forming a distributed database on which is stored, by replication on each node, a blockchain, this process comprising: <tb> <SEP> A) A distribution phase, which comprises the operations consisting in: <tb><SEP> <SEP> - Send, from a sending terminal in which the data is stored, a storage request to the network; <tb><SEP> <SEP> - On receipt of the storage request by at least one node of the network, select within the network at least one node, called entry node, equipped with a computer processing unit in which is implemented an execution environment secured by cryptography, called enclave; <tb><SEP> <SEP> - Instantiate the enclave; <tb><SEP> <SEP> - Load the data, from the sending terminal and via a secure communication line, to the enclave of the input node; <tb><SEP> <SEP> - Enter in a block of the block chain, by one or more nodes of the network, at least one transaction containing a digital fingerprint of the storage request and / or the loading thus carried out; <tb><SEP> <SEP> - In the entry node enclave: <tb><SEP> <SEP> o Encrypt the data to form a first encrypted container, by associating it with a first cryptographic decryption key; <tb><SEP> <SEP> o Fragment the first cryptographic decryption key into a predetermined number of fragments; <tb><SEP> <SEP> o Calculate a so-called reference hash of the first encrypted container by applying a predetermined hash function to it; <tb><SEP> <SEP> o Fragment the reference condensate into a predetermined number of fragments; <tb><SEP> <SEP> o Re-encrypt the first container to form a second encrypted container, by associating it with a second cryptographic decryption key; <tb><SEP> <SEP> o Fragment the second cryptographic decryption key into a predetermined number of fragments; <tb><SEP> <SEP> o Designate, among the network, a first group of storage nodes each equipped with a computer processing unit in which an enclave is implemented, <tb><SEP> <SEP> o Distribute the second encrypted container to the nodes of the first group; <tb><SEP> <SEP> o Designate, among the network, a second group of storage nodes in a number equal to the fragments of the first cryptographic decryption key; <tb><SEP> <SEP> o Distribute each fragment of the first cryptographic decryption key to a node of the second group, each node of the second group receiving a unique fragment; <tb><SEP> <SEP> o Designate, among the network, a third group of storage nodes equal in number to the fragments of the reference condensate; <tb><SEP> <SEP> o Distribute each fragment of the reference digest to a node of the third group, each node of the third group receiving a unique fragment; <tb><SEP> <SEP> o Designate, among the network, a fourth group of storage nodes in a number equal to the fragments of the second cryptographic decryption key; <tb><SEP> <SEP> o Distribute each fragment of the second decryption key to a node of the fourth group, each node of the fourth group receiving a unique fragment; <tb><SEP> <SEP> - Outside the entry node enclave: <tb><SEP> <SEP> o Store the second encrypted container within each storage node of the first group; <tb><SEP> <SEP> o Memorize each fragment of the first cryptographic decryption key within each storage node of the second group; <tb><SEP> <SEP> o Memorize each fragment of the reference condensate within each storage node of the third group; <tb><SEP> <SEP> o Memorize each fragment of the second cryptographic decryption key within each storage node of the fourth group; <tb><SEP> <SEP> - Write in at least one block of the blockchain, by one or more nodes of the network, at least one transaction containing one or more digital fingerprints of these distributions or these memorizations; <tb> <SEP> B) A control phase, which comprises the designation, among the nodes of the network, of a control node equipped with a computer processing unit in which an enclave is implemented, and, for each node of the first group, the operations consisting in: <tb><SEP> <SEP> - Instantiate the control node enclave; <tb><SEP> <SEP> - Instantiate the storage node enclave; <tb><SEP> <SEP> - Establish a secure link between the enclave of the control node and the enclave of the storage node; <tb><SEP> <SEP> - In the control node enclave: <tb><SEP> <SEP> o Load, from a predetermined number of nodes of the third group, fragments of the reference condensate; <tb><SEP> <SEP> o Reconstitute the reference condensate from these fragments; <tb><SEP> <SEP> o Load, from a predetermined number of nodes of the fourth group, fragments of the second cryptographic decryption key; <tb><SEP> <SEP> o Reconstitute the second cryptographic decryption key; <tb><SEP> <SEP> o Transmit the second cryptographic decryption key to the storage node enclave; <tb><SEP> <SEP> - In the storage node enclave: <tb><SEP> <SEP> o Load the second encrypted container from a memory space located outside the enclave; <tb><SEP> <SEP> o Decrypt the second encrypted container by means of the second cryptographic decryption key received from the enclave of the control node, to reconstitute a copy of the first encrypted container; <tb><SEP> <SEP> o Calculate a condensate, known as control, of this copy of the first encrypted container; <tb><SEP> <SEP> o Transmit the control condensate to the control node enclave; <tb><SEP> <SEP> - In the control node enclave, compare the control condensate with the reference condensate; <tb><SEP> <SEP> - Outside the enclave, register in a block of the blockchain, by one or more nodes of the network, at least one transaction containing a digital fingerprint of this result.

BREVE DESCRIPTION DES FIGURESBRIEF DESCRIPTION OF THE FIGURES

[0017] D'autres objets et avantages de l'invention apparaîtront à la lumière de la description d'un mode de réalisation, faite ci-après en référence aux dessins annexés dans lesquels : <tb><SEP>LaFIG.1est un schéma fonctionnel simplifié illustrant un réseau pair-à-pair sur lequel est distribuée une chaîne de blocs ; <tb><SEP>LaFIG.2est un schéma fonctionnel simplifié illustrant différents composants d'une unité de traitement informatique impliqués dans la création et l'exploitation d'un environnement d'exécution sécurisé appelé enclave ; <tb><SEP>LaFIG.3est un schéma fonctionnel illustrant pour partie une architecture réseau, pour partie des étapes d'un procédé de stockage, et pour partie des fichiers produits, échangés ou stockés au sein du réseau pour les besoins (ou en application) de ce procédé. <tb><SEP>LaFIG.4est un diagramme fonctionnel illustrant différentes étapes d'une phase de contrôle du procédé de stockage.[0017] Other objects and advantages of the invention will become apparent in the light of the description of an embodiment, given below with reference to the accompanying drawings in which: <tb> <SEP> LaFIG.1 is a simplified block diagram illustrating a peer-to-peer network on which a chain of blocks is distributed; <tb> <SEP> LaFIG.2 is a simplified functional diagram illustrating different components of a computer processing unit involved in the creation and operation of a secure execution environment called an enclave; <tb> <SEP> LaFIG.3 is a functional diagram partly illustrating a network architecture, partly the steps of a storage process, and partly the files produced, exchanged or stored within the network for the needs (or application) of this process. <tb> <SEP> LaFIG.4 is a functional diagram illustrating different stages of a control phase of the storage process.

DESCRIPTION DETAILLEE DE L'INVENTIONDETAILED DESCRIPTION OF THE INVENTION

[0018] Sans s'y restreindre, le procédé de stockage proposé exploite, en les combinant, des fonctionnalités offertes par deux technologies relativement récentes dont il paraît utile de faire une description préalable avant d'entrer dans les détails du procédé, à savoir : La technologie de la chaîne de blocs ou, en terminologie anglo-saxonne, blockchain (dans ce qui suit, on préférera la terminologie anglo-saxonne, en raison de son emploi courant dans la plupart des langues, y compris en langue française) ; La technologie de l'environnement d'exécution sécurisé ou, en terminologie anglo-saxonne, du trusted execution environment (TEE).Without being limited thereto, the proposed storage method exploits, by combining them, the functionalities offered by two relatively recent technologies of which it seems useful to make a preliminary description before going into the details of the method, namely: Blockchain technology or, in Anglo-Saxon terminology, blockchain (in what follows, Anglo-Saxon terminology will be preferred, because of its common use in most languages, including French); The technology of the secure execution environment or, in English terminology, of the trusted execution environment (TEE).

[0019] La technologie blockchain est organisée en couches. Elle comprend : Une couche d'infrastructure matérielle, appelée „réseau blockchain“ ; Une couche protocolaire appelée „protocole blockchain“ ; Une couche informationnelle, appelée „registre blockchain“.[0019] Blockchain technology is organized in layers. She understands : A layer of hardware infrastructure, called a “blockchain network”; A protocol layer called the “blockchain protocol”; An information layer, called the “blockchain register”.

[0020] Le réseau blockchain est un réseau informatique décentralisé, dit réseau pair-à-pair (en terminologie anglo-saxonne Peer-to-Peer ou P2P), constitué d'une pluralité d'ordinateurs (au sens fonctionnel du terme : il s'agit d'un appareil pourvu d'une unité de traitement informatique programmable, qui peut se présenter sous forme d'un smartphone, d'une tablette, d'un ordinateur de bureau, d'une station de travail, d'un serveur physique ou virtuel, c'est-à-dire un espace de calcul et de mémoire alloué au sein d'un serveur physique et sur lequel tourne un système d'exploitation ou une émulation de système d'exploitation), appelés „nœuds“ en référence à la théorie des graphes, capables de communiquer entre eux (c'est-à-dire de s'échanger des données informatiques), deux à deux, au moyen de liaisons filaires ou sans fil. The blockchain network is a decentralized computer network, called a peer-to-peer network (in Peer-to-Peer or P2P terminology), made up of a plurality of computers (in the functional sense of the term: it is a device provided with a programmable computer processing unit, which can be in the form of a smartphone, a tablet, a desktop computer, a workstation, a physical or virtual server, i.e. computing and memory space allocated within a physical server and on which an operating system or operating system emulation runs), called "nodes" with reference to the theory of graphs, capable of communicating with each other (ie exchanging computer data), two by two, by means of wired or wireless links.

[0021] Un réseau1blockchain comprenant des nœuds2communiquant par des liaisons3est illustré sur laFIG.1. Par souci de simplification et de conformité à la théorie des graphes, sur laFIG.1, les nœuds2du réseau1sont représentés par des cercles ; les liaisons3, par des arêtes reliant les cercles. Pour ne pas surcharger de traits le dessin, seules certaines liaisons3entre les nœuds2sont représentées. A network1blockchain comprising nodes2communicating by links3is illustrated in theFIG.1. For the sake of simplification and conformity with graph theory, on FIG.1, the nodes2 of the network1 are represented by circles; the bonds3, by edges connecting the circles. In order not to overload the drawing with lines, only certain links3 between nodes2 are shown.

[0022] Les nœuds2peuvent être disséminés sur de larges régions géographiques ; ils peuvent également être regroupés dans des régions géographiques plus restreintes. [0022] The nodes2 can be scattered over large geographic regions; they can also be grouped into smaller geographic regions.

[0023] Le protocole blockchain se présente sous forme d'un programme informatique implémenté dans chaque nœud2du réseau1blockchain, et qui inclut, outre des fonctions de dialogue - c'est-à-dire d'échange des données informatiques - avec les autres nœuds2du réseau1, un algorithme de calcul qui, à partir de données d'entrée appelées „transactions“ (qui sont des transcriptions d'interactions entre un ou plusieurs terminaux informatiques émetteurs et un ou plusieurs terminaux informatiques destinataires) : <tb><SEP>- Élabore des fichiers4de données structurées appelés „blocs“, chaque bloc4comprenant un corps4Acontenant des empreintes numériques de transactions, et un en-tête4Bcontenant : <tb><SEP><SEP>o Un numéro d'ordre, ou rang, ou encore hauteur (height en anglais), sous forme d'un nombre entier qui désigne la position du bloc4au sein d'une chaîne dans l'ordre croissant à partir d'un bloc initial (Genesis block en anglais) ; <tb><SEP><SEP>o Une empreinte numérique unique des données du corps4A ; <tb><SEP><SEP>o Une empreinte numérique unique, appelée pointeur, de l'en-tête du bloc4précédent, <tb><SEP><SEP>o Une donnée d'horodatage (timestamp en anglais) ; <tb><SEP>- Met en œuvre un mécanisme de validation des blocs4par consensus entre tout ou partie des nœuds2 ; <tb><SEP>- Concatène les blocs4validés pour former un registre5(le registre blockchain) sous forme d'un agrégat dans lequel chaque bloc4est relié mathématiquement au précédent par son pointeur.The blockchain protocol is in the form of a computer program implemented in each node2 of the network1 blockchain, and which includes, in addition to dialogue functions - that is to say exchange of computer data - with the other nodes2 of the network1 , a calculation algorithm which, from input data called "transactions" (which are transcriptions of interactions between one or more transmitting computer terminals and one or more recipient computer terminals): <tb> <SEP> - Builds structured data files4 called "blocks", each block4 including a body4containing digital transaction fingerprints, and a header4Bcontaining: <tb><SEP> <SEP> o A sequence number, or row, or height (height in English), in the form of an integer which designates the position of block4 within a chain in the order growing from an initial block (Genesis block); <tb><SEP> <SEP> o A unique digital fingerprint of body4A data; <tb><SEP> <SEP> o A unique digital fingerprint, called a pointer, of the header of the previous block4, <tb><SEP> <SEP> o A timestamp data; <tb> <SEP> - Implements a mechanism for validating blocks4 by consensus between all or part of the nodes2; <tb> <SEP> - Concatenates validated blocks4 to form a register5 (the blockchain register) in the form of an aggregate in which each block4 is mathematically linked to the previous one by its pointer.

[0024] La moindre modification des données du corps4Aou de l'en-tête4Bd'un bloc4affecte la valeur de son empreinte numérique et rompt par conséquent le lien existant entre ce bloc4ainsi modifié et le bloc4suivant dont le pointeur ne correspond plus. The slightest modification of the data of the body4Aou of the header4B of a bloc4affects the value of its digital fingerprint and consequently breaks the existing link between this bloc4 thus modified and the following bloc4 whose pointer no longer corresponds.

[0025] Selon un mode particulier de réalisation, l'empreinte numérique de chaque bloc4est un condensé (ou condensat, en anglais hash) des données du bloc4, c'est-à-dire le résultat d'une fonction de hachage appliquée aux données du bloc4(y compris le corps4Aet l'en-tête4Bà l'exception de l'empreinte numérique elle-même). La fonction de hachage est typiquement SHA-256. [0025] According to a particular embodiment, the digital fingerprint of each bloc4 is a digest (or hash) of the data of bloc4, that is to say the result of a hash function applied to the data of block4 (including body4A and header4B except for the digital fingerprint itself). The hash function is typically SHA-256.

[0026] Pour un bloc4donné de rang N (N un entier), le pointeur assure avec le bloc4précédent de rang N-1 une liaison inaltérable. En effet, toute modification des données du bloc4de rang N-1 aboutirait à la modification de son empreinte, et donc à un défaut de correspondance entre cette empreinte (modifiée) du bloc4de rang N-1 et le pointeur mémorisé parmi les métadonnées du bloc4de rang N. For a bloc4donné of rank N (N an integer), the pointer ensures with the bloc4précè of rank N-1 an unalterable link. Indeed, any modification of the data of block4 of rank N-1 would lead to the modification of its fingerprint, and therefore to a lack of correspondence between this (modified) fingerprint of block4 of rank N-1 and the pointer stored among the metadata of block4 of rank NOT.

[0027] La succession des blocs4reliés entre eux deux à deux par correspondance du pointeur d'un bloc4donné de rang N avec l'empreinte numérique du bloc précédent de rang N-1 constitue par conséquent le registre5blockchain sous forme d'un agrégat de blocs4corrélés, dans lequel la moindre modification des données d'un bloc4de rang N-1 se traduit par une rupture du lien avec le bloc4suivant de rang N - et donc la rupture du registre blockchain. The succession of blocks4 linked together two by two by correspondence of the pointer of a bloc4donné of rank N with the digital fingerprint of the previous block of rank N-1 therefore constitutes the register5blockchain in the form of an aggregate of correlated blocks4, in which the slightest modification of the data of a block4 of rank N-1 results in a breaking of the link with the following block4 of rank N - and therefore the breaking of the blockchain register.

[0028] C'est cette structure particulière qui procure aux données contenues dans le registre5blockchain une réputation d'immuabilité, garantie par le fait que le registre5blockchain est répliqué sur tous les nœuds2du réseau1, obligeant tout attaquant, non seulement à modifier tous les blocs4de rang supérieur au bloc4modifié, mais à déployer ces modifications (alors même que le registre5blockchain continue de se constituer par les nœuds2appliquant le protocole blockchain) à l'ensemble des nœuds2. It is this particular structure which gives the data contained in the register5blockchain a reputation for immutability, guaranteed by the fact that the register5blockchain is replicated on all the nodes2 of the network1, forcing any attacker, not only to modify all the blocks4 of rank greater than the modified block4, but to deploy these modifications (even though the register5blockchain continues to be constituted by the nodes2 applying the blockchain protocol) to all the nodes2.

[0029] Quel que soit le type de consensus appliqué par le mécanisme de validation des blocs4, la plupart des technologies blockchain ont pour fonction primaire d'enregistrer, dans leur registre5blockchain, des transactions passées entre un ou plusieurs terminaux émetteurs, et un ou plusieurs terminaux récepteurs, indifféremment appelés „utilisateurs“. Whatever the type of consensus applied by the block validation mechanism4, most blockchain technologies have the primary function of recording, in their blockchain ledger5, transactions between one or more issuing terminals, and one or more receiving terminals, interchangeably called "users".

[0030] A chaque utilisateur est associé un compte, appelé de manière simplificatrice „portefeuille électronique“ (en anglais digital wallet), qui contient une zone mémoire et une interface programmatique ayant des fonctions d'interaction avec le réseau1blockchain pour lui soumettre des transactions, et des fonctions de synchronisation avec le registre5blockchain pour inscrire, dans la zone mémoire, les transactions validées par inscription dans le registre5blockchain. Each user is associated with an account, called in a simplified manner "electronic wallet" (in English digital wallet), which contains a memory area and a programmatic interface having interaction functions with the 1blockchain network to submit transactions to it, and synchronization functions with the 5blockchain register to register, in the memory area, the transactions validated by registration in the 5blockchain register.

[0031] Sauf mention contraire, et par souci de simplification, l'expression simple „chaîne de blocs“ ou „blockchain“ désigne le registre5blockchain lui-même. Unless otherwise specified, and for the sake of simplicity, the simple expression "blockchain" or "blockchain" designates the register5blockchain itself.

[0032] Certaines technologies blockchain récentes (Ethereum, typiquement) ajoutent aux trois couches matérielle (réseau blockchain), protocolaire (protocole blockchain) et informationnelle (registre blockchain) une couche applicative qui se présente sous forme d'un environnement de développement permettant de programmer des applications, appelées „contrats intelligents“ (en anglais Smart contracts), qui peuvent être déployées sur le registre5blockchain à partir des nœuds2. Some recent blockchain technologies (Ethereum, typically) add to the three hardware (blockchain network), protocol (blockchain protocol) and informational (blockchain register) layers an application layer which takes the form of a development environment for programming applications, called “smart contracts”, which can be deployed on the ledger5blockchain from nodes2.

[0033] On décrit à présent succinctement la technologie des contrats intelligents. We will now briefly describe the technology of smart contracts.

[0034] Un contrat intelligent comprend deux éléments : Un compte, appelé „compte de contrat“ (en anglais Contract account), dans la zone mémoire duquel est inscrit un code source contenant des instructions informatiques implémentant les fonctions attribuées au contrat intelligent ; Un code exécutable (en anglais Executable Bytecode) résultant d'une compilation du code source, ce code exécutable étant mémorisé ou déployé au sein du registre5blockchain, c'est-à-dire inséré en tant que transaction dans un bloc4du registre5blockchain.[0034] A smart contract comprises two elements: An account, called a “Contract account”, in the memory area of which is written a source code containing computer instructions implementing the functions assigned to the smart contract; An executable code (in English Executable Bytecode) resulting from a compilation of the source code, this executable code being stored or deployed within the register5blockchain, that is to say inserted as a transaction in a block4 of the register5blockchain.

[0035] Dans la technologie blockchain proposée par Ethereum, un smart contrat est activé par un appel (en anglais Call) adressé par un autre compte, dit compte initiateur (qui peut être un compte utilisateur ou un compte de contrat), cet appel se présentant sous forme d'une transaction contenant, d'une part, un fonds de réserve à transférer (c'est-à-dire un paiement) depuis le compte initiateur au compte de contrat et, d'autre part, des conditions initiales. In the blockchain technology proposed by Ethereum, a smart contract is activated by a call (in English Call) sent by another account, said initiator account (which can be a user account or a contract account), this call is presenting in the form of a transaction containing, on the one hand, a reserve fund to be transferred (i.e. a payment) from the initiating account to the contract account and, on the other hand, initial conditions.

[0036] Cet appel est inscrit en tant que transaction dans le registre5blockchain. Il déclenche : Le transfert du fonds de réserve du compte initiateur au compte de contrat ; La désignation, parmi le réseau1blockchain, d'un nœud d'exécution associé à un compte utilisateur ; L'activation, dans une unité de traitement informatique du nœud d'exécution, d'un environnement d'exécution ou machine virtuelle (appelé Ethereum Virtual Machine ou EVM dans le cas d'Ethereum) ; L'exécution pas-à-pas des étapes de calcul du code exécutable par la machine virtuelle à partir des conditions initiales, chaque étape de calcul étant accompagnée d'un transfert d'une fraction (appelée gas dans le cas d'Ethereum) du fonds de réserve depuis le compte de contrat vers le compte utilisateur du nœud d'exécution, et ce jusqu'à épuisement des étapes de calcul, au terme desquelles est obtenu un résultat ; L'inscription (éventuellement sous forme d'une empreinte numérique) de ce résultat en tant que transaction dans le registre5blockchain.This call is recorded as a transaction in the register5blockchain. It triggers: The transfer of the reserve fund from the initiating account to the contract account; The designation, among the network1blockchain, of an execution node associated with a user account; The activation, in a computer processing unit of the execution node, of an execution environment or virtual machine (called Ethereum Virtual Machine or EVM in the case of Ethereum); The step-by-step execution of the steps for calculating the executable code by the virtual machine from the initial conditions, each step of calculation being accompanied by a transfer of a fraction (called gas in the case of Ethereum) of the reserve fund from the contract account to the user account of the execution node, until the calculation steps are exhausted, at the end of which a result is obtained; The entry (possibly in the form of a digital fingerprint) of this result as a transaction in the ledger5blockchain.

[0037] Le compte initiateur récupère (c'est-à-dire, en pratique, télécharge) le résultat lors de sa synchronisation au registre5blockchain. The initiating account retrieves (that is to say, in practice, downloads) the result when it is synchronized with the register5blockchain.

[0038] On introduit à présent brièvement les environnements d'exécution sécurisé. We now briefly introduce secure execution environments.

[0039] Un environnement d'exécution sécurisé (Trusted execution environment ou TEE) est, au sein d'une unité6de traitement informatique pourvue d'un processeur ou CPU (Central Processing Unit)7, un espace temporaire de calcul et de stockage de données, appelé (par convention) enclave, ou encore enclave cryptographique, qui se trouve isolé, par des moyens cryptographiques, de toute action non autorisée résultant de l'exécution d'une application hors de cet espace, typiquement du système d'exploitation. A secure execution environment (Trusted execution environment or TEE) is, within a computer processing unit provided with a processor or CPU (Central Processing Unit) 7, a temporary space for calculation and data storage. , called (by convention) an enclave, or even cryptographic enclave, which is isolated, by cryptographic means, from any unauthorized action resulting from the execution of an application outside this space, typically the operating system.

[0040] Intel® a, par exemple, revu à partir de 2013 la structure et les interfaces de ses processeurs pour y inclure des fonctions d'enclave, sous la dénomination Software Guard Extension, plus connue sous l'acronyme SGX. SGX équipe la plupart des processeurs de type XX86 commercialisés par Intel® depuis 2015, et plus précisément à partir de la sixième génération incorporant la microarchitecture dite Skylake. Les fonctions d'enclave proposées par SGX ne sont pas accessibles d'office : il convient de les activer via le système élémentaire d'entrée/sortie (Basic Input Output System ou BIOS). [0040] Intel®, for example, from 2013 revised the structure and interfaces of its processors to include enclave functions, under the name Software Guard Extension, better known by the acronym SGX. SGX equips most of the XX86 type processors marketed by Intel® since 2015, and more specifically from the sixth generation incorporating the so-called Skylake microarchitecture. The enclave functions offered by SGX are not automatically accessible: they must be activated via the elementary input / output system (Basic Input Output System or BIOS).

[0041] Il n'entre pas dans les nécessités de la présente description de détailler l'architecture des enclaves, dans la mesure où : En dépit de sa relative jeunesse, cette architecture est relativement bien documentée, notamment par Intel® qui a déposé de nombreux brevets, cf. par ex., parmi les plus récents, la demande de brevet américain US 2019/0058696 ; Des processeurs permettant de les implémenter sont disponibles sur le marché - notamment les processeur Intel® précités ; Seules les fonctionnalités permises par l'enclave nous intéressent ici, ces fonctionnalités pouvant être mises en œuvre via des lignes de commande spécifiques. A ce titre, l'homme du métier pourra se référer au guide édité en 2016 par Intel® : Software Guard Extensions, Developer Guide.It does not come within the requirements of the present description to detail the architecture of the enclaves, insofar as: Despite its relative youth, this architecture is relatively well documented, in particular by Intel® which has filed numerous patents, cf. e.g., among the most recent, the US patent application US 2019/0058696; Processors making it possible to implement them are available on the market - in particular the aforementioned Intel® processors; Only the functionalities allowed by the enclave are of interest to us here, these functionalities being able to be implemented via specific command lines. As such, those skilled in the art may refer to the guide published in 2016 by Intel®: Software Guard Extensions, Developer Guide.

[0042] Pour une description plus accessible des enclaves, et plus particulièrement d'Intel® SGX, l'homme du métier peut également se référer à A. Adamski, Overview of Intel SGX - Part 1, SGX Internal, ou à D. Boneh, Surnaming Schemes, Fast Verification, and Applications to SGX Technology, in Topics in Cryptology, CT - RSA 2017, The Cryptographers' Track at the RSA Conférence 2017, San Francisco, CA, USA, Feb.14-17, 2017, Proceedings, pp.149-164, ou encore à K. Severinsen, Secure Programming with Intel SGX and Novel Applications, Thesis submitted for the Degree of Master in Programming and Networks, Dept. Of Informatics, Faculty of Mathematics and Natural Science, University of Oslo, Autumn 2017. For a more accessible description of the enclaves, and more particularly of Intel® SGX, those skilled in the art can also refer to A. Adamski, Overview of Intel SGX - Part 1, SGX Internal, or to D. Boneh , Nickaming Schemes, Fast Verification, and Applications to SGX Technology, in Topics in Cryptology, CT - RSA 2017, The Cryptographers' Track at the RSA Conférence 2017, San Francisco, CA, USA, Feb. 14-17, 2017, Proceedings, pp. 149-164, or to K. Severinsen, Secure Programming with Intel SGX and Novel Applications, Thesis submitted for the Degree of Master in Programming and Networks, Dept. Of Informatics, Faculty of Mathematics and Natural Science, University of Oslo, Autumn 2017.

[0043] Pour résumer, en référence à laFIG.2, une enclave8comprend, en premier lieu, une zone9mémoire sécurisée (dénommée Page Cache d'enclave, en anglais Enclave Page Cache ou EPC), qui contient du code et des données relatives à l'enclave elle-même, et dont le contenu est chiffré et déchiffré en temps réel par une puce dédiée dénommée Moteur de Chiffrement de Mémoire (en anglais Memory Encryption Engine ou MEE). L'EPC9est implémentée au sein d'une partie de la mémoire vive dynamique (DRAM)10allouée au processeur7, et à laquelle les applications ordinaires (notamment le système d'exploitation) n'ont pas accès. To summarize, with reference to theFIG.2, an enclave8includes, first of all, a secure memory zone9 (called Enclave Page Cache, in English Enclave Page Cache or EPC), which contains code and data relating to the 'enclave itself, and whose content is encrypted and decrypted in real time by a dedicated chip called the Memory Encryption Engine (MEE). The EPC9 is implemented within a part of the dynamic random access memory (DRAM) 10 allocated to the processor7, and to which ordinary applications (in particular the operating system) do not have access.

[0044] L'enclave8comprend, en deuxième lieu, des clés cryptographiques employées pour chiffrer ou signer à la volée les données sortant de l'EPC9, ce grâce à quoi l'enclave8peut être identifiée (notamment par d'autres enclaves), et les données qu'elle génère peuvent être chiffrées pour être stockées dans des zones de mémoire non protégées (c'est-à-dire hors de l'EPC9). [0044] The enclave8 comprises, secondly, cryptographic keys used to encrypt or sign on the fly the data leaving the EPC9, whereby the enclave8 can be identified (in particular by other enclaves), and the The data it generates can be encrypted to be stored in unprotected memory areas (i.e. outside of the EPC9).

[0045] Pour pouvoir exploiter une telle enclave8, une application11doit être segmentée en, d'une part, une ou plusieurs parties12non sécurisées (en anglais untrusted part(s)), et, d'autre part, une ou plusieurs parties13sécurisées (en anglais trusted part(s)). In order to be able to use such an enclave8, an application11 must be segmented into, on the one hand, one or more unsecured parts12 (in English untrusted part (s)), and, on the other hand, one or more secure parts13 (in English trusted part (s)).

[0046] Seuls les processus induits par la (les) partie(s)13sécurisée(s) de l'application11peuvent accéder à l'enclave8. Les processus induits par la (les) partie(s)12non sécurisée(s) ne peuvent pas accéder à l'enclave8, c'est-à-dire qu'ils ne peuvent pas dialoguer avec les processus induits par la (les) partie(s)13sécurisée(s). Only the processes induced by the secure part (s) 13 of the application11 can access the enclave8. The processes induced by the unsecured part (s) 12 cannot access the enclave8, i.e. they cannot dialogue with the processes induced by the part (s) (s) 13secure (s).

[0047] La création (également dénommée instanciation) de l'enclave8et le déroulement de processus en son sein sont commandés via un jeu14d'instructions particulières exécutables par le processeur7et appelées par la (les) partie(s)13sécurisée(s) de l'application11. The creation (also called instantiation) of the enclave8 and the flow of processes within it are controlled via a set14d'instructions particular executable by the processor7et called by the part (s) 13secure (s) of the application11.

[0048] Parmi ces instructions : ECREATE commande la création d'une enclave8 ; EINIT commande l'initialisation de l'enclave8 ; EADD commande le chargement de code dans l'enclave8 ; EENTER commande l'exécution de code dans l'enclave8 ; ERESUME commande une nouvelle exécution de code dans l'enclave8 ; EEXIT commande la sortie de l'enclave8, typiquement à la fin d'un processus exécuté dans l'enclave8.[0048] Among these instructions: ECREATE commands the creation of an enclave8; EINIT commands the initialization of the enclave8; EADD commands code loading into the enclave8; EENTER commands code execution in the enclave8; ERESUME commands a new execution of code in the enclave8; EEXIT controls the exit of enclave8, typically at the end of a process running in enclave8.

[0049] On a, sur laFIG.2, représenté de manière fonctionnelle l'enclave8sous la forme d'un bloc (en traits pointillés) englobant la partie13sécurisée de l'application11, le jeu14d'instructions du processeur7, et l'EPC9. Cette représentation n'est pas réaliste ; elle vise simplement à regrouper visuellement les éléments qui composent ou exploitent l'enclave8. We have, on laFIG.2, functionally represented the enclave8s in the form of a block (in dotted lines) including the secure part13 of the application11, the set14d'instructions of the processor7, and the EPC9. This representation is not realistic; it simply aims to visually group together the elements that make up or exploit the enclave8.

[0050] Nous expliquerons ci-après comment sont exploitées les enclaves. We will explain below how the enclaves are exploited.

[0051] Les nœuds2du réseau1blockchain étant tous équipés de zones mémoires, celles-ci peuvent être exploitées en tant qu'espace de stockage pour des données15issues d'un terminal16émetteur (ici représenté sous forme d'un smartphone) relié au réseau1. Pour minimiser le risque de perte des données15, il est avantageux de procéder à une réplication de celles-ci, c'est-à-dire d'effectuer une copie des données15, et de distribuer une copie à plusieurs nœuds2du réseau1blockchain. La traçabilité des données15peut être réalisée par inscription, dans le registre5blockchain, d'une ou plusieurs empreintes numériques des mémorisations ainsi effectuées. The nodes2du network1blockchain are all equipped with memory areas, these can be used as storage space for data15 from a terminal16emitter (here shown in the form of a smartphone) connected to the network1. To minimize the risk of data loss15, it is advantageous to perform a replication of the data, that is to say to make a copy of the data15, and to distribute a copy to several nodes2 of the blockchain network. Data traceability15 can be achieved by entering, in the blockchain register, one or more digital fingerprints of the memorizations thus made.

[0052] Ce stockage distribué des données15est avantageusement piloté par un contrat intelligent, activé par exemple par le terminal16émetteur qui, tout en transmettant les données15à stocker au réseau1, transmet au contrat intelligent un appel par la procédure décrite précédemment. This distributed storage of data15est advantageously controlled by a smart contract, activated for example by the transmitter terminal16 which, while transmitting the data15 to be stored to the network1, transmits to the smart contract a call by the procedure described above.

[0053] Si la réplication des données15au sein du réseau1blockchain résout le problème de la pérennité des données15, il ne résout pas le problème de leur confidentialité. If the replication of data15 within the network1blockchain solves the problem of the sustainability of the data15, it does not solve the problem of their confidentiality.

[0054] Procéder à un chiffrement des données15au niveau du terminal16émetteur (lequel stockerait une clé de déchiffrement des données) résoudrait le problème de la confidentialité vis-à-vis des tiers non autorisés (sauf à admettre que la clé de déchiffrement pourrait être copiée par un tiers non autorisé à partir du terminal16émetteur), mais ne garantirait cependant pas que les données demeureraient accessibles par le terminal16émetteur lui-même, dans l'hypothèse - qui est réaliste en pratique - où la clé cryptographique serait perdue ou corrompue. Encrypting the data15 at the level of the sender terminal16 (which would store a data decryption key) would solve the problem of confidentiality vis-à-vis unauthorized third parties (except to admit that the decryption key could be copied by an unauthorized third party from the transmitting terminal16), but would not however guarantee that the data would remain accessible by the transmitting terminal16 itself, in the hypothesis - which is realistic in practice - where the cryptographic key is lost or corrupted.

[0055] Se contenter de distribuer les données15cryptées parmi des nœuds du réseau1peut sembler insuffisant : il apparaît en effet nécessaire de procéder à un contrôle (ponctuel ou régulier), auprès des nœuds2, que les données sont effectivement stockées - et qu'elles continuent de l'être. Simply distributing the encrypted data15 among the nodes of the network1 may seem insufficient: it does indeed appear necessary to carry out a check (punctual or regular), at the nodes2, that the data is actually stored - and that they continue to be checked. being.

[0056] A cet effet, il est ici proposé un procédé de stockage des données15en deux phases, à savoir : Une phase de distribution des données15sur le réseau1 ; Une phase de contrôle que les données15sont effectivement stockées sur le réseau1.To this end, a two-phase data storage method is proposed here, namely: A data distribution phase15 on the network1; A phase of checking that the data15 is actually stored on the network1.

[0057] Lors de la phase de distribution, ce sont non seulement les données15qui sont distribuées (sous forme cryptée), mais également des clés de déchiffrement de celles-ci, via une enclave8instanciée sur un nœud2E, dit nœud d'entrée, du réseau1(FIG.3). During the distribution phase, it is not only the data15 which are distributed (in encrypted form), but also the decryption keys thereof, via an enclave8 instantiated on a node2E, called entry node, of the network1 (FIG. 3).

[0058] A cet effet, une opération préliminaire de la phase de distribution consiste, à partir du terminal16émetteur dans lequel sont stockées les données15, à transmettre une requête de stockage des données15à destination du réseau1, typiquement en activant un contrat intelligent déployé sur la blockchain5. To this end, a preliminary operation of the distribution phase consists, from the transmitter terminal16 in which the data15 is stored, in transmitting a data storage request15 to the network1, typically by activating a smart contract deployed on the blockchain5 .

[0059] A réception de la requête de stockage par au moins un nœud2du réseau1, le contrat intelligent sélectionne, au sein du réseau1au moins un nœud2Ed'entrée, équipé d'une unité de traitement informatique dans laquelle est implémentée une enclave8. On receipt of the storage request by at least one node2du network1, the smart contract selects, within the network1at least one input node2E, equipped with a computer processing unit in which an enclave8 is implemented.

[0060] Cette enclave8est alors instanciée en application des instructions du contrat intelligent, et les données15y sont chargées à partir du terminal16émetteur et via une ligne17de communication sécurisée (par ex. utilisant le protocole Transport Layer Security ou TLS). A cet effet, l'enclave8peut être pourvue, dès son instanciation, d'une émulation d'interface18de communication supportant le protocole choisi (ici TLS) pour l'échange des données sécurisées. This enclave8est then instantiated in application of the instructions of the smart contract, and the data15y is loaded from the emitting terminal16 and via a secure communication line (eg using the Transport Layer Security or TLS protocol). For this purpose, the enclave8 can be provided, as soon as it is instantiated, with a communication interface 18 emulation supporting the chosen protocol (here TLS) for the exchange of secure data.

[0061] Le protocole blockchain est avantageusement chargé dans l'enclave8, pour former un module19blockchain apte à interroger le registre5blockchain et/ou à participer au processus de création et validation des blocs4. The blockchain protocol is advantageously loaded into the enclave8, to form a module19blockchain able to query the register5blockchain and / or to participate in the process of creation and validation of the blocks4.

[0062] Une transaction20contenant une empreinte numérique du chargement des données ainsi effectué est ici inscrite dans un bloc4de la blockchain5, aux fins de traçabilité. A transaction20containing a digital imprint of the data loading thus carried out is here recorded in a bloc4of the blockchain5, for the purposes of traceability.

[0063] Cette transaction20peut être transmise au module19blockchain par le terminal16émetteur, pour être inscrite par un ou plusieurs nœuds2du réseau (par le processus décrit plus haut) dans un nouveau bloc4du registre5blockchain. En variante, le module19blockchain émet de lui-même une transaction20pour inscription dans un nouveau bloc4. This transaction20 can be transmitted to the module19blockchain by the emitter terminal16, to be registered by one or more nodes2 of the network (by the process described above) in a new block4 of the register5blockchain. As a variant, the module19blockchain itself issues a transaction20for registration in a new block4.

[0064] Dans l'enclave8du nœud d'entrée se déroulent alors les opérations suivantes. In the enclave8du entry node then take place the following operations.

[0065] Une première opération consiste à chiffrer les données15au moyen d'une première clé21cryptographique de chiffrement pour former un premier conteneur22crypté, en lui associant une première clé23cryptographique de déchiffrement. A cet effet, les données15reçues du terminal16émetteur sont relayées par l'interface18de communication à un module24de chiffrement implémenté dans l'enclave8. A first operation consists in encrypting the data15 by means of a first cryptographic encryption key21 to form a first encrypted container22, by associating with it a first cryptographic decryption key. To this end, the data 15 received from the emitting terminal 16 are relayed by the communication interface 18 to an encryption module 24 implemented in the enclave 8.

[0066] Selon un mode préféré de réalisation, le chiffrement est symétrique. Dans ce cas, la première clé21de chiffrement et la première clé23de déchiffrement sont une seule et même clé. According to a preferred embodiment, the encryption is symmetrical. In this case, the first encryption key21 and the first decryption key23 are one and the same key.

[0067] Une deuxième opération consiste à fragmenter la première clé23de déchiffrement. Plus précisément, la première clé23de déchiffrement est fragmentée en un nombre N prédéterminé de fragments23.i(i un entier, 2≤i≤N). A second operation consists in fragmenting the first decryption key. More precisely, the first decryption key23 is fragmented into a predetermined number N of fragments23.i (i an integer, 2≤i≤N).

[0068] Selon un mode préféré de réalisation, N est tel que N>3 et la fragmentation de la première clé23de déchiffrement est réalisée en application des règles de Shamir (dite du Partage de Secret de Shamir, en anglais Shamir's Secret Sharing), et plus précisément du schéma seuil, où un nombre K entier prédéterminé (1<K<N) est choisi tel qu'un nombre K de fragments23.isont suffisants pour reconstituer la première clé23de déchiffrement. According to a preferred embodiment, N is such that N> 3 and the fragmentation of the first decryption key is carried out in application of Shamir's rules (known as Shamir's Secret Sharing, in English Shamir's Secret Sharing), and more precisely of the threshold scheme, where a predetermined integer number K (1 <K <N) is chosen such that a number K of fragments23.isont sufficient to reconstitute the first decryption key23.

[0069] Une troisième opération consiste à calculer un condensat25, dit de référence, du premier conteneur22, en lui appliquant une fonction de hachage prédéterminée - typiquement SHA-256. A third operation consists in calculating a so-called reference condensate 25 of the first container 22, by applying to it a predetermined hash function - typically SHA-256.

[0070] Une quatrième opération consiste à fragmenter le condensat25de référence en un nombre prédéterminé M de fragments25.j(j un entier, 2≤j≤). A fourth operation consists in fragmenting the reference condensate 25de into a predetermined number M of fragments25.j (j an integer, 2≤j≤).

[0071] Selon un mode préféré de réalisation, M est tel que M>3 et la fragmentation du condensat25est réalisée en application des règles de Shamir, et plus précisément du schéma seuil, où un nombre entier prédéterminé L (1<L<M) est choisi tel qu'un nombre L de fragments25.jsont suffisants pour reconstituer le condensat25. According to a preferred embodiment, M is such that M> 3 and the fragmentation of the condensate is carried out in application of Shamir's rules, and more precisely of the threshold diagram, where a predetermined integer L (1 <L <M) is chosen such that a number L of fragments25.j are sufficient to reconstitute the condensate25.

[0072] Une cinquième opération consiste à rechiffrer le premier conteneur22(déjà crypté) au moyen d'une deuxième clé26cryptographique de chiffrement pour former un deuxième conteneur27crypté (deux fois, donc), en lui associant une deuxième clé28cryptographique de déchiffrement. A fifth operation consists in re-encrypting the first container22 (already encrypted) by means of a second cryptographic encryption key26 to form a second encrypted container27 (twice, therefore), by associating it with a second cryptographic decryption key28.

[0073] Selon un mode préféré de réalisation, le chiffrement est symétrique. Dans ce cas, la deuxième clé26de chiffrement et la deuxième clé28de déchiffrement sont une seule et même clé. According to a preferred embodiment, the encryption is symmetrical. In this case, the second encryption key26 and the second decryption key28 are one and the same key.

[0074] Une sixième opération consiste à fragmenter la deuxième clé28de déchiffrement. Plus précisément, la deuxième clé28de déchiffrement est fragmentée en un nombre P prédéterminé de fragments28.k(k un entier, 2≤k≤P). A sixth operation consists in fragmenting the second decryption key. More precisely, the second decryption key28 is fragmented into a predetermined number P of fragments28.k (k an integer, 2≤k≤P).

[0075] Selon un mode préféré de réalisation, P est tel que P>3 et la fragmentation de la deuxième clé28de déchiffrement est réalisée en application des règles de Shamir, et plus précisément du schéma seuil, où un nombre entier prédéterminé Q (1<Q<P) est choisi tel qu'un nombre Q de fragments28.ksont suffisants pour reconstituer la deuxième clé28de déchiffrement. According to a preferred embodiment, P is such that P> 3 and the fragmentation of the second decryption key is carried out by applying Shamir's rules, and more precisely of the threshold scheme, where a predetermined integer Q (1 < Q <P) is chosen such that a number Q of fragments28.k are sufficient to reconstitute the second decryption key28.

[0076] Une septième opération consiste à désigner, parmi le réseau1, un premier groupe de nœuds2Ade stockage, équipés chacun d'une unité de traitement informatique dans laquelle est implémentée une enclave8. A seventh operation consists in designating, from among the network1, a first group of storage nodes2A, each equipped with a computer processing unit in which an enclave8 is implemented.

[0077] Une huitième opération consiste à distribuer le deuxième conteneur27crypté vers les nœuds2Ade stockage du premier groupe. An eighth operation consists in distributing the second encrypted container27 to the storage nodes2Ade of the first group.

[0078] A cet effet, l'enclave8est avantageusement pourvue d'un module29de distribution de données, auquel le module24de chiffrement communique le deuxième conteneur27crypté pour distribution aux nœuds2Ade stockage du premier groupe. For this purpose, the enclave8est advantageously provided with a data distribution module29, to which the encryption module24 communicates the second encrypted container27 for distribution to the storage nodes2A of the first group.

[0079] Une neuvième opération consiste à désigner, parmi le réseau1, un deuxième groupe de nœuds2Bde stockage, en nombre N égal au nombre de fragments23.ide la première clé23de déchiffrement. A ninth operation consists in designating, among the network1, a second group of storage nodes2B, in number N equal to the number of fragments23.ide the first decryption key23.

[0080] Ce deuxième groupe de nœuds2Bde stockage est de préférence disjoint du premier groupe de nœuds2Ade stockage (comme illustré en pointillés sur laFIG.3). This second group of storage nodes2B is preferably separate from the first group of storage nodes2A (as illustrated in dotted lines in FIG. 3).

[0081] Une dixième opération consiste à distribuer les fragments23.ide la première clé23cryptographique de déchiffrement vers les nœuds2Bde stockage du deuxième groupe, chaque nœud2Bde stockage du deuxième groupe recevant un unique fragment23.i. A tenth operation consists in distributing the fragments23.ide the first cryptographic decryption key23 to the storage nodes2B of the second group, each storage node2B of the second group receiving a single fragment23.i.

[0082] Selon un mode préféré de réalisation, l'enclave8est pourvue d'un module30de fragmentation et de distribution, auquel le module24de chiffrement communique la première clé23de déchiffrement pour fragmentation et distribution aux nœuds2Bde stockage du deuxième groupe. According to a preferred embodiment, the enclave8est provided with a fragmentation and distribution module30, to which the encryption module24 communicates the first decryption key23 for fragmentation and distribution to the storage nodes2B of the second group.

[0083] Une onzième opération consiste à désigner, parmi le réseau1, un troisième groupe de nœuds2Cde stockage en nombre M égal aux fragments25.jdu condensat25de référence. An eleventh operation consists in designating, among the network1, a third group of storage nodes2C in number M equal to the fragments25.jdu condensate25de reference.

[0084] Une douzième opération consiste à distribuer chaque fragment25.jdu condensat25de référence vers un nœud2Cdu troisième groupe, chaque nœud2Cdu troisième groupe recevant un unique fragment25.j. A twelfth operation consists in distributing each fragment25.jdu condensate25de reference to a node2C of the third group, each node2C of the third group receiving a single fragment25.j.

[0085] Ce troisième groupe de nœuds2Cde stockage est de préférence disjoint du premier groupe de nœuds2Ade stockage et du deuxième groupe de nœuds2Bde stockage (comme illustré en pointillés sur laFIG.3). This third group of storage nodes2C is preferably separate from the first group of storage nodes2A and from the second group of storage nodes2B (as illustrated in dotted lines in FIG. 3).

[0086] Une treizième opération consiste à désigner, parmi le réseau1, un quatrième groupe de nœuds2Dde stockage en nombre P égal aux fragments28.kde la deuxième clé28cryptographique de déchiffrement. A thirteenth operation consists in designating, among the network1, a fourth group of storage nodes2D in number P equal to the fragments28.k of the second cryptographic decryption key28.

[0087] Ce quatrième groupe de nœuds2Dde stockage est de préférence disjoint du premier groupe de nœuds2Ade stockage, du deuxième groupe de nœuds2Bde stockage et du troisième groupe de nœuds2Cde stockage (comme illustré en pointillés sur laFIG.3). This fourth group of storage nodes2D is preferably separate from the first group of storage nodes2A, from the second group of storage nodes2B and from the third group of storage nodes2C (as illustrated in dotted lines in Fig.3).

[0088] Une quatorzième opération consiste à distribuer chaque fragment28.kde la deuxième clé28de déchiffrement vers un nœud2Ddu quatrième groupe, chaque nœud2Dde stockage du quatrième groupe recevant un unique fragment28.k. A fourteenth operation consists in distributing each fragment28.kde the second decryption key28 to a node2D of the fourth group, each storage node2D of the fourth group receiving a unique fragment28.k.

[0089] Ces opérations achevées, l'enclave8peut être refermée. These operations completed, the enclave8 can be closed.

[0090] Hors de l'enclave8, les opérations suivantes sont réalisées : <tb><SEP>o Le deuxième conteneur27crypté est mémorisé au sein de chaque nœud2Ade stockage du premier groupe ; <tb><SEP>o Chaque fragment23.ide la première clé23cryptographique de déchiffrement est mémorisé au sein de chaque nœud2Brespectif de stockage du deuxième groupe ; <tb><SEP>o Chaque fragment25.jdu condensat25de référence est mémorisé au sein de chaque nœud2Crespectif de stockage du troisième groupe ; <tb><SEP>o Chaque fragment28.kde la deuxième clé28cryptographique de déchiffrement est stocké au sein de chaque nœud2Drespectif de stockage du quatrième groupe.Outside the enclave8, the following operations are carried out: <tb> <SEP> o The second encrypted container27 is stored within each storage node2A of the first group; <tb> <SEP> o Each fragment23.ide the first decryption cryptographic key23 is stored within each respective storage node2B of the second group; <tb> <SEP> o Each fragment25.jdu reference condensate25 is stored within each respective storage node2 of the third group; <tb> <SEP> o Each fragment28.k of the second decryption cryptographic key28 is stored within each respective storage node2 of the fourth group.

[0091] Pour assurer la traçabilité de ces opérations, au moins une transaction contenant une empreinte numérique des distributions ou des mémorisations ainsi effectuées est avantageusement inscrite dans un bloc4de la chaîne5de blocs, par un ou plusieurs nœuds2du réseau1. Cette transaction peut être initiée par les nœuds2A,2B,2Cet2Dde stockage, mais elle peut également être initiée par l'enclave8elle-même (et plus précisément par le module19blockchain) avant sa fermeture. To ensure the traceability of these operations, at least one transaction containing a digital imprint of the distributions or memorizations thus carried out is advantageously registered in a bloc4de the chain5de blocks, by one or more nodes2du network1. This transaction can be initiated by the storage nodes2A, 2B, 2Cand2D, but it can also be initiated by the enclave8 itself (and more precisely by the module19blockchain) before its closure.

[0092] Comme on l'a déjà suggéré, il est important de s'assurer que les données15sont effectivement stockées sur les nœuds2Ade stockage du réseau1. Plus précisément, il est souhaitable d'obtenir (ponctuellement ou régulièrement) de la part de chaque nœud2Ala preuve que ce stockage est effectivement maintenu, sans toutefois permettre à un quelconque nœud2Adu premier groupe d'accéder aux données15qu'il stocke sous la forme doublement cryptée du deuxième conteneur27. As has already been suggested, it is important to ensure that the data15 are actually stored on the storage nodes2A of the network1. More precisely, it is desirable to obtain (occasionally or regularly) from each node2A proof that this storage is effectively maintained, without however allowing any node2A of the first group to access the data15 that it stores in the doubly encrypted form. of the second container27.

[0093] A cet effet, la phase de contrôle comprend une succession d'opérations, décrites ci-après en référence à laFIG.4, qui sont avantageusement pilotées par un processus inscrit dans un contrat31intelligent déployé sur la blockchain5et activé ponctuellement ou régulièrement. To this end, the control phase comprises a succession of operations, described below with reference to FIG.4, which are advantageously controlled by a process included in an intelligent contract deployed on the blockchain5 and activated occasionally or regularly.

[0094] Une opération préalable consiste à désigner (DES), parmi les nœuds2du réseau1, un nœud2Fde contrôle équipé d'une unité de traitement informatique dans laquelle est implémentée une enclave8. Cette désignation peut être commandée par le processus du contrat31intelligent. A prior operation consists in designating (DES), among the nodes2du network1, a control node2F equipped with a computer processing unit in which an enclave8 is implemented. This designation can be ordered through the smart contract process.

[0095] Ensuite, pour chaque nœud2Ade stockage du premier groupe, tel que désigné (DES) successivement par le contrat31intelligent, la phase de contrôle comprend la répétition des opérations suivantes. Next, for each storage node 2A of the first group, as designated (DES) successively by the intelligent contract, the control phase comprises the repetition of the following operations.

[0096] Une première opération consiste à instancier l'enclave8du nœud2Fde contrôle. Cette instanciation peut être commandée par le processus du contrat31intelligent. A first operation consists in instantiating the enclave8du control node2F. This instantiation can be controlled by the smart contract process.

[0097] Une deuxième opération consiste à instancier l'enclave8du nœud2Ade stockage. Cette instanciation peut être commandée par le processus du contrat31intelligent. A second operation consists in instantiating the enclave8du storage node2A. This instantiation can be controlled by the smart contract process.

[0098] Une troisième opération consiste à établir une liaison sécurisée entre l'enclave8du nœud2Fde contrôle et l'enclave8du nœud2Ade stockage. A third operation consists in establishing a secure link between the enclave8du node2Fde control and the enclave8du node2Ade storage.

[0099] Une quatrième opération consiste, pour le nœud2Fde contrôle, à requérir (REQ) auprès de P nœuds2Dde stockage du quatrième groupe, P fragments28.k(trois dans l'exemple purement illustratif de laFIG.4) de la deuxième clé28de déchiffrement. A fourth operation consists, for the control node2F, in requesting (REQ) from P storage nodes2D of the fourth group, P fragments28.k (three in the purely illustrative example of laFIG.4) of the second decryption key28.

[0100] Une cinquième opération consiste à charger ces P fragments28.kde la deuxième clé28de chiffrement dans l'enclave8du nœud2Fde contrôle. A fifth operation consists in loading these P fragments28.kde the second encryption key28 in the enclave8du node2Fde control.

[0101] Une sixième opération consiste à reconstituer, dans l'enclave8du nœud2Fde contrôle, la deuxième clé28de déchiffrement à partir des P fragments28.kainsi chargés. A sixth operation consists in reconstituting, in the enclave8du control node2F, the second decryption key28 from the P fragments28.k thus loaded.

[0102] Une septième opération consiste, depuis l'enclave8du nœud2Fde contrôle, à transmettre à l'enclave8du nœud2Ade stockage la deuxième clé28de déchiffrement ainsi reconstituée. A seventh operation consists, from the enclave8du control node2F, in transmitting to the enclave8du storage node2A the second decryption key28 thus reconstituted.

[0103] Une huitième opération consiste, pour le nœud2Fde contrôle, à requérir (REQ) L fragments25.jdu condensat25de référence An eighth operation consists, for the control node2F, in requesting (REQ) L fragments25.jdu condensate25de reference

[0104] Une neuvième opération consiste à charger ces L fragments25.jdu condensat25de référence dans l'enclave8du nœud2Fde contrôle. A ninth operation consists in loading these L fragments25.jdu condensate25de reference in the enclave8du node2Fde control.

[0105] Une dixième opération110consiste à reconstituer, dans l'enclave8du nœud2Fde contrôle, le condensat25de référence à partir des L fragments25.jainsi chargés. A tenth operation 110 consists in reconstituting, in the enclave8du control node2F, the reference condensate25from the L fragments25.jainsi loaded.

[0106] Une onzième opération consiste à charger dans l'enclave8du nœud2Ade stockage le deuxième conteneur27crypté à partir d'un espace mémoire situé hors de l'enclave8. An eleventh operation consists in loading the second encrypted container27 into the enclave8du storage node2A from a memory space located outside the enclave8.

[0107] Une douzième opération consiste, dans l'enclave8du nœud2Ade stockage, à déchiffrer le deuxième conteneur27crypté, au moyen de la deuxième clé28de déchiffrement reçue de l'enclave8du nœud2Fde contrôle, pour reconstituer une copie22'du premier conteneur22crypté. A twelfth operation consists, in the enclave8du storage node2A, in decrypting the second encrypted container27, by means of the second decryption key28 received from the enclave8du node2Fde control, to reconstitute a copy22 'of the first encrypted container22.

[0108] Une treizième opération consiste, dans l'enclave8du nœud2Ade stockage, à calculer un condensat25', dit de contrôle, de cette copie22'du premier conteneur22crypté, par la même méthode que celle utilisée pour le calcul du condensat25de référence à partir de l'original du premier conteneur22crypté (ici SHA-256). A thirteenth operation consists, in the enclave8du storage node2A, in calculating a condensate25 ', said to be control, of this copy22' of the first encrypted container22, by the same method as that used for the calculation of the reference condensate25 from the 'original of the first encrypted container (here SHA-256).

[0109] Une quatorzième opération consiste, à partir de l'enclave8du nœud2Ade stockage, à transmettre à l'enclave8du nœud2Fde contrôle, le condensat25'de contrôle ainsi calculé. A fourteenth operation consists, from the enclave8du storage node2A, in transmitting to the enclave8du control node2F, the control condensate25 'thus calculated.

[0110] Une quinzième opération consiste, dans l'enclave8du nœud2Fde contrôle, à comparer (=) le condensat25'de contrôle au condensat25de référence. Si les deux condensat25',25sont égaux (résultatY), cela signifie que la copie22'du premier conteneur22crypté correspond à l'original, et que le nœud2Ade stockage stocke effectivement le deuxième conteneur27, et ce sans altération de son contenu. A fifteenth operation consists, in the enclave8du node2Fde control, in comparing (=) the control condensate 25 ′ with the reference condensate 25. If the two hashes25 ', 25are equal (resultY), this means that the copy22' of the first encrypted container22 corresponds to the original, and that the storage node2A effectively stores the second container27, without altering its content.

[0111] Si au contraire les deux condensats25',25sont différents (résultatN), cela signifie que la copie22'du premier conteneur22crypté ne correspond pas à l'original, que par conséquent le nœud2Ade stockage ne stocke pas correctement le deuxième conteneur27, et qu'il est donc probable que les données15qu'il contient soient, a minima, corrompues. If, on the contrary, the two condensates25 ', 25are different (resultN), this means that the copy22' of the first encrypted container22 does not correspond to the original, that consequently the storage node2A does not correctly store the second container27, and that 'it is therefore probable that the data it contains are, at the very least, corrupted.

[0112] Dans les deux cas, hors de l'enclave8(tant du nœud2Ade stockage que du nœud2Fde contrôle), une opération supplémentaire consiste à inscrire, dans un bloc4de la blockchain5, au moins une transaction contenant une empreinte numérique de ce résultat (iciYouN). In both cases, outside of the enclave8 (both of the storage node2A and of the control node2F), an additional operation consists in entering, in a block4of the blockchain5, at least one transaction containing a digital fingerprint of this result (hereYouN ).

[0113] Le procédé qui vient d'être décrit présente les avantages suivants. The process which has just been described has the following advantages.

[0114] Premièrement, le double chiffrement des données15limite drastiquement les risques d'accès non autorisé à celles-ci par un nœud2Ade stockage ou par un tiers ayant obtenu indûment le deuxième conteneur27crypté : il est en effet nécessaire d'obtenir Q fragments28.kde la deuxième clé28de déchiffrement et K fragments23.ide la première clé23de déchiffrement pour parvenir à extraire les données15du deuxième conteneur27crypté. Le succès d'une telle procédure est hautement improbable, car elle requiert des moyens de calcul prohibitifs. [0114] First, the double encryption of the data15 drastically limits the risks of unauthorized access to them by a storage node2A or by a third party having improperly obtained the second encrypted container27: it is indeed necessary to obtain Q fragments28.k from the second decryption key28 and K fragments23.ide the first decryption key23 to extract the data15from the second encrypted container27. The success of such a procedure is highly improbable, as it requires prohibitive means of calculation.

[0115] Deuxièmement, le double chiffrement permet, via les enclaves8instanciées temporairement lors de la phase de contrôle, dans le nœud2Fde contrôle et dans le nœud2Ade stockage, de reconstituer temporairement dans le nœud2Ade stockage une copie22'du premier conteneur22crypté pour en extraire le condensat de contrôle25'et, grâce à celui-ci, de prouver de manière non seulement simple, mais encore et surtout confidentielle, que le stockage des données15(au sein du deuxième conteneur27) se poursuit effectivement dans le nœud2Ade stockage. [0115] Second, the double encryption allows, via the enclaves8 instantiated temporarily during the control phase, in the control node2F and in the storage node2A, to temporarily reconstitute in the storage node2A a copy22 'of the first encrypted container22 in order to extract the condensate from it. control25 'and, thanks to this, to prove in a way that is not only simple, but also and above all confidential, that the storage of data15 (within the second container27) is effectively continuing in the storage node2A.

[0116] Un nœud2Ade stockage ayant fourni cette preuve peut être considéré comme fiable et maintenu parmi le premier groupe. A contrario, un nœud2Ade stockage qui n'aurait pas fourni cette preuve doit être considéré comme défaillant et éliminé du premier groupe. Dans ce cas, il est possible de remplacer le(s) nœud(s) défaillant(s) ainsi détecté(s) par un (des) nouveau(x) nœud(s)2Ade stockage enrôlé(s) dans le premier groupe, et vers lequel (lesquels) le deuxième conteneur27est redéployé à partir d'une copie disponible sur l'un des nœuds2Ade stockage réputés fiables. [0116] A storage node2A having provided this proof can be considered as reliable and maintained among the first group. Conversely, a storage node2A which would not have provided this proof must be considered as faulty and eliminated from the first group. In this case, it is possible to replace the faulty node (s) thus detected with a new 2A storage node (s) enrolled in the first group, and to which (which) the second container27 is redeployed from a copy available on one of the storage nodes2A deemed reliable.

Claims (4)

1. Procédé de stockage sécurisé de données (15) informatiques au sein d'un réseau (1) pair-à-pair composé d'une pluralité de nœuds (2) formant une base de données distribuée sur laquelle est mémorisée, par réplication sur chaque nœud (2), une chaîne (5) de blocs, ce procédé comprenant : A) Une phase de distribution, qui comprend les opérations consistant à : - Emettre, à partir d'un terminal (16) émetteur dans lequel sont stockées les données (15), une requête de stockage à destination du réseau (1) ; - A réception de la requête de stockage par au moins un nœud (2) du réseau (1), sélectionner au sein du réseau (1) au moins un nœud (2E), dit nœud d'entrée, équipé d'une unité de traitement informatique dans laquelle est implémenté un environnement d'exécution sécurisé par cryptographie, dit enclave (8) ; - Instancier l'enclave (8) ; - Charger les données (15), à partir du terminal (2E) émetteur et via une ligne (17) de communication sécurisée, vers l'enclave (8) du nœud (2E) d'entrée; - Inscrire dans un bloc (4) de la chaîne (5) de blocs, par un ou plusieurs nœuds (2) du réseau (1), au moins une transaction (20) contenant une empreinte numérique de la requête de stockage et/ou du chargement ainsi effectué ; - Dans l'enclave (8) du nœud (2E) d'entrée : o Chiffrer les données (15) pour former un premier conteneur (22) crypté, en lui associant une première clé (23) cryptographique de déchiffrement ; o Fragmenter la première clé (23) cryptographique de déchiffrement en un nombre N prédéterminé de fragments (23.i); o Calculer un condensat (25), dit de référence, du premier conteneur (22) crypté en lui appliquant une fonction de hachage prédéterminée ; o Fragmenter le condensat (25) de référence en un nombre prédéterminé de fragments (25.j) ; o Rechiffrer le premier conteneur (22) pour former un deuxième conteneur (27) crypté, en lui associant une deuxième clé (28) cryptographique de déchiffrement ; o Fragmenter la deuxième clé (28) cryptographique de déchiffrement en un nombre prédéterminé de fragments (28.k); o Désigner, parmi le réseau (1), un premier groupe de nœuds (2A) de stockage équipés chacun d'une unité de traitement informatique dans laquelle est implémentée une enclave (8) ; o Distribuer le deuxième conteneur (27) crypté vers les nœuds (2A) du premier groupe ; o Désigner, parmi le réseau (1), un deuxième groupe de nœuds (2B) de stockage en nombre égal aux fragments (23.i) de la première clé (23) cryptographique de déchiffrement ; o Distribuer chaque fragment (23.i) de la première clé (23) cryptographique de déchiffrement vers un nœud (2B) du deuxième groupe, chaque nœud (2B) du deuxième groupe recevant un unique fragment (23.i) ; o Désigner, parmi le réseau (1), un troisième groupe de nœuds (2C) de stockage en nombre égal aux fragments (25.j) du condensat (25) de référence ; o Distribuer chaque fragment (25.j) du condensat (25) de référence vers un nœud (2C) du troisième groupe, chaque nœud (2C) du troisième groupe recevant un unique fragment (25.j); o Désigner, parmi le réseau (1), un quatrième groupe de nœuds (2D) de stockage en nombre égal aux fragments (28.k) de la deuxième clé (28) cryptographique de déchiffrement ; o Distribuer chaque fragment (28.k) de la deuxième clé (28) de déchiffrement vers un nœud (2D) du quatrième groupe, chaque nœud (2D) du quatrième groupe recevant un unique fragment (28.k) ; - Hors de l'enclave (8) du nœud (2E) d'entrée : o Mémoriser le deuxième conteneur (27) crypté au sein de chaque nœud (2A) de stockage du premier groupe ; o Mémoriser chaque fragment (23.i) de la première clé (23) cryptographique de déchiffrement au sein de chaque nœud (2B) de stockage du deuxième groupe ; o Mémoriser chaque fragment (25.j) du condensat (25) de référence au sein de chaque nœud (2C) de stockage du troisième groupe ; o Mémoriser chaque fragment (28.k) de la deuxième clé (28) cryptographique de déchiffrement au sein de chaque nœud (2D) de stockage du quatrième groupe ; - Inscrire dans au moins un bloc (4) de la chaîne (5) de blocs, par un ou plusieurs nœuds (2) du réseau (1), au moins une transaction contenant une ou des empreintes numériques de ces distributions ou de ces mémorisations ; B) Une phase de contrôle, qui comprend la désignation, parmi les nœuds (2) du réseau (1), d'un nœud (2F) de contrôle équipé d'une unité de traitement informatique dans laquelle est implémentée une enclave (8), et, pour chaque nœud (2A) de stockage du premier groupe, les opérations consistant à : - Instancier l'enclave (8) du nœud (2F) de contrôle ; - Instancier l'enclave (8) du nœud (2A) de stockage ; - Etablir une liaison sécurisée entre l'enclave (8) du nœud (2F) de contrôle et l'enclave (8) du nœud (2A) de stockage ; - Dans l'enclave (8) du nœud (2F) de contrôle : o Charger, à partir d'un nombre prédéterminé de nœuds (2C) du troisième groupe, des fragments (25.j) du condensat de référence ; o Reconstituer le condensat (25) de référence à partir de ces fragments (25.j) ; o Charger, à partir d'un nombre prédéterminé de nœuds (2D) du quatrième groupe, des fragments (28.k) de la deuxième clé (28) cryptographique de déchiffrement ; o Reconstituer la deuxième clé (28) cryptographique de déchiffrement à partir de ces fragments (28.k) ; o Transmettre la deuxième clé (28) cryptographique de déchiffrement à l'enclave (8) du nœud (2A) de stockage ; - Dans l'enclave (8) du nœud (2A) de stockage : o Charger le deuxième conteneur (27) crypté à partir d'un espace mémoire situé hors de l'enclave (8) ; o Déchiffrer le deuxième conteneur (27) crypté au moyen de la deuxième clé (28) cryptographique de déchiffrement reçue de l'enclave (8) du nœud (2F) de contrôle, pour reconstituer une copie (22') du premier conteneur (22) crypté ; o Calculer un condensat (25'), dit de contrôle, de cette copie (22') du premier conteneur (22) crypté ; o Transmettre le condensat (25') de contrôle à l'enclave (8) du nœud (2F) de contrôle ; - Dans l'enclave (8) du nœud (2F) de contrôle, comparer le condensat (25') de contrôle au condensat (25) de référence ; - Hors de l'enclave (8), inscrire dans un bloc (4) de la chaîne (5) de blocs, par un ou plusieurs nœuds (2) du réseau (1), au moins une transaction contenant une empreinte numérique de ce résultat.1. A method of secure storage of computer data (15) within a peer-to-peer network (1) composed of a plurality of nodes (2) forming a distributed database on which is stored, by replication on each node (2), a chain (5) of blocks, this method comprising: A) A distribution phase, which includes the operations consisting in: - Sending, from a sender terminal (16) in which the data (15) are stored, a storage request to the network (1); - On receipt of the storage request by at least one node (2) of the network (1), select within the network (1) at least one node (2E), called entry node, equipped with a computer processing in which an execution environment secured by cryptography, called an enclave (8), is implemented; - Instantiate the enclave (8); - Load the data (15), from the sender terminal (2E) and via a secure communication line (17), to the enclave (8) of the input node (2E); - Enter in a block (4) of the chain (5) of blocks, by one or more nodes (2) of the network (1), at least one transaction (20) containing a digital fingerprint of the storage request and / or the loading thus carried out; - In the enclave (8) of the input node (2E): o Encrypt the data (15) to form a first encrypted container (22), by associating it with a first cryptographic decryption key (23); o Fragment the first cryptographic decryption key (23) into a predetermined number N of fragments (23.i); o Calculate a so-called reference condensate (25) of the first encrypted container (22) by applying a predetermined hash function to it; o Fragment the reference condensate (25) into a predetermined number of fragments (25.j); o Re-encrypt the first container (22) to form a second encrypted container (27), by associating it with a second cryptographic decryption key (28); o Fragment the second cryptographic decryption key (28) into a predetermined number of fragments (28.k); o Designate, from among the network (1), a first group of storage nodes (2A) each equipped with a computer processing unit in which an enclave (8) is implemented; o Distribute the second encrypted container (27) to the nodes (2A) of the first group; o Designate, among the network (1), a second group of storage nodes (2B) in a number equal to the fragments (23.i) of the first cryptographic decryption key (23); o Distribute each fragment (23.i) of the first cryptographic decryption key (23) to a node (2B) of the second group, each node (2B) of the second group receiving a single fragment (23.i); o Designate, among the network (1), a third group of storage nodes (2C) in a number equal to the fragments (25.j) of the reference condensate (25); o Distribute each fragment (25.j) of the reference condensate (25) to a node (2C) of the third group, each node (2C) of the third group receiving a single fragment (25.j); o Designate, among the network (1), a fourth group of storage nodes (2D) in a number equal to the fragments (28.k) of the second cryptographic decryption key (28); o Distribute each fragment (28.k) of the second decryption key (28) to a node (2D) of the fourth group, each node (2D) of the fourth group receiving a single fragment (28.k); - Outside the enclave (8) of the input node (2E): o Store the second encrypted container (27) within each storage node (2A) of the first group; o Memorize each fragment (23.i) of the first cryptographic decryption key (23) within each storage node (2B) of the second group; o Memorize each fragment (25.j) of the reference condensate (25) within each storage node (2C) of the third group; o Store each fragment (28.k) of the second cryptographic decryption key (28) within each storage node (2D) of the fourth group; - Enter in at least one block (4) of the chain (5) of blocks, by one or more nodes (2) of the network (1), at least one transaction containing one or more digital fingerprints of these distributions or these memorizations ; B) A control phase, which includes the designation, among the nodes (2) of the network (1), of a control node (2F) equipped with a computer processing unit in which an enclave (8) is implemented , and, for each storage node (2A) of the first group, the operations consisting in: - Instantiate the enclave (8) of the control node (2F); - Instantiate the enclave (8) of the storage node (2A); - Establish a secure link between the enclave (8) of the control node (2F) and the enclave (8) of the storage node (2A); - In the enclave (8) of the control node (2F): o Load, from a predetermined number of nodes (2C) of the third group, fragments (25.j) of the reference condensate; o Reconstitute the reference condensate (25) from these fragments (25.j); o Load, from a predetermined number of nodes (2D) of the fourth group, fragments (28.k) of the second cryptographic decryption key (28); o Reconstitute the second cryptographic decryption key (28) from these fragments (28.k); o Transmit the second cryptographic decryption key (28) to the enclave (8) of the storage node (2A); - In the enclave (8) of the storage node (2A): o Load the second encrypted container (27) from a memory space located outside the enclave (8); o Decrypt the second container (27) encrypted by means of the second cryptographic decryption key (28) received from the enclave (8) of the control node (2F), to reconstitute a copy (22 ') of the first container (22 ) encrypted; o Calculate a condensate (25 '), called a control, of this copy (22') of the first encrypted container (22); o Transmit the control condensate (25 ') to the control node (2F) enclave (8); - In the enclave (8) of the control node (2F), compare the control condensate (25 ') with the reference condensate (25); - Outside the enclave (8), enter in a block (4) of the chain (5) of blocks, by one or more nodes (2) of the network (1), at least one transaction containing a digital fingerprint of this result. 2. Procédé selon la revendication 1, dans lequel la fragmentation de la première clé (23) de déchiffrement est réalisée en application des règles de Shamir.2. Method according to claim 1, wherein the fragmentation of the first decryption key (23) is carried out in application of Shamir's rules. 3. Procédé selon la revendication 1, dans lequel la fragmentation de la deuxième clé (28) de déchiffrement est réalisée en application des règles de Shamir.3. Method according to claim 1, wherein the fragmentation of the second decryption key (28) is carried out in application of Shamir's rules. 4. Procédé selon la revendication 1, dans lequel la fragmentation du condensat (25) de référence est réalisée en application des règles de Shamir.4. The method of claim 1, wherein the fragmentation of the reference condensate (25) is carried out in application of Shamir's rules.
CH00740/19A 2019-06-07 2019-06-07 A method of storing computer data on a blockchain network with proof of storage from a storage node equipped with a cryptographic enclave. CH716266A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CH00740/19A CH716266A2 (en) 2019-06-07 2019-06-07 A method of storing computer data on a blockchain network with proof of storage from a storage node equipped with a cryptographic enclave.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CH00740/19A CH716266A2 (en) 2019-06-07 2019-06-07 A method of storing computer data on a blockchain network with proof of storage from a storage node equipped with a cryptographic enclave.

Publications (1)

Publication Number Publication Date
CH716266A2 true CH716266A2 (en) 2020-12-15

Family

ID=73727394

Family Applications (1)

Application Number Title Priority Date Filing Date
CH00740/19A CH716266A2 (en) 2019-06-07 2019-06-07 A method of storing computer data on a blockchain network with proof of storage from a storage node equipped with a cryptographic enclave.

Country Status (1)

Country Link
CH (1) CH716266A2 (en)

Similar Documents

Publication Publication Date Title
EP3673620B1 (en) Shared blockchain data storage
JP2022133423A (en) Encrypted asset encryption key parts allowing for assembly of asset encryption key using subset of the encrypted asset encryption key parts
CN112491812B (en) Hash updating method and device of block chain all-in-one machine
US20210234702A1 (en) Multi-decentralized private blockchains network
CN105071936A (en) Systems and methods for secure data sharing
WO2021057182A1 (en) Trusted update method and apparatus for fpga logic
US20220166605A1 (en) Cryptographic Key Storage System and Method
CH716295A2 (en) A method of multiple signature of a transaction intended for a blockchain, by means of cryptographic keys distributed among the nodes of a peer-to-peer network.
EP3903463A1 (en) Platform for securing data
CH716285A2 (en) Method for checking the biometric data of an individual, with registration, in a blockchain, of an analysis result.
CH716266A2 (en) A method of storing computer data on a blockchain network with proof of storage from a storage node equipped with a cryptographic enclave.
CH716267A2 (en) A method of storing computer data on a blockchain network with proof of storage from a computing node equipped with a cryptographic enclave.
CH716298A2 (en) A method of storing, in encrypted form, an application on a blockchain network, with prior audit of the source code of this application.
CH716294A2 (en) Decentralized signature process, under biometric control and under conditions of personal identification and geolocation, of a transaction intended for a blockchain.
CH716262A2 (en) A method of storing computer data by distributing an encrypted container and its decryption key on separate nodes of a blockchain network.
CH716261A2 (en) A method of storing computer data by distributing an encrypted container and its decryption key on a blockchain network.
CH716263A2 (en) A method of storing computer data by distributing an encrypted container and its fragmented decryption key on a blockchain network.
CH716269A2 (en) A method of storing computer data by distribution on a public network, with backup on a private network having a master node equipped with an enclave.
CH716272A2 (en) A method of storing computer data by distribution on a public network, with backup on a private network having nodes equipped with enclaves.
CH716273A2 (en) A method of storing computer data on a network, with double distribution over two disjoint sets of network nodes.
CH716284A2 (en) Process for distributed processing, within a blockchain network and sub-enclaves, of computer data encrypted with a fragmented key.
CH716264A2 (en) A method of storing computer data on a network with proof of storage obtained by a storage node equipped with a cryptographic enclave.
CH716265A2 (en) Method of storing computer data on a network with proof of storage from a compute node equipped with a cryptographic enclave.
CH716287A2 (en) Process for processing biometric data of an individual, with phases of calibration and control and registration, in a blockchain, of an analysis result.
CH716288A2 (en) Process for processing biometric data of an individual, with phases of calibration and control and registration, in a blockchain, subject to geolocation, of an analysis result.

Legal Events

Date Code Title Description
AZW Rejection (application)