METHOD AND DEVICE FOR DISTRIBUTED ONLINE FILE STORAGE IN A ZERO TRUST CONTEXT

A relay server-based system fragments files across multiple storage services, using cryptographic tools to verify user legitimacy and fragment associations, ensuring secure data storage and retrieval in a zero-trust environment.

FR3141538B1Active Publication Date: 2024-10-18ASTRACHAIN
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
FR2022011306
Authority / Receiving Office
FR · FR
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-10-28
Publication Date
2024-10-18
Estimated Expiration
2042-10-28

AI Technical Summary

Technical Problem

Existing online storage services lack robust security measures to ensure data integrity and confidentiality, particularly in scenarios where trust between different actors is absent, making them vulnerable to hacking and data loss.

Method used

A secure online storage system utilizing a relay server that fragments files and distributes them across multiple storage services, ensuring each actor verifies the legitimacy of requests without revealing the original file identifier, using cryptographic tools like zero-knowledge proofs and commitments to maintain zero-trust security.

Benefits of technology

The system ensures secure data storage and retrieval, maintaining confidentiality even if the relay server or storage services are compromised, by verifying user authenticity and fragment associations without exposing the original file identifier, thus preventing unauthorized reconstruction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000016_0000
    Figure 00000016_0000
  • Figure 00000016_0001
    Figure 00000016_0001
  • Figure 00000017_0000
    Figure 00000017_0000
Patent Text Reader

Abstract

The present invention relates to a method and a zero-knowledge secure storage system managed by a relay server connected to a plurality of online storage services, the file to be stored being divided into a plurality of fragments saved on the plurality of online storage services, each online storage service being able to verify the identity of the user requesting a file, the identifier of the original file and the link between the identifier of the original file and the identifier of the fragment without acquiring knowledge of the identifier of the original file. [Fig. 3b]
Need to check novelty before this filing date? Find Prior Art

Description

Title of the invention: METHOD AND DEVICE FOR ONLINE DISTRIBUTED FILE STORAGE IN A CONTEXT ZERO TRUST

[0001] The present invention relates to the field of online computer file storage with a plurality of storage services in a context where the security of the service does not imply a relationship of trust between the different actors.

[0002] Online computer file storage services have developed in recent years. Almost all the major players in the IT industry offer their own services. Alongside these major players, numerous companies have also developed their own services for both individuals and businesses. Many businesses are now adopting these services to back up their data.

[0003] Using an online storage service eliminates the need for setting up and managing on-the-job storage, backups, and security. It also allows the service costs to be shared among different clients.

[0004] Information security is also an increasingly sensitive issue. Examples of hacking of companies and online services are multiplying. Even without malicious intent, a recent fire in a data center belonging to a major online service provider resulted in the loss of data for a significant number of its customers.

[0005] In this context, improving the security and reliability of online storage services is a constant concern.

[0006] The invention relates to a secure online storage service managed by a proxy server that connects the service user to a plurality of online storage services. The term "server" is used here in a functional sense and can refer to various physical implementations of the proxy server, including one or more physical servers. The term "user" refers to a computer terminal used by the human user to access the service. When we use the term "user" in the description of the proposed methods, we are referring to actions performed by the user's terminal under their control, and not to actions performed by the human user.

[0007] The user of the secure online storage service communicates only with the relay server and is unaware of the various online storage services used. Similarly, each online storage service communicates only with the relay server and is unaware of the other online services or the user.

[0008] The general operation of the secure online storage service is illustrated in [Fig. 1]. User 101 transmits a file 106 to the relay server 102 for storage. The relay server 102 applies a scattering function to the file 106, generating fragments 107, 108, 109 from the initial file 106. These fragments are stored by the relay server 102 on the various online storage services 103, 104, 105. This is the upload operation.

[0009] When user 101 wants to retrieve the stored file, he submits a download request to the relay server 102. The relay server 102 then requests the different fragments 107, 108, 109 from the different online storage services 103, 104, 105. From these fragments 107, 108, 109, it reconstructs the original file 106 and transmits it to user 101.

[0010] The figure illustrates three online storage services. This figure is only an example, and the number of online services used by a particular embodiment of the invention can be any number, with a minimum of two services. Similarly, the figure illustrates the saving of a single fragment per online storage service. In practice, several fragments can be stored on the same online storage service.

[0011] Advantageously, these fragments have a certain degree of redundancy to allow the reconstruction of the original file from only a subset of all the fragments available for that file. This property provides the system with resilience against the potential loss or compromise of an online storage service.

[0012] Advantageously, communications between the user and the relay server, as well as between the relay server and the online storage services, use encrypted tunnels to guarantee the confidentiality of the exchanges. Each actor in the system is authenticated with the actors with which it communicates. The user, in particular, must be authenticated with the system that issues them an access token, which can be verified by the relay server and / or the online storage services.

[0013] The user also has a signing key that allows them to sign their messages. This signature can be verified, and therefore the messages authenticated as originating from the user, by the relay server and online storage services. This signing key can be symmetric or asymmetric.

[0014] Advantageously, the scatter function ensures that knowledge of a single fragment does not allow an online storage service to reconstruct the original file. In cases where the system uses redundancy and multiple fragments are stored on the same online storage service, the system ensures that the number of fragments stored on the same online storage service is insufficient to reconstruct the service.

[0015] In terms of security, it is advantageous to offer a so-called zero-trust storage service between the different actors. Thus, the compromise of one of the actors does not compromise the security of the solution. In this case, zero trust translates into three constraints that we want the system to respect.

[0016] According to a first constraint, an online storage service must be able to verify that a request received from the relay server does indeed originate from the legitimate user. This constraint must guarantee that the relay server is not capable of forging a valid request that does not actually originate from the legitimate user. Thus, the compromise of the relay server, for example by hacking it by malicious individuals, does not allow hackers to obtain users' files.

[0017] According to a second constraint, an online storage service must not be able to identify that two fragments stored by its service originate from the same original file. Thus, each fragment is independent and cannot be associated with other fragments of the same original file in order to prevent any reconstruction of this original file, even partial, by the online storage service.

[0018] According to a third constraint, an online storage service must be able to verify the validity of the link between the fragment it holds and the original file. This must be done while respecting the second constraint, which prevents it from obtaining this link.

[0019] The invention aims to offer a secure online storage service based on a relay server and a plurality of online storage services respecting these constraints.

[0020] According to one aspect of the invention, a method for the secure storage of an original file is proposed, characterized in that it comprises the following steps: - reception of the original file, transmitted by a user device, by a relay server connected to a plurality of online storage services, the original file being associated with an original file identifier; - generation by the relay server of a plurality of fragments from the original file, each fragment being associated with a fragment identifier; - transmission for backup by the relay server of each fragment to an online storage service from among the plurality of online storage services; To download the original stored file, the process includes the following steps: - reception by the relay server of a request for the original file including the original file identifier and a set of user data; for each fragment: - transmission of a request for the fragment including the fragment identifier and a fragment data set to the online storage service; - verification by the online storage service, based on fragment data, without acquiring any knowledge of the original file identifier, that: - the request originates from the user who submitted the request for the original file; - the fragment identifier of the fragment request corresponds to the identifier of the original file; - when the verification is positive, transmission of the fragment to the relay server; - generation of the original file from the received fragments; and - transmission of the original file to the user device.

[0021] According to one embodiment: - The user dataset and the fragment dataset include an encrypted and signed version of the original file identifier to verify that the request originates from the user who submitted the request for the original file.

[0022] According to one embodiment: - the relay server generates a zero-knowledge proof based on the original file ID and the fragment ID, allowing verification that the fragment ID of the fragment request corresponds to the original file ID without providing any knowledge about the original ID; this zero-knowledge proof is included in the fragment dataset.

[0023] According to one embodiment: - the user device generates an initial engagement based on the original file identifier, this engagement being included in the user data and in the fragment data; - the relay server generates a second joint commitment based on the original file identifier and on the fragment identifier, this joint commitment being included in the fragment data; - the online storage service jointly verifies the first and second commitments.

[0024] According to another aspect of the invention, a computer program is proposed comprising instructions adapted to the implementation of each of the steps of the process according to the invention when said program is executed on a computer.

[0025] According to another aspect of the invention, a means of storing information, removable or not, partially or totally readable by a computer or a microprocessor, comprising code instructions of a computer program for the execution of each of the steps of the process according to the invention, is proposed.

[0026] According to another aspect of the invention, a system is proposed comprising a user device, a relay server and a plurality of online storage services configured to implement a method according to the invention.

[0027] The attached drawings are given by way of non-limiting examples:

[0028] Figure 1 illustrates the general architecture and operation of a secure service of online storage according to an embodiment of the invention;

[0029] Figures 2a and 2b illustrate the general operation of uploading and downloading a file;

[0030] Figures 3a and 3b illustrate a first embodiment of the invention;

[0031] Figure 4 illustrates a second embodiment

[0032] The [Fig.5] is a schematic block diagram of an information processing device for the implementation of one or more embodiments of the invention.

[0033] Figures 2a and 2b illustrate the general operation of uploading, [Fig.2a], and downloading, [Fig.2b], a file.

[0034] In these figures, only one online storage service 203 is represented. The same operation applies to the plurality of online storage services connected to the relay server 202.

[0035] The file upload is illustrated by [Fig.2a]. User 201 transmits the original file to be saved 204 to the relay server 202. The latter assigns an identifier 207 Id_o to the original file, transmits it to user 201 who stores it 210.

[0036] The relay server applies the scatter function to generate the fragments from the original file. The operation of the scatter function is not the subject of this document. The figure illustrates a fragment 205 of this plurality of fragments. Fragment 205 is transmitted to the online storage service 203, which assigns it a fragment identifier Id_f 206 and stores the link 208 between fragment 205 and its identifier Id_f 206. The online storage service transmits this fragment identifier 206 to the relay server, which stores the association 209 between the identifier of the original file Id_o and the fragment identifier Id_f. The other fragments generated by the relay server receive the same processing, which is not shown in the figure.

[0037] The download illustrated in [Fig. 2b] operates symmetrically. User 201 sends a request to the relay server 202 containing the identifier Id_o 207 of the file they wish to download. The relay server retrieves the associated fragment identifier Id_f, which it uses to construct a request containing this identifier, and transmits it to the online storage service 203. Using the fragment identifier Id_f, the online storage service 203 retrieves the associated fragment 205 and transmits it to the relay server 202. Once the latter has retrieved all the fragments, or at least a sufficient number if redundancy is implemented, it reconstructs the original file 204 using the inverse function of the scatter function. The relay server can then transmit the resulting original file 204 to the user.

[0038] In this context, the three constraints for achieving the desired level of security, zero trust, translate into the following constraints:

[0039] According to the first constraint, the online storage service must be able to verify that the request received for the fragment originates from the legitimate user. According to the second constraint, the online storage service must not be able to know the identifier Id_o of the original file. According to the third constraint, the online storage service must be able to verify that the requested fragment identifier Id_f corresponds to the identifier of the original file Id_o, without knowing this identifier of the original file Id_o according to the second constraint.

[0040] The solutions proposed in this document to address the security constraints outlined are based on the use of cryptographic tools. Among these tools, we will mention the following functions:

[0041] The KEYGEN function which allows the generation of a cryptographic key. The generated key can be a symmetric or asymmetric key.

[0042] A symmetric key is a key shared between two parties that allows the encryption of content to obtain encrypted content. The same key is required to decrypt the encrypted content and recover the original content. This key constitutes a secret shared between the sender of the encrypted content who performs the encryption and the receiver of the encrypted content who performs the decryption.

[0043] An asymmetric key consists of a key pair, a private key and a public key. To exchange encrypted content between two parties, each possesses their own asymmetric key. Each party keeps their private key secret and shares their public key. In this case, the sender who encrypts content encrypts it using their private key and the receiver's public key. The receiver decrypts the content using their own private key and the sender's public key.

[0044] The function ENC(k, m) represents the encryption of a content 'm' using the key 'k'. This is a symmetric key, typically obtained from the KEYGEN function. An asymmetric key can also be used.

[0045] The function DEC(k, c) represents the decryption of an encrypted content 'c' using the key 'k'. It is the inverse function of the function ENC(k, m).

[0046] The function SIGN(k, m) produces a cryptographic signature of the content 'm' using the key 'k'. This function does not encrypt the content and leaves it readable. The sender of content 'm' can sign this content using this function. They then transmit the content 'm' and the signature thus calculated. The receiver of the content 'm' can verify the signature, for example, using the same function and the same key, or the verification functions according to the embodiment. If the signature thus obtained matches the received signature, this means that the content 'k' has not been altered and that it was indeed signed by the holder of the key 'k'. In the preferred embodiment, the signing key is different from the key used to encrypt / decrypt messages.

[0047] The HASH(m) function is a non-invertible mathematical function that produces a fixed-size value from a content 'm' of arbitrary length. The probability that two different contents ml and m2 produce the same hash value is sufficiently low that the HASH function can be considered as a means of verifying the integrity of the content 'm'.

[0048] The ZK-proof(m) function used by a producer P produces a proof that P knows the secret S, where m is the result of the known function f applied to S. The proof can be verified by a verifier V, who can then verify that P knows S, without any knowledge about S being transmitted to V. Various ZK-proof functions are known and can be used interchangeably in the different embodiments of the invention. For example, ZK-proof functions are described in the following documents: “Pinocchio: Parno, B., Howell, J., Gentry, C., and Raykova, M. Pinocchio: Nearly practical verifiable computation. In 2013 IEEE Symposium on Security and Privacy, SP 2013, Berkeley, CA, USA, May 19-22, 2013 (2013), pp. 238-252", or "Ligero: Scott Ames, Carmit Hazay, Yuval Ishai, and Muthurama-krishnan Venkitasubramaniam. Ligero: Lightweight sublinear arguments without a trusted setup. In ACM CCS 2017, pages 2087-2104. ACM Press, 2017.

[0049] Figures 3a and 3b illustrate a first embodiment of the invention. [Fig. 3a] illustrates uploading according to this embodiment, while [Fig. 3b] illustrates downloading.

[0050] To perform the upload, user 201 transmits the original file 204 to be stored to the relay server 202. The latter applies the scatter function and generates the fragments from the original file. It also associates the original file with the original file identifier 207, which it transmits back to user 201. We describe the processing of one of these fragments, fragment 205, which is transmitted to the online storage service 203 for storage. The online storage service 203 stores the fragment and associates it with a fragment identifier, Id_f, which is sent back to the relay server. The relay server then calculates a hash of the two identifiers, the identifier of the original file Id_o and the identifier of the fragment Id_f, which corresponds to the application of the hash function to the two identifiers: "HASH(Id_o, Id_f)" also noted in short "H(Id_o, Id_f)".This hash value is transmitted to the online storage service, which stores it with the identifier Id_f and associates it with the fragment via association 308. Alternatively, the fragment identifier Id_f can be generated directly by the relay server, which can then calculate the hash directly to avoid a round trip to the storage service. The user also has a signing key, "Sign_key," which they store 310 along with the original file identifier Id_o. This key is typically an asymmetric key, allowing the user to sign E using their private key. The relay server and . The online storage service is able to verify this signature using the public key, but is not able to generate a possible fake signature without knowing the user's private key.

[0051] Regarding the download, the user generates a key K using the KEYGEN function. Using this key, the user encrypts the identifier of the original file Id_o to obtain an encrypted identifier E=ENC(K, Id_o). The user then uses their signing key to sign the encrypted identifier E thus obtained.

[0052] Next, the user transmits to the relay server, reference 307, the key K, the encrypted identifier E and his signature SIGN(Sign_key, E).

[0053] The relay server is then able to verify that the encrypted identifier E is indeed issued by the user by checking the digital signature of E. It can also decrypt the identifier of the original file using the key K. It can then retrieve the identifier of the fragment Id_f using the stored association, reference 209, between the identifier of the original file and the identifier of the fragment. Finally, the relay server calculates the proof ZK-proof(H(DEC(K, E), Id_f)).

[0054] The server then transmits to the online storage service, reference 306, the identifier Id_f of the requested fragment, the proof ZK-proof(H(DEC(K, E), Id_f)), the encrypted identifier E and its signature by the user SIGN(Sign_key, E).

[0055] The online storage service is then able to verify the ZK-proof(H(DEC(K, E), Id_f)), which allows it to verify that the relay server does indeed possess knowledge of the key K without having access to that key K. It is important to understand that here, the function f(x) of the proof corresponds to the function H(DEC(x, E), Id_f). This allows the online storage service to validate that the encrypted value of Id_o, i.e., E, was indeed used for the calculation. It can also verify that this encrypted value does indeed come from the user by checking the signature of E. The hash value, for its part, allows verification of the link between Id_o and Id_f, again without acquiring any knowledge of Id_o.

[0056] It can be observed that the three zero-knowledge constraints are respected by the system during the download step. The online storage service can verify that the received request does indeed originate from the legitimate user by checking the signature of the encrypted value of Id_o, the first constraint. The online storage service obtains no information about the identifier of the original file Id_o, the second constraint. The online storage service can finally verify that the requested fragment identifier, Id_f, corresponds to the identifier of the original file Id_o, via the hash of the two identifiers, still without knowing Id_o, the third constraint. The proposed system also ensures that the relay server cannot forge a request not originating from the user because it cannot generate a valid signature of E.

[0057] Once these constraints have been verified, the online storage service transmits the requested fragment 205 to the relay server which reconstructs, using all the fragments thus retrieved, the initial file 204 to transmit it to the user.

[0058] The proposed system makes it possible to guarantee the security of user data, even in the event of compromise of the relay server or of one or more of the online storage services used.

[0059] Figure 4 illustrates a second embodiment. Unlike the first embodiment, which is based on a proof of computation, this second embodiment is based on a proof of knowledge.

[0060] To avoid storing Id_o, a joint commitment of the two identifiers Id_o and Id_f allows the relay server to prove to the online storage service the link between Id_o and Id_f without revealing any information about Id_o. By doing so, it is possible to satisfy the second and third constraints.

[0061] It is also possible to use a second commitment by the user to allow the relay server to prove to the online storage service that it knows the original file identifier (Id_o). The user can also sign this second commitment to further prove that this original file identifier did indeed originate from the user. Separate verification of the two commitments does not allow verification that the value of the original file identifier (Id_o) used in each commitment is the same. To do so, and thus ensure compliance with the three constraints, it is necessary to perform a single step of joint verification of the two commitments. This verification, if successful, guarantees that the same identifier (Id_o) was used when generating both commitments. The verification of this identifier (Id_o) is then complete and also satisfies the first constraint.

[0062] The proof of knowledge allowing the joint verification of the two commitments can, for example, be based on a set of linear representations described by [MAU09] (Ueli M. Maurer: Unifying Zero-Knowledge Proofs of Knowledge. AFRICACRYPT 2009) which generalizes the Schnorr proofs [SCH89] (Schnorr, CP: Efficient identification and signatures for smart cards. CRYPTO 1989).

[0063] In an example implementation, the proof of knowledge may function as follows:

[0064] Let P be the prover and V the verifier. Let G = and H = E2 be spaces where E is a cyclic group of order ¢. Let h2, h3 be three distinct public generators of H; by distinct it must be understood that their discrete logs in H must not be mathematically related. (“f 8, g? «Jh value [ (g, ggg, g4) ] = H «< » «Remove Here, the two components of the pair defining the group homomorphism will allow us to express, respectively, the two commitments used in this implementation. It is the form of this group homomorphism that will allow the joint verification of the two commitments, thus validating that the same value of Id_o is used in the calculation of both commitments.

[0066] Let x = (x₁, x₂, A; x₄) eG be a secret known to P, but not to V. The value associated with x in the group H is the value G H- This The value is assumed to be known by V, who will use it to verify that P is indeed in possession of x. The verification can proceed as follows:

[0067] In a first step, P generates a random number corresponding to the risk of the proving party's pledge P k = k^, k^, k^) GG and transmits the pledge to V associated _ [£] =

[0068] In a second step V generates a random challenge ce Zq, and transmits this value to P. Alternatively, it is possible to make the proof non-interactive, by replacing this step with a Fiat-Shamir transformation.

[0069] In a third step P calculates:

[0070] r — k + ca — (k^-^rk^ + cx2, k^ + cxy. k^ + cx^) g G;

[0071] This value r is transmitted to V. The latter can then calculate the value corresponding to r in H and verify that this value [ r ] is indeed equal to y j4.

[0072] This proof-of-knowledge example can be used in the file storage system. Other proof-of-knowledge methods could also be used in a similar way.

[0073] Figure 4 illustrates an embodiment based on knowledge proofs such as those just described.

[0074] Regarding the upload, the latter is similar to the upload used in the previous embodiment except for the calculation of a joint commitment £ _ h^dfhjd°h^a,ldt P31 'c relay server of the two identifiers Id_o and Id_f. Rand_f being a random number generated by the relay server. This joint commitment is transmitted to the online storage service and stored by the latter associated, reference 408, with the fragment. The random value Rand_f is stored, reference 409, by the relay server.

[0075] Regarding the download, during a first step 410, the user calculates a first commitment g_ using a random number Randn that he generated for the occasion. The user signs this commitment E using their key. signature Sign_key. The user then transmits the original file identifier Id_o, the signature of commitment E and the random value Rand_n used for the calculation of commitment E to the relay server.

[0076] During step 407, the values ​​of Id_o, the random value Rand_n and the signing of the first commitment £ _ ido^Rand» are transmitted to the relay server. It It is not necessary to transmit the commitment itself, as it can be calculated by the relay server using the transmitted values. It should be noted here that the hj generator values ​​of group H are assumed to be known to all system participants.

[0077] During step 411, the relay server calculates the first commitment E, as well as the second commitment £ _ f■> using a random value Rand_f which corresponds to the one used during the upload. Another random value (rj, r2, r^-, ) EG is generated and used for calculating the corresponding value K corresponding to the commitment of k, k - (£] ~ h^1 e H- The The relay server then calculates the value c = HASH, hy E, L, K which corresponds to the challenge of the verifier V and finally the value r=k+c.(ldj', ld_o, RandJ, Rand_n) which corresponds to the proof witness.

[0078] During step 408, the values ​​Id_f, the commitment of k K, the proof witness r, E and the user's signature of E are transmitted to the online storage service.

[0079] During step 412, the storage service is then able to perform the following calculations:

[0080] The online storage service verifies the signature of the first commitment E, which validates that the Id_o value used is indeed from the user. It then calculates the challenge c = HASH, E, L, K, the value ZY — ( E1, Lc ), the value. Finally, the verification that KZ^ = Z2 allows for the joint verification of both commitments E and L, thus validating the relay server's knowledge of the original file identifier and the link between this identifier and the requested fragment identifier Id_f. All three constraints are therefore verified, enabling the transfer of fragment 205 to the relay server. Once the relay server has received all fragments from all online storage services, it can then reconstruct the original file 204 and transmit it to the user.

[0081] Figure 5 is a schematic block diagram of an information processing device 500 for implementing one or more embodiments of the invention. The information processing device 500 may be a peripheral such as a microcomputer, a workstation, or a mobile telecommunications terminal. Communication. The 500 device includes a communication bus connected to:

[0082] - a central processing unit 501, such as a microprocessor, denoted CPU;

[0083] - a 502 random access memory, denoted RAM, for storing the executable code of the method for carrying out the invention as well as registers adapted to record variables and parameters necessary for the implementation of the method according to embodiments of the invention; the memory capacity of the device can be supplemented by an optional RAM memory connected to an expansion port, for example;

[0084] - a read-only memory 503, denoted ROM, for storing computer programs for the implementation of the embodiments of the invention;

[0085] - a 504 network interface is normally connected to a communication network on which digital data to be processed is transmitted or received. The 504 network interface can be a single network interface, or composed of a set of different network interfaces (e.g., wired and wireless, interfaces, or different types of wired or wireless interfaces). Data packets are sent on the network interface for transmission or are read from the network interface for reception under the control of the software application running in the 501 processor;

[0086] - a 505 user interface for receiving input from a user or for display information to a user;

[0087] - a storage device 506 as described in the invention and noted HD;

[0088] - a 507 input / output module for receiving / sending data to / from external devices such as hard drives, removable storage media or others.

[0089] The executable code can be stored in read-only memory 503, on the storage device 506, or on a removable digital medium such as, for example, a disk. According to one embodiment, the executable code of the programs can be received via a communication network, through the network interface 504, in order to be stored in one of the storage means of the communication device 500, such as the storage device 506, before being executed.

[0090] The central processing unit 501 is adapted to command and direct the execution of instructions or portions of software code of the program or programs according to one of the embodiments of the invention, instructions which are stored in one of the aforementioned storage means. After power-up, the CPU 501 is capable of executing instructions from the main RAM 502, relating to a software application. Such software, when executed by the processor 501, causes the execution of the processes described.

[0091] In this embodiment, the device is a programmable device that uses software to implement the invention. However, alternatively, the present invention can be implemented in hardware (for example, in the form of a specific integrated circuit or ASIC).

Claims

Claims

1. Method for securely storing an original file characterized in that it comprises the following steps: - receiving the original file, transmitted by a user device, by a relay server connected to a plurality of online storage services, the original file being associated with an original file identifier; - generating by the relay server a plurality of fragments from the original file, each fragment being associated with a fragment identifier; - transmission for backup by the relay server of each fragment to an online storage service among the plurality of online storage services; where to download the original stored file, the process includes the following steps: - reception by the relay server of a request for the original file including the original file identifier and a set of user data; for each fragment: - transmitting a request for the fragment including the fragment identifier and a fragment data set to the online storage service; - verification by the online storage service, from the fragment data, without acquiring knowledge of the original file identifier, that: - the request comes from the user who sent the request for the original file; - the fragment ID of the fragment request matches the ID of the original file; - when the verification is positive, transmission of the fragment to the relay server; - generation of the original file from the received fragments; and - transmission of the original file to the user device.

2. Method according to claim 1, characterized in that: - the user dataset and the fragment dataset include an encrypted and signed version of the original file identifier to verify that the request came from the user who submitted the request for the original file.

3. Method according to claim 1, characterized in that: - the relay server generates a zero-knowledge proof based on the identifier of the original file and on the fragment identifier making it possible to verify that the fragment identifier of the fragment request corresponds to the identifier of the original file without providing knowledge about the original identifier, this zero-knowledge proof being included in the fragment data set.

4. Method according to claim 1, characterized in that: - the user device generates a first commitment based on the original file identifier, this commitment being included in the user data and in the fragment data; - the relay server generates a second joint commitment based on the original file identifier and on the fragment identifier, this joint commitment being included in the fragment data; - the online storage service jointly verifies the first and second commitments.

5. Computer program comprising instructions adapted to the implementation of each of the steps of the method according to any one of claims 1 to 4 when said program is executed on a computer.

6. Information storage means, removable or not, partially or totally readable by a computer or a microprocessor comprising code instructions of a computer program for the execution of each of the steps of the method according to any one of claims 1 to 4.

7. A system comprising a user device, a relay server and a plurality of online storage services configured to implement a method according to one of claims 1 to 4.