Method for backing up and securely restoring a seed held by a cryptoasset wallet
The method of dividing and encrypting cryptoasset wallet seeds across multiple backup servers addresses the security challenges of seed storage by distributing the risk and ensuring secure, automated recovery.
Patent Information
- Application Number
- US19/141995
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Priority Date
- 2023-05-26
- Filing Date
- 2023-12-22
- Publication Date
- 2026-12-03
AI Technical Summary
The secure storage and backup of cryptoasset wallet seeds, particularly in hardware wallets, is challenging due to the risk of loss, theft, or destruction of the hardware wallet and the vulnerability of mnemonic phrases to unauthorized access.
A method involving a cryptoasset wallet that divides the seed into multiple secret data shares, encrypts them using a seed encryption key, and distributes these shares across multiple backup servers, ensuring secure storage and restoration through a secure communication protocol and identity verification.
This approach enhances the security of seed backup by distributing the risk and requiring multiple authorized shares for restoration, reducing the vulnerability of a single point of failure and ensuring secure, automated seed recovery.
Smart Images

Figure US20260389986A1-D00000_ABST
Abstract
Description
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application is a 371 National Stage of International Application No. PCT / FR2023 / 000198 filed Dec. 22, 2023, which claims priority to French Patent Application Nos. FR2214386, FR2214387, FR2214391, all filed Dec. 23, 2022, and French Patent Application No. FR2305242 filed May 26, 2023, the disclosures of which are herein incorporated by reference in their entirety.TECHNICAL FIELD
[0002] The present disclosure relates to a method for backing up and securely restoring a seed held by an electronic device. The present invention particularly relates to hierarchical deterministic hardware wallets used for storing private keys for managing accounts on the blockchain.BACKGROUND
[0003] In recent years, the development of cryptocurrencies or other types of blockchain-managed cryptoassets, such as non-fungible tokens (“NFTs”) and smart contracts, has given rise to various means of storing and safekeeping private and public keys attached to these different types of cryptoassets. This has led to the emergence of cryptoasset wallets that enable the storage and safekeeping of these keys. A cryptoasset wallet is a hardware or software device whose function is to store private and public keys attached to cryptoasset accounts, and to sign transactions using these keys. A distinction is made between “hot wallets” and “cold wallets”. “Hot wallets” are connected to the Internet and susceptible to hacker attacks or exposure to viruses and malware. These can be wallets managed by centralized exchange platforms or programs installed on mobile phones, tablets, or personal computers (“software wallets”). Such wallets are connected to the Internet and therefore themselves susceptible to attacks. “Cold wallets” or hardware wallets are, on the other hand, devoid of any direct access to the Internet, which reduces the attack surface and thus the risk of theft by hacking. A hardware wallet is generally a portable electronic device, equipped with a processor having cryptographic calculation capabilities. Transactions involving private keys are signed in an offline environment. Any online transaction is temporarily transferred to the hardware wallet to be digitally signed offline, before the signature is transmitted to the online network. As private keys are not communicated to online servers during the signing process, a hacker cannot access them.
[0004] Such a type of hardware wallet is therefore considered today as the safest solution against hacker attacks. Its only disadvantage lies in the risk of loss, theft, or destruction (fire for example) of the hardware wallet, or loss of the user's personal passphrase allowing its use. The keys it contains should therefore generally be backed up in a safe place.
[0005] A first problem that arose in the past was finding a way to simplify the number of keys to be backed up, which could be very numerous if the user has many cryptoasset accounts on the blockchain. To solve this problem, a hierarchical deterministic wallet was proposed by Bitcoin. First proposed in the BIP32 standard, then optimized with the BIP39, BIP43, and BIP44 standards, it allows users to avoid making a new backup for each new key pair generated, as a single backup for all the keys in their wallet is sufficient. This solution is now used by the vast majority of software or hardware cryptoasset wallets.
[0006] With a hierarchical deterministic wallet, all of the user's private keys are generated from an original random seed or “master key”. A user only needs to keep the seed in a safe place to recover all their keys, which are derived from the seed and can be reconstructed from it (“child keys”).
[0007] To facilitate memorization and storage of the seed, the BIP39 standard also provides for expressing the seed, which is a long binary number, in the form of a mnemonic phrase also called a “recovery phrase”. The exact type of BIP39 seed currently used in the applicant's devices is a recovery phrase that consists of 24 words chosen from a list of 2048 words defined by the aforementioned standard.
[0008] For the generation of a recovery phrase, a hardware wallet generates a sequence of 256 random bits using a random number generator. The first 8 bits of a SHA-256 hash of the initial 256 bits are added to this bit string, providing 264 bits. The 264 bits are divided into 24 groups of 11 bits by the device. Each group of 11 bits is interpreted as a number between 0 and 2047, which serves as an index to the BIP39 word list, resulting in the 24-word mnemonic phrase. This type of wallet therefore requires only a single backup of the seed, preferably at the time of its commissioning, from which it is possible to derive the entire descending tree of keys.
[0009] FIG. 1 schematically shows a cryptoasset wallet comprising a hardware wallet HW, for example the device marketed by the applicant under the name “Nano” or “Stax”, and a host device HDV executing a companion application HSW, for example the “Ledger Live” application developed by the applicant. Since the device HW cannot connect directly to the Internet, it is associated with the host device HDV to perform transactions on the blockchain. The host device HDV is, for example, a computer, mobile phone, tablet, or equivalent. The connection between the device HW and the host device HDV can be through USB or Bluetooth, for example.
[0010] Once connected to the host device, the device HW can interact with the companion software to allow a user USR to perform transactions on the blockchain BCN or on decentralized exchange sites. The device HW can also communicate with a Hardware Security Module HSM located in a datacenter. The HSM module is conventionally a hardware encryption device allowing the generation, storage, and protection of cryptographic keys. The HSM module does not store any private keys of the user and only ensures control of the authenticity of the device HW, its commissioning, the update of its operating system, the download of certified application programs, etc.
[0011] When the device HW is first commissioned, it provides the user with a 24-word recovery phrase that they will have to keep on an appropriate physical medium, for example a sheet of paper or an unalterable medium such as an engraved metal plate, which they will store in a safe place.
[0012] Such safekeeping of the recovery phrase in a secure location is not without risk. Indeed, if a third party gets hold of the recovery phrase, the third party will be able to access all of the user's cryptoasset accounts generated from the seed and transfer the sums they contain to other accounts, and it will then be very difficult to identify them.
[0013] The document “Cryptocurrency wallet—Wikipedia” of Nov. 2, 2018 (2018-11-02), XP055664110 highlights the difference between a cryptocurrency hardware wallet and a software wallet, as it has just been recalled. This document reminds that hardware wallets are considered safe because private keys never leave the physical wallet. If a hardware wallet uses a mnemonic phrase for backup, users should not electronically store the mnemonic phrase, but write it down and store it in a separate physical location, as electronic storage of the backup lowers the security level to that of a software wallet.
[0014] The US2022166605A1 document discloses a process of splitting a cryptographic key into several fragments, in order to strengthen the security of a cryptocurrency transaction signature made by a computer platform using this cryptographic key. Splitting the cryptographic key prevents a single entity or device from having access to the full key, thereby reducing the risk of fraud, collusion, or unauthorized access, by requiring a certain number of fragments (quorum) to be gathered to reconstruct the cryptographic key when signing a transaction. Key fragments are encrypted with Share Encryption Keys (SEKs) that are assigned to end-user devices (“EUDs”) that use them to decrypt SEKs. The SEKs, once decrypted, then allow the computing platform to decrypt the fragments of the cryptographic key. Operator keys are provided to encrypt and decrypt SEKs. Operator keys are assigned to EUDs, which use them to decrypt SEKs. SEKs, once decrypted, allow the computing platform to decrypt the fragments of the cryptographic key. Operator keys thus provide additional security by limiting access to SEKs to only authorized EUDs.
[0015] It would therefore be desirable to provide users with a simple and practical way to safekeep their seed in a highly secure manner.SUMMARY
[0016] Embodiments concern a method for backing up and restoring a seed held by a cryptoasset wallet, comprising the steps of providing a plurality of backup servers and, by means of the cryptoasset wallet, generating a plurality of secret data from the seed and transferring to each backup server one of the secret data provided by the cryptoasset wallet, the method also comprising a step of encryption, by means of a seed encryption function and a seed encryption key, of at least one of the secret data generated from the seed, before transferring it to a backup server.
[0017] According to an embodiment, the step of encryption of at least one of the secret data comprises at least one of the following steps: by means of the seed encryption function and the seed encryption key, encrypting the seed before generating the plurality of secret data from the seed, by means of the seed encryption function and the seed encryption key, encrypting said at least one secret data before transferring it to a backup server.
[0018] According to an embodiment, the seed encryption key is recorded in a non-volatile memory of the hardware wallet, during its customization or during a subsequent update.
[0019] According to an embodiment, the seed encryption key is common to a plurality of cryptoasset wallets.
[0020] According to an embodiment, the seed encryption key is derived from a secret known to the user.
[0021] According to an embodiment, secret data encrypted by means of the seed encryption function is transferred to a backup server in a superencrypted form by means of a session key that is known only by the cryptoasset wallet and the backup server to which it is intended.
[0022] According to an embodiment, the method further comprises steps of collecting information relating to the user's identity, communicating to each backup server the information relating to the user's identity, and associating each secret data with the user's identity in each backup server.
[0023] According to an embodiment, the information relating to the user's identity includes at least the user's first name, last name, and date of birth.
[0024] According to an embodiment, the cryptoasset wallet is configured to generate a plurality of secret data by means of a secret sharing function designed to generate a number m of secret data from the seed and allow the reconstruction of the seed from a threshold of n secret data.
[0025] According to an embodiment, the cryptoasset wallet comprises a hardware wallet devoid of means of connection to the Internet connected or configured to be connected to a host device executing companion software and provided with an Internet connection.
[0026] According to an embodiment, the method comprises, for the restoration of the seed, the following steps: communication to each backup server of the information relating to the user's identity, reception by the cryptoasset wallet, in a form encrypted by a session key, of all or part of the secret data held by the backup servers, and reconstruction of the seed by the cryptoasset wallet from the secret data provided by the backup servers and by means of an inverse function of the seed encryption function.
[0027] According to an embodiment, the method comprises the steps of providing an orchestrator program executed by a server, and configuring the orchestrator program and the cryptoasset wallet to execute at least one of the following steps: during the backup of the seed, transfer to the orchestrator program by the cryptoasset wallet of the secret data generated by the cryptoasset wallet, and transfer to the backup servers, by the orchestrator program of the secret data received from the cryptoasset wallet, and during the restoration of the seed, reception by the orchestrator program of all or part of the secret data held by the backup servers, and transfer of these secret data to the cryptoasset wallet by the orchestrator program.
[0028] According to an embodiment, the method comprises the steps of establishing a first secure communication channel between the cryptoasset wallet and the orchestrator program, by means of a first session key generated after a key exchange between the cryptoasset wallet and the orchestrator program, and establishing a second secure communication channel between the cryptoasset wallet and each backup server through the orchestrator program, by means of a plurality of second session keys generated after a key exchange between the cryptoasset wallet and each backup server through the orchestrator program.
[0029] According to an embodiment, before providing the secret data it holds, at least one backup server subjects the user to an identity verification step, and refuses to return the secret data if the verification of the user's identity is not conclusive.
[0030] Embodiments also concern a cryptoasset wallet holding or intended to hold a seed, configured to offer a user the following options: manually back up the seed in the form of a recovery phrase that will have to be kept by the user, or back up the seed in a plurality of backup servers, and, if the user chooses to back up the seed in a plurality of backup servers: generate a plurality of secret data from the seed, transfer each secret data to a backup server, and by means of a seed encryption function and a seed encryption key, encrypt at least one of the secret data generated from the seed, before transferring it to a backup server.
[0031] According to an embodiment, the wallet is configured to conduct the step of encryption of at least one of the secret data by executing at least one of the following steps: by means of the seed encryption function and the seed encryption key, encrypting the seed before generating the plurality of secret data from the seed, by means of the seed encryption function and the seed encryption key, encrypting said at least one secret data before transferring it to a backup server.
[0032] According to an embodiment, the wallet is configured to conduct a step of collecting information relating to the user's identity, in the presence of the user, and a step of communicating to each backup server the information relating to the user's identity.
[0033] According to an embodiment, the wallet is configured to also offer the user the following options: manually restore the seed from a recovery phrase, or restore the seed from a plurality of backup servers, and, if the user chooses to restore the seed from a plurality of secret data held by a plurality of backup servers, reconstruct the seed from the data provided by the backup servers and by means of an inverse function of the seed encryption function.
[0034] According to an embodiment, the wallet is configured to generate a plurality of secret data from the seed by means of a secret sharing function designed to generate a number m of secret data and allow the reconstruction of the seed from a threshold of n secret data.
[0035] According to an embodiment, the wallet is configured to, if the user chooses to restore the seed from the secret data, conduct at least one step of verification of the user's identity at the request of a backup server.
[0036] According to an embodiment, the wallet comprises a hardware wallet devoid of means of connection to the Internet, and a host device executing companion software and provided with an Internet connection, the companion software complementing the hardware wallet for the realization of steps requiring interaction with the user, notably steps of collecting information relating to the user's identity.BRIEF DESCRIPTION OF THE DRAWINGS
[0037] These features as well as others of the present invention will be better understood upon reading the following non-limiting description in relation to the attached figures among which:
[0038] FIG. 1, previously described, schematically shows a cryptoasset wallet and an example of its use,
[0039] FIG. 2A and FIG. 2B show a cryptoasset wallet according to the invention and the architecture of a system provided for implementing a first embodiment of the method according to the invention, FIG. 2A illustrating a data backup step and FIG. 2B a data restoration step,
[0040] FIG. 3A and FIG. 3B show a cryptoasset wallet according to the invention and the architecture of a system provided for implementing a second embodiment of the method according to the invention, FIG. 3A illustrating a data backup step and FIG. 3B a data restoration step,
[0041] FIG. 4A describes an algorithm executed by the system of FIGS. 3A, 3B, during the data backup step,
[0042] FIG. 4B is a sequence diagram that represents the steps of the algorithm of FIG. 4A in the form of interactions between different elements of the system of FIGS. 3A, 3B,
[0043] FIG. 5A describes an algorithm executed by the system of FIGS. 3A, 3B, during the data restoration step,
[0044] FIG. 5B is a sequence diagram that represents the steps of the algorithm of FIG. 5A in the form of interactions between different elements of the system of FIGS. 3A, 3B,
[0045] FIG. 6A and FIG. 6B show a cryptoasset wallet according to the invention and the architecture of a system provided for implementing a third embodiment of the method according to the invention, FIG. 6A illustrating a data backup step and FIG. 6B a data restoration step,
[0046] FIG. 7 shows a cryptoasset wallet according to the invention and an example of hardware wallet architecture according to the invention allowing the implementation of the method according to the invention,
[0047] FIG. 8 shows steps conducted by the user of the hardware wallet of FIG. 7 for backing up the seed stored in the hardware wallet,
[0048] FIG. 9 shows steps conducted by the user of the hardware wallet of FIG. 7 for restoring the seed,
[0049] FIG. 10 shows another embodiment of a cryptoasset wallet allowing the implementation of the method according to the invention,
[0050] FIG. 11 shows yet another embodiment of a cryptoasset wallet allowing the implementation of the method according to the invention.DETAILED DESCRIPTION
[0051] The invention provides a method allowing the creation of a cryptoasset wallet offering a unique functionality in the field of hardware wallets, namely a highly secure automated seed backup functionality. Such functionality allows users to free themselves from the difficulties and dangers attached to safekeeping a recovery phrase themselves in a safe place. The unique functionalities offered by a cryptoasset wallet according to the invention will be described later in relation to FIGS. 8, 9 and tables 2 and 3. Embodiments of the method according to the invention will first be described.
[0052] FIG. 2A shows a cryptoasset wallet CW1 and a system for implementing an embodiment of the method of the invention. The cryptoasset wallet CW1 here comprises a device HW and a host device HDV. The device HW is a hardware wallet ensuring the cold storage of a seed S or master key of a set of cryptoassets. The device HW has no means of connection to the Internet and is connected to the host device HDV, which executes companion software HSW allowing it to connect to the Internet, for example by means of a USB or Bluetooth connection. The system and the method according to the invention allow backing up or restoring the seed S (master key) stored in the device HW.
[0053] The system essentially comprises a set of m backup servers BCKi (BCK1, BCK2, . . . BCKi, . . . BCKm) each provided with a backup memory MEM (magnetic hard disk or solid state memory) for backing up shares Si of the seed S. Each backup server includes a backend program BEi (BE1, . . . BEi, . . . BEm), designed for implementing the method. Each backup server BCKi is also associated with a security module HSM.
[0054] According to the method of the invention, the device HW is configured to divide the seed S into a plurality of secret data Si (S1, S2 . . . Si, . . . Sm) which will be backed up on the servers BCKi. Rather than a simple splitting, which is nevertheless not excluded from the scope of the present invention, this “division” is preferably assured by means of a secret sharing function SS allowing the generation of a number m of secret data called “shares”, and allowing the reconstruction of the seed from a threshold of n secret data Si:S1,S2, . . . ,Si, . . . ,Sm=SS(S)
[0055] For example, if m is equal to 3 and n is equal to 2, the SS function allows dividing the seed into three shares S1, S2, S3 but only two shares will be necessary to reconstruct the seed.
[0056] When the user wishes to back up their seed, the device HW establishes data connections LNKi (LNK1 to LNKm) with each backup server BCKi, through the host device HDV, for example through HTTPS. These data connections are then secured by the creation of secure channels of SCP type (“Secure Channel Protocol”) between the device HW and each backup server BCKi, in a manner that will be described.
[0057] The creation of such secure channels is ensured by means of a public key infrastructure managed by a certification authority CA. The device HW and the backup servers BCKi each possess a private key, a public key, a certificate signed by the certification authority, or static certificate, as well as the public key of the certification authority. The following notation will be used in what follows:
[0058] pL: private key of the certification authority
[0059] PL: public key of the certification authority
[0060] pD: private key of the device HW
[0061] PD: public key of the device HW
[0062] CD=[PD, Sign(pL, PD)]: certificate of the device (static certificate), comprising its public key PD and a signature of its public key by means of the private key pL of the certification authority
[0063] pBi: private key of a server BCKi (for i ranging from i to m)
[0064] PBi: public key of a server BCKi (for i ranging from i to m)
[0065] CBi=[PBi, Sign(pL, PBi)]: certificate of a server BCKi (static certificate), comprising its public key PD and a signature of its public key by means of the private key pL of the certification authority.
[0066] The signature function “Sign” is for example generated by means of an ECDSA signature algorithm based on elliptic curves (“Elliptic Curve Digital Signature Algorithm”).
[0067] The certification authority CA is preferably held by the manufacturer of the device HW, to allow it to control the allocation of certificates CBi to the backup servers BCKi. The backup servers BCKi can in turn be hosted by the manufacturer of the device HW, or be third-party partner servers participating in the implementation of the method. The keys pBi, PBi of the backup servers BCKi are held by their respective modules HSM, which handle the cryptographic calculations performed using these keys. In what follows and for the sake of language simplification, it will be considered that such cryptographic calculations are performed by the servers themselves.
[0068] To implement a secure communication channel, a key exchange is provided between the device HW and each backup server BCKi, allowing the generation of session keys kBi specific to each server BCKi but known to the device HW. This key exchange is for example a Diffie Hellman key exchange carried out according to the following steps:
[0069] i) each backup server BCKi generates a pair of ephemeral private key peBi and public key PeBi using an asymmetric key generator, then communicates its ephemeral public key PeBi to the device HW in an ephemeral certificate CeBi that it has signed with its private key pBi, as well as its certificate CBi signed by the trust authority:CeBi=[PeBi,Sign(pBi,PeBi)]CBi=[PBi,Sign(pL,PBi)]ii) the device HW itself generates a pair of ephemeral private and public keys peD, PeD, then communicates its ephemeral public key PeD to the backup servers BCKi in an ephemeral certificate CeD that it has signed with its private key pD, as well as its certificate CD signed by the trust authority, i.e.:CeD=[PeD,Sign(pD,PeD)]CD=[PD,Sign(pL,PD)]iii) each backup server BCKi verifies the signature of the ephemeral public key PeD of the device HW by means of the public key PD present in its certificate CD, then verifies the signature of the public key PD present in the certificate CD by means of the public key PL of the certification authority, or vice versa (verification of the signature of the public key PD before verification of the signature of the ephemeral public key PeD),iv) similarly, the device HW verifies the signature of the ephemeral public key PeBi of each server BCKi by means of the public key PBi present in the certificate CB, then verifies the signature of the public key PBi present in the certificate CB by means of the public key PL of the certification authority, or vice versa,v) each backup server BCKi generates an ephemeral session key kBi from its ephemeral private key peBi and the ephemeral public key PeD of the device HW, by means of a key exchange function such as, for example, the ECDH function (Elliptic Curve Diffie-Hellman key exchange), i.e.:kBi=ECDH(peBi,PeD)vi) the device HW generates the ephemeral session key kBi of each backup server BCKi from its ephemeral private key peD and the ephemeral public key PeBi of the backup server BCKi, by means of the same function, i.e.:kBi=ECDH(peD,PeBi)After generating the shares Si of the seed S, the device HW conducts symmetric encryption steps of each share Si with the session key kBi common to the backup server BCKi to whom the share Si is to be sent, which thus forms a shared key. In a simple implementation example, the device HW generates three shares S1, S2, S3 (the threshold n can then be equal to 2 or 3) and three backup servers BCK1, BCK2, BCK3 are provided. Each server BCKi generates its own session key kB1, kB2, kB3 and the device HW in turn generates each of these session keys after a key exchange with each server in the manner just described. Then, the device HW conducts symmetric encryption steps of the shares S1, S2, S3 by means of these keys, i.e.:encrypts share S1 with key kB1, i.e. {S1}kB1, then sends it to server BCK1,encrypts share S2 with key kB2, i.e. {S2}kB2, then sends it to server BCK2,encrypts share S3 with key kB3, i.e. {S3}kB3, then sends it to server BCK3.
[0079] Each backup server BCKi then decrypts the encrypted share {Si}kBi that it has received from the device HW, and stores it in its memory MEM.
[0080] According to the method, and as illustrated in FIG. 2B, the restoration of seed S is carried out in a second hardware wallet denoted HW′. This can be a device other than the device HW if the latter has been lost, stolen, or destroyed. It can also be the device HW if it has been reset, the device HW then being considered as “another” device from the perspective of the method, since it no longer possesses the seed.
[0081] For the restoration of the seed, the secure channel creation steps described above are repeated. New session keys kBi are generated. Then, each server encrypts the share Si it holds with the session key kBi, i.e. {Si}kBi, then sends it to the device HW. The latter then decrypts each share Si by means of the corresponding session key kBi, then reconstructs the seed S by means of the inverse function of that which allowed generating the shares Si, denoted “SS−1”:S=SS−1(S1,S2, . . . ,Si, . . . ,Sm)
[0082] FIG. 3A shows the architecture of a system allowing the implementation of another embodiment of the method of the invention. In this embodiment, a server ORCSRV1 is interposed between the host device HDV and the backup servers BCKi. This server, called for illustrative purposes “orchestrator server”, executes a backend program ORC1 called in what follows “orchestrator program” or “orchestrator”. The server ORCSRV1 is connected to a security module HSM provided with a private key pO, a public key PO, and a certificate CO (static certificate) signed by the certification authority CA:CO=[PO,Sign(pL,PO)]
[0083] For the implementation of the method, a first data connection LNK1 is established between the device HW and the orchestrator ORC1 by means of the host device HDV, for example an HTTPS connection. A plurality of data connections LNK2i are also established between the orchestrator and the backup servers BCKi, for example HTTPS connections, VPN IPsec, etc.
[0084] The data connection between the orchestrator and the device HW is secured by the creation of a secure channel according to the same technique as that described above:
[0085] i) the orchestrator ORC1 generates a pair of private and public keys PeO, PeO then communicates its ephemeral public key PeO to the device HW in an ephemeral certificate CeO that it has signed with its private key pO, accompanied by its certificate CO signed by the trust authority, i.e.:CeO=[PeO,Sign(pO,PeO)]CO=[PO,Sign(pL,PO)]ii) the device HW generates a pair of ephemeral private and public keys peD, PeD, then communicates its ephemeral public key PeD to the orchestrator in an ephemeral certificate CeD that it has signed with its private key pD, accompanied by its certificate CD signed by the trust authority, i.e.:CeD=[PeD,Sign(pD,PeD)]CD=[PD,Sign(pL,PD)]iii) the orchestrator ORC1 verifies the signature of the ephemeral public key PeD of the device HW by means of the public key PD present in the certificate CD, then verifies the signature of the public key PD by means of the public key PL of the certification authority, or vice versa,iv) similarly, the device HW verifies the signature of the ephemeral public key PeO of the orchestrator by means of the public key PO present in the certificate CO, then verifies the signature of the public key PO by means of the public key PL of the certification authority, or vice versa,v) the orchestrator ORC1 generates an ephemeral session key k0 from its ephemeral private key peO and the ephemeral public key PeD of the device HW:k0=ECDH(peO,PeD)vi) the device HW generates the ephemeral session key k0 from its ephemeral private key peD and the ephemeral public key PeO of the orchestrator:k0=ECDH(peD,PeO)Once the secure channel is created between the orchestrator and the device HW, data for the backup servers BCKi can be sent securely by the device HW to the orchestrator, thanks to symmetric encryption by means of the shared session key k0 of all or part of the exchanged data. Reciprocally, the orchestrator can communicate to the device HW in an encrypted form by means of the key k0 data received from the backup servers BCKi.Secure channels are also created between the device HW and the backup servers BCKi by means of session keys kBi which are generated at the end of a key exchange through the data connection LNK1, the orchestrator acting as a gateway or “proxy server” between the device HW and the servers BCKi.After execution of these steps, we distinguish:through the data connection LNK1, a secure channel secured by the session key k0 shared by the orchestrator and the device HW, which allows encrypting the data exchanged between the orchestrator and the device HW,
[0095] through the data connections LNK2i, secure channels secured by the session keys kBi specific to each backup server BCKi and known to the device HW, which allows the device HW to exchange with each server BCKi data in encrypted form.
[0096] It can also be provided, in certain cases, to encrypt with the key k0 data that are received by the orchestrator in a form encrypted by the keys kBi, which corresponds to a superencryption of these data.
[0097] In an embodiment, the method of the invention implements two improvements concerning the transmission of the certificate CD of the device HW as part of a key exchange with any server. Indeed, the sending by the device of its certificate CD as part of such a key exchange constitutes a vulnerability in terms of confidentiality, the public key PD present in the certificate being exposed in case of line tapping. Furthermore, it has been demonstrated that an ECDSA signature allows retrieving the value of the corresponding public key. Thus, the transmission of the signature Sign(pD, PeD) of the ephemeral public key PeD in the ephemeral certificate CeD can also allow a third party to discover the public key PD.
[0098] These two improvements consist respectively in the encryption of the certificate CD and in the encryption of the signature Sign(pD, PeD). As an example, the implementation of these methods will be described in the context of the calculation of the session key k0 described above. The steps related to the key exchange previously described are modified as follows:
[0099] i) the orchestrator generates an ephemeral private key peO, an ephemeral public key PeO and an ephemeral certificate CeO signed with its private key pO, and transfers its ephemeral certificate CeO to the device as well as its certificate CO:CeO=[PeO,Sign(pO,PeO)]CO=[PO,Sign(pL,PO)]ii) the device HW generates an ephemeral private key peD and an ephemeral public key PeD and calculates a first signature Sign(pD, PeD) of its ephemeral public key PeD from its private key pD and by means of the ECDSA algorithm,iii) the device generates the session key k0 from its ephemeral private key peD and the ephemeral public key PeO of the orchestrator,
[0102] iv) the device encrypts its certificate CD with the session key k0:{CD}k0v) the device encrypts the first signature Sign(pD, PeD) by means of the session key k0:{Sign(pD,PeD)}k0vi) the device transfers to the orchestrator its certificate CD encrypted with the session key k0 as well as its ephemeral certificate CeD comprising the signature of its ephemeral public key PeD encrypted with the session key k0:{CD}k0∥CeD i.e.{CD}k0∥PeD∥{Sign(pD,PeD)}k0(∥ being the concatenation symbol)vii) the orchestrator generates the session key k0 from its ephemeral private key peO and the ephemeral public key PeD received from the device, andviii) by means of the session key k0, the orchestrator decrypts the signature present in the ephemeral certificate CeD and decrypts the certificate CD of the device.It will be clear to the skilled person that these two methods of encrypting the certificate CD and encrypting the signature of the ephemeral public key PeD may be implemented separately, the public key may be encrypted without encrypting the signature or vice versa. It will also be apparent to the skilled person that these two methods are of universal application and may be implemented during the creation of any secure channel based on a key exchange and the generation of signatures with the ECDSA algorithm.Returning to FIG. 3A, it follows from the above that the provision of the orchestrator ORC1 allows reducing the number of data connections between the device HW and the backup servers BCKi, these connections being replaced by the single data connection LNK1 between the device HW and the orchestrator, while ensuring an additional degree of security thanks to the possibility of superencrypting data transiting through the connection LNK1, as indicated above. Moreover, it is possible to preserve the confidentiality of the public key PD thanks to the improvements that have just been described. The provision of the orchestrator presents various other advantages that will be described later in relation to the implementation of user identity verification steps.
[0110] The step of backing up the seed S may in this case be implemented as follows, with reference to FIG. 3A:
[0111] i) establishing the connection LNK1 between the device HW and the orchestrator and sending by the device HW a backup request BCKRQ to the orchestrator,
[0112] ii) generating by the orchestrator a random identifier BCKID of the backup, establishing the connections LNK2i between the orchestrator and the backup servers BCKi, sending the identifier BCKID by the orchestrator to the backup servers BCKi,
[0113] iii) creating the secure channel between the device HW and the orchestrator ORC1 by means of the session key k0,
[0114] iv) creating secure channels between the device HW and the backup servers BCKi by means of the session keys kBi, through the orchestrator ORC1,
[0115] v) generating the shares Si of the seed by the device HW S:S1,S2, . . . ,Si, . . . ,Sm=SS(S)vi) encrypting by the device HW each share Si by means of the session key kBi of the backup server BCKi to which the share Si is intended,
[0117] vii) sending by the device HW all the encrypted shares {Si}kBi to the orchestrator:{S1}kB1∥{S2}kB2∥ . . . ∥{Si}kBi∥ . . . ∥{Sm}kBm viii) sending by the orchestrator to each backup server BCKi the encrypted share {Si}kBi that is intended for it,
[0119] ix) decrypting by each server BCKi the share Si that is communicated to it, and storing in its memory in association with the backup identifier BCKID.
[0120] Furthermore, the step of restoring the seed S in a new device HW′, illustrated in FIG. 3B, triggered at the request of the user USR, comprises the following steps:
[0121] i) establishing the connection LNK1 between the device HW and the orchestrator and sending by the device HW a restoration request RESTRQ to the orchestrator, accompanied by the backup identifier BCKID,
[0122] ii) establishing the connections LNKi between the orchestrator and the backup servers BCKi, and sending by the orchestrator to the backup servers BCKi the identifier BCKID, so that they are informed of the restoration to be performed,
[0123] iii) creating the secure channel between the device HW and the orchestrator ORC1 by means of a new session key k0,
[0124] iv) creating secure channels between the device HW and the backup servers BCKi by means of new session keys kBi, through the orchestrator ORC1,
[0125] v) reading by each backup server BCKi, in its memory, by means of the identifier BCKID, the share Si it holds, and encrypting it by means of the new session key kBi,
[0126] vi) transmitting to the orchestrator, by each backup server BCKi, the encrypted share {Si}kBi,
[0127] vii) collecting by the orchestrator all the encrypted shares {Si}kBi provided by the backup servers BCKi:{S1}kB1,{S2}kB2, . . . ,{Si}kBi, . . . ,{Sm}kBm viii) transmitting to the device HW each encrypted share {Si}kBi, one after the other or all together:{S1}kB1∥{S2}kB2∥ . . . ∥{Si}kBi∥ . . . ∥{Sm}kBm ix) decrypting, by the device HW, each share Si by means of the session key kBi of the corresponding backup server BCKi:Si={Si}−1kBi x) reconstructing the seed by the device HW and storing it in its memory:S=SS−1(S1,S2, . . . ,Si, . . . ,Sm)It will be noted that in an embodiment the orchestrator may collect only n shares necessary for the reconstruction of the seed, if n is less than m. In this case, the seed is reconstructed from the n recovered shares:S=SS−1(S1,S2, . . . ,Si, . . . ,Sn)It has been assumed in the foregoing that the backup identifier BCKID was kept by the companion software HSW of the host device HDV despite the loss of the device HW used during the backup. In an embodiment overcoming the case where the user would have definitively uninstalled the companion software HSW, a customer account server UASRV may be provided, comprising a user account UACC in which various data concerning the user are kept, in particular the backup identifier BCKID. The server UASRV is associated with a security module HSM receiving a private key pC, a public key PC, a certificate CC signed by the certification authority, and the public key PL of the latter. In this case, the device HW′ establishes a data connection with the server UASRV thanks to a key exchange defining a session key for the creation of a secure channel, with reciprocal verification of the certificates. Once the secure channel is established, the companion software HSW connects to the customer account UACC to recover the identifier BCKID. In a variant, the identifier BCKID is stored on the server UASRV but is not communicated to the companion software. A secure connection is established between the server UASRV and the orchestrator ORC1. The orchestrator transfers the identifier BCKID to the server UASRV at the time of backup and reciprocally receives the identifier BCKID from the server UASRV when the user wants to restore their seed.In an embodiment, the user's identity is also associated with the backup process, by defining a set of pieces of information forming a “pivot identity” allowing identification. The information forming the pivot identity includes, for example, the first name, last name, and date of birth of the user, and optionally other information such as their place of birth. This information is collected by the companion software and is communicated to the orchestrator, which assembles it to form a binary string that will be designated “backup data” BCKDT. The data BCKDT may contain other information such as the date and time of the backup, and a name given by the user to the backup (to allow them to later distinguish multiple backups, if they possess several hardware wallets).At the initialization of the backup, as shown in FIG. 3A, the orchestrator communicates the data BCKDT to the backup servers BCKi which will associate them, as well as the identifier BCKID, with the backed up shares Si. For confidentiality reasons, it might be preferred, in certain embodiments, that the orchestrator does not store the data BCKDT once the backup is performed. The data BCKDT are in this case only stored by the servers BCKi, which communicate them to the user USR for confirmation by the latter of their identity at the time of restoration, as shown in FIG. 3B.
[0135] In an embodiment of the method, the pivot identity of the user is verified during at least one identity verification step designated “IDV” (Identity Verification) which is conducted before the restoration of the seed. In an embodiment, several identity verification steps IDVi are preferably provided before proceeding with the restoration of the seed, these steps being conducted by all or part of the backup servers BCKi prompted for the restitution of a share Si of the seed S.
[0136] In an embodiment shown in FIG. 3B, these identity verification steps are entrusted to specialized service providers instead of being carried out by the backup servers BCKi themselves. Such service providers possess servers IDVSRVi each executing an automated identity verification service IDVSi accessible via a gateway GTW. Each backup server BCKi may be assigned a different server IDVSRVi, and be configured to connect to the gateway GTW of the service IDVSi executed by this server. Preferably, such services IDVSi are not entirely automated, at least for a part of them, and include human intervention especially in case of doubt about a person's identity.
[0137] Thus, each backup server BCKi or at least a part of them, is configured to perform a step IDVi of verification of the user's pivot identity when it receives a request for restitution of a share of the seed. The server is then preferably configured to refuse to return the share if this verification is not conclusive.
[0138] In an embodiment, the seed backup step is also preceded by an initial step IDV0, conducted by the orchestrator or supervised by it, of verifying the user's pivot identity (i.e., at least their first name, last name, and date of birth). In this case, a server IDVSRV0 is also associated with the orchestrator ORC1, and the orchestrator is configured to connect to a gateway GTW of a service IDVS0 executed by this server for performing the step IDV0.
[0139] During the optional step IDV0 preceding the backup or each of the steps IDVi intervening before the restitution of the seed shares, the orchestrator directs the user USR to the appropriate service IDVS0 or IDVSi, via the appropriate GTW gateway. The user must perform certain actions requested by the screen of the host device HDV and the included camera (for example a mobile phone camera, a personal computer webcam, etc.). For example, the service IDVS0 or IDVSi asks the user to provide a valid identity document including a photo, to take a photo of the identity document with the camera and send it. The service IDVS0 or IDVSi then asks the user to take a photo (selfie) or video of their face and send it. The service IDVS0 or IDVSi then verifies the authenticity of the identity document from the photo or video of the face, and the identity document, once verified, allows verification of the data of the pivot identity with a degree of certainty which can, in certain embodiments, be represented by a score. The result of this verification, and optionally the score, is communicated to the orchestrator. In an embodiment, the steps IDV also include verifications against government databases.
[0140] Although the step IDV0 is not as critical as those performed by the servers BCKi at the time of restitution of the shares Si, it ensures that the user has not made an error in providing the information relating to their identity, which is incorporated into the data BCKDT. Moreover, the information collected by the orchestrator during this step, such as the photo of the identity document and the photo or video of the face, may optionally be communicated to the backup servers BCKi via a specific communication channel, since this information is not part of the backup data BCKDT.
[0141] In an embodiment, the orchestrator ORC1 may suspend the seed backup process if it considers that the initial verification of the user's identity is not conclusive or is given a score that is too low. Furthermore, in another embodiment or in addition, the orchestrator receives from the backup servers BCKi information on the success of the identity verification steps IDVi that they have conducted or that have been conducted by the service providers to which they are affiliated. If a determined number of servers BCKi have not successfully verified the user's identity and refuse to return the shares Si they hold, the orchestrator may be configured to suspend the restitution of the shares Si by the servers that have successfully verified the user's identity. The orchestrator may optionally decide to subject the user to an additional step of verification of their identity.
[0142] In a variant, or in addition, the orchestrator receives from each backup server BCKi having conducted an identity verification step, a certainty score regarding the user's identity. If the average of the scores is below a first threshold, and / or if one of the scores is below a second threshold, the orchestrator suspends the restoration process and optionally subjects the user to an additional step of verification of their identity.
[0143] In the ultimate case where the user would have closed their account on the account server UASRV, would have uninstalled the companion software by deleting the data it contained, and would have lost their hardware wallet HW and could therefore no longer retrieve the backup identifier BCKID, a solution can be provided to allow them to recover their seed. The user would then undergo a plurality of individual steps of verification of their identity with each server BCKi to recover each share Si of the seed. A procedure involving a ministerial officer, such as a notary, may also be provided. Each provider IDV will also be able to verify that their approach is legitimate by ensuring that there is no account attached to this user in the system's account server, and entrust more in-depth investigation procedures to natural persons, such as conducting a telephone interview with the user, conducting a video conference with the user, conducting a face-to-face interview with the user, validation of a school or employment career of the user, etc.
[0144] It will be clear to the skilled person that the method of the invention is susceptible to various other embodiments and variants. In particular, the backup data BCKID could, in an embodiment, include in a compressed form the data collected at the step IDV0 to verify the user's pivot identity, such as the photo or video of their face and a photo of an identity document. The automated steps of verification of the user's pivot identity as conducted by the services IDVSi executed by the servers IDVSRVi or by the backup servers BCKi themselves, may include at least two of the following steps: acquiring, through a camera, a photo of a non-expired identity document including a photo of the user; acquiring, through a camera, one or more photos of the user's face; acquiring, through a camera, a video recording showing the user's face in motion, with liveness detection to verify that the user is real; acquiring a proof of residence, such as a utility or telephone bill; acquiring a fingerprint of the user; acquiring a validation code received by the user in a phone message, by email or by mail; activating by the user a link received by the user in a phone message, by email or by mail; and acquiring a hologram present on a non-expired identity document.
[0145] An example of a backup algorithm applicable to the system of FIG. 3A and implementing various aspects of the embodiments of the method previously described will now be described in relation to FIG. 4A. FIG. 4B is a sequence diagram that represents the steps of the algorithm in the form of interactions between:
[0146] the user USR,
[0147] the device HW and its host device HDV (considered as a single entity forming the cryptoasset wallet CW1),
[0148] the orchestrator ORC1 and its associated security module HSM (also considered as a single entity), and
[0149] the server IDVSRV0 associated with the orchestrator to perform the IDV0 step of verification of the user's identity,
[0150] the backup servers BCKi, and
[0151] the servers IDVSRVi associated with the servers BCKi to perform the subsequent identity verification steps, at the time of seed restoration.
[0152] Some functions used in the algorithm are indicated in table 1 below, as a non-limiting example:TABLE 1Type ofcryptographyElliptic curve cryptographySignECDSA signature (Elliptic Curve DigitalSignature Algorithm) with thesecp256k1 elliptic curveECDHElliptic curve-based Diffie-Hellmankey exchange using for example thesecp256k1 elliptic curveHash functionSHA-256 (Secure Hash Algorithm)SymmetricAEAD-AES-SIV-CMAC-256 algorithmencryption {.}k0SS FunctionShamir Secret Sharing function orother similar function, or PedersenPVSS (Publicly Verifiable Secret Sharing)based on the secp384r1 curve
[0153] Description of the algorithm, in relation to FIGS. 4A and 4B.B1. Initialization of the Backup
[0154] The user USR selects a seed backup option in the device HW. The user, through the host device HDV, creates a backup account on the account server UASRV. The device HW establishes a data connection with the orchestrator ORC1 and sends it the backup request:[HW→ORC1]BCKRQOptionally the device HW offers the possibility to the user to choose the number m of shares Si that they wish to generate for backing up the seed, and the corresponding threshold n for the number of shares necessary for the reconstruction of the seed S. Still optionally, the device HW can present to the user a list of backup servers BCKi, some being potentially external partners, and ask the user to indicate those they wish to use. Otherwise, these are automatically selected by the orchestrator. The orchestrator ORC1 establishes a data connection with the servers BCKi, then engages the backup process according to the steps described in what follows.B2. Generating and Sending the Backup Identifier to the Device HW and to the Servers BCKi
[0156] [ORC1→BCKi,HW]BCKID
[0157] The orchestrator ORC1 generates the backup identifier BCKID, for example a random number, and transfers it to the device HW and to the servers BCKi.B3. Performing an Identity Verification IDV0 by the Server IDVSRV0
[0158] [IDVSRV0]IDV0
[0159] The orchestrator ORC1 connects the user to the server IDVSRV0 through a gateway GTW. The service IDVS0 proceeds with a verification of the user's pivot identity IDV0.B4. Confirming by the Orchestrator the Success of the Identity Verification
[0160] IDV_OK→HW
[0161] The server IDVSRV0 confirms to the orchestrator ORC1 that the IDV has been successfully performed, and the orchestrator ORC1 confirms to the user through the device HW that their identity has been verified and that the seed backup step can be initiated. On the occasion of this step, the orchestrator ORC1 may generate the backup data BCKDT, and send it to the device HW.B5. Mutual Authentication and Creation of a Secure Channel Between the Orchestrator and the DeviceB5.1 Generation by the Orchestrator of an Ephemeral Certificate
[0162] (peO,PeO)=AsymKeyGen( )Sign(pO,ReO∥PeO)CeO=PeO∥Sign(pO,ReO∥PeO)The orchestrator ORC1 generates an ephemeral private key peO and an ephemeral public key PeO. The orchestrator calculates the signature of its ephemeral public key PeO by means of its private key pO. In a variant illustrated here, the orchestrator calculates the signature of its ephemeral public key PeO after having concatenated it with data ReO. The data ReO specifies for example the role that the orchestrator server plays in the method, for example the role of orchestrator for the establishment of a secure channel. The orchestrator then generates an ephemeral certificate CeO by concatenation of the ephemeral public key PeO and the signature.B5.2 Sending the Orchestrator's Certificates to the Device
[0164] CeO∥CO→HW
[0165] The orchestrator ORC1 sends to the device HW its ephemeral certificate and its certificate CO.B5.3. Verification by the Device of the Orchestrator's Certificates
[0166] Verif CeO,Verif CO
[0167] The device HW verifies the certificate chain of the orchestrator, in the manner described above, by means of the public key PL of the certification authority.B5.4. Generation by the Device HW of a Session Key k0 and an Ephemeral Certificate
[0168] (peD,PeD)=AsymKeyGen( )k0=ECDH(peD,PeO)Sign(pD,ReD∥PeD){Sign(pD,ReD∥PeD)}k0CeD=PeD∥{Sign(pD,ReD∥PeD)}k0{CD}k0The device HW generates an ephemeral private key peD and an ephemeral public key PeD, then a session key k0 from its ephemeral private key peD and the ephemeral public key PeO of the orchestrator by means of the ECDH algorithm. The device HW then calculates the signature of its ephemeral public key PeD by means of its private key pD, here after having concatenated the ephemeral public key PeD with data ReD. The data ReD specifies for example the role that HW plays in the method. The device HW then encrypts the signature of its ephemeral public key with the session key k0, in accordance with the signature encryption process described above. The device HW then forms an ephemeral certificate CeD by concatenation of the ephemeral public key PeD and the encrypted signature. Finally, the device HW encrypts its certificate CD by means of the key k0, in accordance with the certificate encryption process described above.B5.5. Sending the Device's Certificates to the Orchestrator[HW→ORC1]CeD∥{CD}k0The device HW sends to the orchestrator ORC1 its certificate CD encrypted by means of the key k0 as well as its ephemeral certificate CeD comprising the encrypted signature. Thanks to the encryption of the certificate and the encryption of the ephemeral certificate's signature, the public key PD is not exposed, as explained above. As indicated above, the order of these steps may be reversed, the device being able to send its certificate, here encrypted, before sending its ephemeral certificate, comprising here the encrypted signature.B5.6. Generation by the Orchestrator of the Session Key k0k0=ECDH(peO,PeD)The orchestrator ORC1 generates the session key k0 from its ephemeral private key peO and the ephemeral public key PeD of the device HW by means of the ECDH algorithm.B5.7. Verification by the orchestrator of the device's certificatesCD={CD}−1k0Sign(pD,ReD∥PeD)={Sign(pD,ReD∥PeD)}−1k0Verif CeD,Verif CD The orchestrator ORC1 decrypts the certificate CD of the device HW as well as the signature of the ephemeral certificate of the device HW, then verifies the certificate chain.B6. Sending to the Servers BCKi the Data BCKID, BCKDT and the Certificates CeD, CD of the Device[ORC1→BCKi]For each server BCKi, i ranging from 1 to mBCKID∥BCKDT∥CeD∥CD The orchestrator ORC1 sends to each server BCKi the backup identifier BCKID, the backup data BCKDT which includes at least the pivot identity data. As indicated above, other data may optionally be sent or have been sent to the backup servers by other channels, such as the photo or video of the user's face taken at the step IDV0, and the photo of an identity document. If these data are not included in the backup data BCKDT, they can be stored by the customer account server and transmitted to the servers BCKi after the backup.B7. Verification by Each Server BCKi of the Device's CertificatesFor each server BCKi, i ranging from 1 to mVerif CeD,Verif CD Each server BCKi verifies the certificate chain of the device HW in the manner previously described.B8. Mutual Authentication and Creation of a Secure Channel Between the Servers BCKi and the Device, Through the OrchestratorB8.1 Generation by Each Server BCKi of an Ephemeral CertificateFor each server BCKi, i ranging from 1 to m(peBi,PeBi)=AsymKeyGen( )Sign(pBi,ReBj∥PeBi)CeBi=PeBi∥Sign(pBi,ReBj∥PeBi)Each server BCKi generates an ephemeral private key peBi and an ephemeral public key PeBi. Each server BCKi calculates the signature of its ephemeral public key PeBi after having concatenated it with data ReB by means of its private key pBi. ReB specifies for example the role that each server plays in the method, for example the role of backup server for the management of the secure channel. Then each server BCKi generates an ephemeral certificate CeBi by concatenation of the ephemeral public key PeBi and its signature.B8.2 Generation by Each Server BCKi of a Session Key kBiFor each server BCKi, i ranging from 1 to mkBi=ECDH(peBi,PeD)Each server BCKi then generates a session key kBi from its ephemeral private key peBi and the ephemeral public key PeD of the device HW, by means of the ECDH algorithm.B8.3 Generation by Each Server BCKi of an Encrypted Hash CodeFor each server BCKi, i ranging from 1 to mHi=Hash(PeBi∥BCKID∥BCKDT)CHi={Hi}kBi Each server BCKi then generates a hash code Hi from a binary string comprising its ephemeral public key PeBi, the data BCKID and the backup data BCKDT. Each server BCKi then encrypts the code Hi by means of the session key kBi to obtain an encrypted hash code CHi.B8.4 Sending to the Orchestrator the Certificates of the Servers BCKi and the Encrypted Hash Code[BCKi→ORC1]RETDTi=CeBi∥CBi∥CHi Each server BCKi sends to the orchestrator ORC1 a binary string RETDTi comprising its ephemeral certificate CeBi, its certificate CBi and the encrypted hash code CHi.B8.5 Sending to the Device the Certificates of the Servers BCKi and the Encrypted Hash Code[ORC1→HW]{BCKID∥BCKDT∥RETDT∥ . . . ∥RETDTi∥ . . . ∥RETDTm}ko The orchestrator ORC1 sends back to the device the data BCKID, BCKDT and all the data RETDTi received from the backup servers BCKi, in a form encrypted by means of the key kW. It will be noted here that the orchestrator does not have access to the RETDTi data because it does not know the private keys kBi of the servers BCKi. The data in the secure communication channel between the orchestrator and the device are therefore encrypted twice.B8.6 Decryption by the Device of the Certificates of the Servers BCKi and the Encrypted Hash Code{BCKID∥BCKDTI∥RETDT1| . . . ∥RETDTi∥ . . . ∥RETDTm}−1k0The device HW decrypts the data string to extract the data BCKID, BCKDT and the certificates CeBi, CBi, CHi.B8.7 Validation of the Data BCKDT and the Servers BCKi by the UserFor each server BCKi, i ranging from 1 to mValidate BCKDT,BCKi The user as a natural person validates the backup data BCKDT and the servers BCKi in charge of the backup, which are presented to the user on the screen of the host device.B8.8 Verification by the Device of the Certificates of the Servers BCKiFor each server BCKi, i ranging from 1 to mVerif CeBi,Verif CBi The device HW verifies the certificate chain of each server BCKi.B8.9 Generation by the Device of the Session Keys kBi and Verification of the Encrypted Hash CodesFor each server BCKi, i ranging from 1 to mkBi=ECDH(peD,PeBi){Hi}−1kBi Validate Hi For each server BCKi, the device HW generates the session key kBi then decrypts the code Hi and validates it by recalculating the code Hi itself and comparing it to the decrypted code.B9. Preparation of the Backup, Generation of the m Shares SiS1,S2, . . . Si, . . . Sm=SS(S)By means of the secret sharing function SS, the device HW generates the m shares Si to be backed up in the different servers BCK1, BCK2 . . . BCKm, with a threshold of n shares for recovering the seed S.In a variant B9′ of step B9, step B9′ first comprises the encryption of the seed S by means of a seed encryption key Kseed and an encryption function Fseed, before generating the m shares Si to be backed up in the different servers BCK1, BCK2 . . . BCKm. The function Fseed is for example AES 256 encryption, i.e., symmetric encryption, the seed encryption key Kseed also forming a decryption key.Step B9′ Comprises in this Case the Following Steps:S=Fseed(S)Kseed then:S1,S2, . . . Si, . . . Sm=SS(S)Thus, the shares Si are here generated from the seed encrypted by means of the function Fseed and the key Kseed.In yet another variant B9″ of step B9, it is the m shares Si which, after having been generated, are encrypted individually by means of the seed encryption key Kseed. This encryption of the shares Si of the seed may be AES 256 encryption, as previously. Step B9″ comprises in this case the following steps:S1,S2, . . . Si, . . . Sm=SS(S)then:S1=Fseed(S1)Kseed S2=Fseed(S2)Kseed Si=Fseed(Si)Kseed Sm=Fseed(Sm)Kseed For the sake of simplicity, the same notation “Si” will be used, for the description of the steps that follow, to designate the shares, whether these are generated from the unencrypted seed or from the seed encrypted by means of the seed encryption key, or whether these have been encrypted after having been generated.Other variants of step B9 may be provided, especially a combination of the two variants B9′ and B9″ that have just been described, or a variant in which only part of the shares Si undergoes the encryption step by means of the key Kseed.In an embodiment, the seed encryption key Kseed is recorded in a non-volatile memory of the hardware wallet HW, for example that containing the operating system of the device. This recording may be done during the customization of the device, before its commercialization, or during an update of its firmware.In an embodiment, the seed encryption key Kseed is common to a plurality of hardware wallets HW. The key may be known only to the manufacturer of the hardware wallets HW, so that it is not necessary for the user to safeguard it.In another embodiment, the seed encryption key is derived from a secret known to the user. For example, the encryption key derived from a secret known to the user and an encryption key stored in the hardware wallet.B10. Encryption of the Shares Si by the DeviceFor each server BCKi, i ranging from 1 to m{Si}kBi For each server BCKi, the device HW encrypts the share Si that is intended for it with the key kBi that is specific to it. This is an encryption of the shares Si by means of the session keys kBi specific to each server BCKi, i.e., a communication channel encryption, which should be distinguished from the encryption by means of the seed encryption key Kseed that was proposed above as an option. Thus, if this option is chosen, the shares Si, before being encrypted by means of the session keys kBi, may have been previously encrypted by means of the seed encryption key Kseed or be derived from a seed previously encrypted with the seed encryption key Kseed, and are therefore superencrypted during their transmission.B11. Sending the Encrypted Shares Si to the Orchestrator[HW→ORC1]{S1}kB1∥{S2}kB2∥ . . . ∥{Si}kBi∥ . . . ∥{Sm}kBm→ORC1The device HW then sends all the shares to the orchestrator ORC1. Note that the orchestrator lacks knowledge of the value of each share Si, as it is encrypted with the key kBi that it is unaware of.B12. Sending the Encrypted Si Shares to the Servers BCKi[ORC1→BCKi]For each server BCKi, i ranging from 1 to mBCKID∥{Si}kBi→BCKi The orchestrator ORC1 transmits to each server BCKi the encrypted share Si that is designated for it, along with the backup identifier.B13. Decryption and Recording by Each Server BCKi of the Encrypted Share SiFor each server BCKi, i ranging from 1 to m{Si}−1kBi→STOREEach server BCKi decrypts the share Si it has received and stores it in its memory MEM for backup.B14. Confirmation of the Backup to the Orchestrator by Each Server BCKi[BCKi→ORC1]OKi Each server BCKi acknowledges the orchestrator ORC1 by a message “OKi” (where i ranges from 1 to m) that it has successfully decrypted and stored the share of the seed entrusted to it. Optionally, each server BCKi can send an encrypted proof of the decryption of the share Si using a hash code signed with its session key. This signed hash code will be passed on to the device HW for verification.B15. Confirmation of the backup to the user[ORC1→HW]OKThe orchestrator ORC1 sends a success message (“OK”) of the backup to the device HW, which displays a backup confirmation message on its screen for the attention of the user.At the end of the process:the device HW still holds the seed S,the companion software HSW records the backup identifier BCKID,the orchestrator ORC1 does not hold the seed S or the backup data BCKDT, and only holds the backup identifier BCKID,each server BCKi holds the backup identifier BCKID, the backup data BCKDT which contain at least the user's pivot identity, and the share Si of the seed that has been entrusted to it.The companion software HSW records the backup identifier BCKID and can also update the user's customer account UACC by recording therein the backup identifier BCKID.An example of a seed restoration algorithm applicable to the system of FIG. 3A and implementing various aspects of the embodiments of the method previously described will now be described in relation to FIG. 5A. FIG. 5B is a sequence diagram that represents the steps of the algorithm in the form of interactions between the entities previously mentioned.It is considered here that the user has lost their device HW, or has irretrievably lost the password that allows its use. The user obtains a new device HW′ that they will use to recover the seed S, and connect it to the host device HDV whose companion software HSW has stored the backup identifier BCKID. The new device HW′ could also be the device HW that has been reset.At the beginning of the process, the device HW′ holds a private key pD, a public key PD, a certificate CD certified by the certification authority, and the public key PL of the certification authority (the same designation as previously will be used for the keys and certificates of the device HW′). The restoration step includes the steps described below. Steps similar to those previously described will not be commented on again.R1. Sending by the Device a Restoration Request to the OrchestratorHW′→ORC1RESTRQ[BCKID]The restoration is initiated by the device HW′ sending to the orchestrator a restoration request RESTRQ. The request contains the backup identifier BCKID. It is issued at the request of the user and selected through a menu displayed on the screen of the device HW′ or on the screen of the host device HDV.R2. Mutual Authentication and Creation of a Secure Channel Between the Orchestrator and the DeviceR2.1 Generation by the Orchestrator of an Ephemeral Certificate(peO,PeO)=AsymKeyGen( )Sign(pO,ReO∥PeO)CeO=PeO∥Sign(pO,ReO∥PeO)R2.2 Sending the Orchestrator's Certificates to the DeviceORC1→HW′CeO∥CO R2.3. Verification by the Device of the Orchestrator's CertificatesVerif CeO,Verif CO R2.4. Generation by the Device of a Session Key and an Encrypted Ephemeral Certificate(peD,PeD)=AsymKeyGen( )k0=ECDH(peD,PeO)Sign(pD,ReD∥PeD){Sign(pD,ReD∥PeD)}k0CeD=PeD∥{Sign(pD,ReD∥PeD)}k0{CD}k0R2.5. Sending the Certificates of Device HW′ to the Orchestrator[HW′→ORC1]CeD∥{CD}k0R2.6. Generation by the Orchestrator of the Session Key k0k0=ECDH(peO,PeD)CD={CD}−1k0Sign(pD,ReD∥PeD)={Sign(pD,ReD∥PeD)}−1k0R2.7. Verification by the Orchestrator of the Device's CertificatesVerif CeD,Verif CD R3. Sending to the Servers BCKi the Data BCKID and Certificates CeD, CD[ORC1→BCKi]For each server BCKi, i ranging from 1 to mBCKID∥CeD∥CD→BCKi The orchestrator ORC1 sends to each backup server BCKi the backup identifier BCKID, the ephemeral certificate CeD and the certificate CD of the device HW′.R4. Verification by Each Server BCKi of the Device's CertificatesFor each server BCKi, i ranging from 1 to mVerif CeD,Verif CD R5. Mutual Authentication and Creation of a Secure Channel Between the Servers BCKi and the Device, Through the OrchestratorR5.1 Generation by Each Server BCKi of an Ephemeral CertificateFor each server BCKi, i ranging from 1 to m(peBi,PeBi)=AsymKeyGen( )Sign(pBi,ReB∥PeBi)CeBi=PeBi∥Sign(pBi,ReB∥PeBi)R5.2 Generation by Each Server BCKi of a Session KeyFor each server BCKi, i ranging from 1 to mkBi=ECDH(peBi,PeD)R5.3 Generation by Each Server BCKi of an Encrypted Hash CodeHi=Hash(PeBi∥BCKID∥BCKDT)CHi={Hi}kBi R5.4 Sending to the Orchestrator by Each Server BCKi the Corresponding Certificate and Encrypted Hash Code[BCKi→ORC1]For each server BCKi, i ranging from 1 to mRETDTi=CeBi∥CBi∥CHi R5.5 Sending Data Received from the Servers BCKi to the Device[ORC1→HW′]{BCKID∥BCKDT∥RETDT1| . . . ∥RETDTi∥ . . . ∥RETDTm}k0R5.6 Decryption by the Device of the Data String Received from the Orchestrator{BCKID∥BCKDTI∥RETDT1| . . . ∥RETDTi∥ . . . ∥RETDTm}−1k0R5.7 Validation of the Backup Data by the UserValidate BCKDTThe user validates the backup data BCKDT, in particular first name, last name, date of birth, optionally place of birth.R5.8 Verification by the Device of the Certificates of the Servers BCKiFor each server BCKi, i ranging from 1 to mVerif CeBi,Verif CBi R5.9 Generation by the Device of the Session Keys kBi and Verification of the Encrypted Hash Codes CHiFor each server BCKi, i ranging from 1 to mkBi=ECDH(peD,PeBi){Hi}−1kBi Validate Hi(Hi=Hash(PeBi∥BCKID∥BCKDT)R6. Preparation of the RestorationR6.1 Sending by the Device Restoration Confirmations to the Orchestrator[HW′→ORC1]{ConfirmRestore1}kB1∥{ConfirmRestore2}kB2∥ . . . ∥{ConfirmRestore_i_}kBi∥ . . . ∥{ConfirmRestore_m_}kBm→ORC1The device HW′ sends back to the orchestrator ORC1 for each server BCKi, an individual restoration confirmation “ConfirmRestore_i_” which is encrypted with the key kBi of each server BCKi. Each confirmation is a predefined binary code.R6.2 Sending the Restoration Confirmations to the Servers BCKiFor each server BCKi, i ranging from 1 to mBCKIDI|{ConfirmRestore_i_}kBi→BCKi The orchestrator ORC1 sends to each server BCKi the concatenated backup identifier BCKID and the restoration confirmation {ConfirmRestore_i_}kBi intended for it.R6.3 Verification by the Servers BCKi of the Restoration ConfirmationsFor each server BCKi, i ranging from 1 to m{ConfirmRestore_i_}−1kBi Store CD Each server BCKi decrypts the confirmation message issued by the device HW′ and communicated to it by the orchestrator ORC1, and memorizes the certificate CD of the device HW′ that it has previously verified.R6.4 Confirmation by Each Server BCKi that the Restoration May be Initiated Subject to Identity Verification[BCKi→ORC1]For each server BCKi, i ranging from 1 to mOK_for_IDVEach server BCKi indicates to the orchestrator ORC1 that it is ready to return the share Si it has backed up subject to the user identifying themselves through a step IDVi.R7. Conducting the Identity Verification Steps IDVi by the Servers IDVSRViFor each server BCKi, i ranging from 1 to mIDVRi The user is redirected by the orchestrator ORC1 to each server BCKi and each server BCKi proceeds with its own verification IDVi of the user's pivot identity. In the present embodiment where the steps IDVi are entrusted to service providers, each server BCKi connects the user to the server IDVSRVi to which it is affiliated through a gateway GTW. The service IDVSi of the provider proceeds with a verification of the user's identity, then confirms to the orchestrator ORC1 that their identity has been verified and that the seed backup step may be initiated.It will be noted that the duration of each identity verification step IDVRi may range from a few minutes to several days depending on the requirements of each server BCKi or the provider performing the IDVRi. Verifications by natural persons may be systematically planned with certain IDV providers.R8. Reestablishment of Secure Communication Channels after Completion of the Identity Verification Steps IDVi[HW′→ORC1]Continue RestoreOnce the identity verification step is completed, sometimes several days later, the user restarts the restoration step. The device HW′ sends to the orchestrator ORC1 a request “Continue Restore” to resume the restoration.Repetition of steps R2.1 to R2.7, R3, R5.1 to R5.9As several days may elapse during the achievement of the IDVi verification steps, in an embodiment, the previous session certificates are not kept. Thus, steps R2.1 to R2.7, R3, R5.1 to R5.9 are executed again to resume the restoration process where it stopped, but with new session keys k0 and kBi.R9. Resumption of the Restoration[ORC1→BCKi]For each server BCKi, i ranging from 1 to m (or i ranging from 1 to n)Continue Restore→BCKi Once the secure channels are reopened by means of new session keys, the orchestrator passes on to the servers BCKi the request to continue the restoration. It will be noted that if during the steps IDVRi one of the servers BCKi cannot verify the user's identity with a determined degree of certainty, it will refuse to return the share it holds and will inform the orchestrator ORC1. If a determined number of backup servers BCKi have not successfully verified the user's identity and refuse to return the data they hold, the orchestrator may be configured to suspend the restitution of the shares by the servers that have successfully verified the user's identity. It may optionally decide to subject the user to an additional procedure for verification of their identity. The orchestrator may also be configured to analyze certainty scores regarding the verification of the user's identity, as indicated above, and take a decision based on this analysis.Moreover, in a variant of the method mentioned above and as indicated in parentheses below, this step is limited to n backup servers BCKi, instead of all the backup servers, if only n shares are necessary for the reconstruction of the seed, n being smaller than m.R10. Verification of the Device's CertificateFor each server BCKi, i ranging from 1 to m (or i ranging from 1 to n)Verif CD=CD Each server BCKi ensures that the certificate CD of the device HW′ is the same as the certificate CD received and stored before conducting the identity verification steps IDVi.R11. Transfer of the Shares to the Orchestrator by the Servers BCKiFor each server BCKi, i ranging from 1 to m (or i ranging from 1 to n){S1}kB1∥{S2}kB2∥ . . . ∥{Si}kBi∥ . . . ∥{Sm}kBm→ORC1Each server BCKi sends to the orchestrator ORC1 the share Si it holds, encrypted by means of the server's key kBi, which the orchestrator does not know.R12. Transfer of the Shares to the Device by the Orchestrator{S1}kB1∥{S2}kB2∥ . . . ∥{Si}kBi∥ . . . ∥{Sm}kBm→HW′The orchestrator ORC1 sends to the device HW′ all the shares Si received from the servers BCKi in encrypted form by means of the keys kBi.R13. Decryption of the Shares by the Device and Restoration of the SeedFor each server BCKi, i ranging from 1 to m (or i ranging from 1 to n){Si}−1kBi S=SS−1(S1,S2, . . . Si . . . Sm)(or S=SS−1(S1,S2, . . . Si . . . Sn))After decrypting each share of rank i by means of the corresponding key kBi, the device HW′ restores the seed from the received shares, or a part of them if their number is greater than n.In a variant R13′ of step R13 corresponding to variant B9′ of step B9 described above, the seed S that the device HW′ has restored is the original seed encrypted with the seed encryption key Kseed. An additional decryption step by means of the key Kseed should therefore be provided to restore the seed, by means of the decryption function Fseed−1 corresponding to the inverse function of the function Fseed:S=Fseed−1(S)Kseed In a variant R13″ of step R13 corresponding to variant B9″ of step B9, each share Si that the device HW′ has decrypted was originally encrypted with the seed encryption key Kseed. Each share Si should therefore be decrypted by means of the key Kseed after having been decrypted by means of the session key kBi, before reconstructing the seed, i.e.:For each server BCKi, i ranging from 1 to m (or i ranging from 1 to n){Fseed−1(Si)Kseed}−1kBi S=SS−1(S1,S2, . . . Si . . . Sm)In the embodiment described above in which the seed encryption key is derived from a secret known to the user, steps R13′ and R13″ include a step of generation of the seed encryption key from the user's secret. This generation possibly involves an encryption key stored in the hardware wallet.R14. Final ConfirmationOK→ORC1The device HW′ confirms to the orchestrator ORC1 that the seed restoration is complete.It will be clear to the skilled person that the method that has been described is susceptible to numerous other variants and embodiments. The structure of the certificates involved in the method has been described above according to two variants, for example:Cx=[Px,Sign(pL,Px)]Cex=Pex|{Sign(px,Rex∥Pex)The ephemeral certificates could also be of the type:Cex=Pexj∥{Sign(px,Pex)The method may also be implemented with any certificate structure. In particular, X509 certificates can be used. Similarly, other encryption functions or cryptographic algorithms can be used, particularly in the context of an implementation based on RSA cryptography.FIG. 6A shows a system for implementing the method of the invention which differs from that of FIG. 3A in that the server ORCSRV1 is replaced by a server ORCSRV2 that executes an orchestrator program ORC2 (hereinafter “orchestrator ORC2”). The orchestrator ORC2 differs from the orchestrator ORC1 in that it does not ensure the transmission to the device HW of the data issued by the backup servers BCKi, and reciprocally, and thus does not act as a gateway or “proxy server”.When the user initiates a seed backup step, the device HW addresses a backup request BCKRQ to the orchestrator ORC2 following which the orchestrator ORC2 engages the previously described steps of generating a backup identifier BCKID, and of collecting information concerning the user, to generate the backup data BCKDT. The orchestrator also conducts the initial step IDV0 of verification of the user's pivot identity (i.e., at least their first name, last name, and date of birth). If this step is conclusive, the orchestrator delivers to the device HW backup authorizations BCKPASSi, one authorization per backup server BCKi, and sends each authorization to the concerned server BCKi.Each authorization BCKPASSi forms a sort of “passport” allowing the device HW to know which server BCKi it should address to back up a share Si of the seed, and allowing it to connect to the server BCKi to proceed with the backup without being rejected by the server. Each authorization BCKPASSi may include various pieces of information, in particular the information that was previously in the backup data BCKDT and the identifier BCKID. The authorizations BCKPASSi are kept by the companion software as well as, preferably, in the user's account UACC on the account server UASRV. In a variant, the orchestrator delivers a general authorization BCKPASS containing a concatenation of all the information contained in the authorizations BCKPASSi.With reference to FIG. 6B, when the user wishes to restore the seed, the companion software connects to the backup servers BCKi that it identifies by means of the addresses contained in the authorizations BCKPASSi, then reverts to the device HW for it to establish secure channels with the backup servers BCKi, by key exchanges as described above. When the secure channels have been created, the backup servers BCKi engage the steps IDVi of verification of the user's pivot identity.The role of supervisor of the steps IDVi that was previously devolved to the orchestrator ORC1 may also be devolved here to the orchestrator ORC2. This orchestrator is then solicited by the backup servers BCKi to analyze the results of the steps IDVi. If these results are conclusive, the orchestrator ORC2 delivers to the device HW restoration authorizations RESTPASSi which it also communicates to the backup servers BCKi. The device HW then reestablishes a secure channel with the backup servers BCKi and presents them the authorizations RESTPASSi to recover the shares Si of the seed.In the ultimate case where the user would have closed their account on the account server UASRV, uninstalled the companion software by deleting the data it contained, and could therefore no longer recover the authorizations BCKPASSi, as well as in the ultimate case where the orchestrator ORC2 would no longer exist, a solution is provided to allow the user to recover their seed, by allowing them to conduct a plurality of individual steps of verification of their identity with each backup server BCKi.In a variant of the method facilitating the recovery of the shares in case of total failure of the system, or loss of the identifier BCKID (embodiment FIGS. 3A, 3B) or authorizations BCKPASSi, it can be provided that the organization in charge of the orchestrator ORC1 or ORC2 delivers to the user, for example by postal mail, a backup certificate bearing an inviolable authenticity certificate such as a hologram. Such a backup certificate will not spare the user the steps of verification of their identity with the backup servers, but will contain enough information to offer an additional degree of certainty as to their quality as legitimate holder of the seed when the verification steps IDVi are conducted.FIG. 7 shows an example of implementation of a hardware wallet HW allowing the implementation of the method. The device HW comprises a secure element SE1, a microcontroller MCU1 and a touchscreen TS1. The touchscreen TS1 comprises an electronic ink display EID and a touch module TM. The touchscreen TS1 is under the control of the secure element SE1. For this purpose, the resources in terms of inputs / outputs of the secure element SE1 are divided into three groups of inputs / outputs IOGA, 10 GB, IOGC. The inputs / outputs group IOGA is assigned to the implementation of a bus BS1 connecting the secure element SE1 to the microcontroller MCU1. The inputs / outputs group 10 GB is assigned to the implementation of a bus BS2 connecting the secure element SE1 to the display EID, and the inputs / outputs group IOGC is assigned to the implementation of a bus BS3 connecting the secure element SE1 to the touch module TM. The bus BS1 is for example an IEC / ISO 7816 bus, the bus BS2 is for example an SPI bus and the bus BS3 an 12C bus. The secure element is for example an STMicroelectronics® ST33K series chip. The device HW also includes various peripherals controlled by the microcontroller MCU1, for example:a battery BAT;an integrated circuit PMIC for power management receives a voltage Vbat from the battery when it is charged, provides the voltage Vbat to the battery when it needs to be charged, and provides a regulated supply voltage Vcc to the microcontroller MCU1, to the secure element SE1 and to the touchscreen TS1;an antenna QiA for induction charging of the battery in accordance with Qi technology. The antenna QiA is connected to a wireless charging integrated circuit WCIC. The circuit WCIC provides a voltage Vqi to the circuit PMIC for charging the battery;a USB port U1. The USB port provides to the circuit PMIC a voltage Vusb for charging the battery, provides to the microcontroller MCU1 data DTu received from an external device connected to the USB port, and transmits data DTu to the external device;a Bluetooth antenna BTA, receiving a radio frequency signal RFS provided by a Bluetooth management circuit BTM. The circuit BTM provides data DTb exchanged with an external device via a Bluetooth connection or transmits data DTb to the external device via the Bluetooth connection.The device HW features a touchscreen exclusively controlled by the secure element SE1 and therefore not susceptible to corruption, even in case of attack on the microcontroller MCU1. The microcontroller does not execute any application program and does not store any of the cryptographic secrets used by the secure element. It only manages the peripherals by transmitting to the secure element the data DTb, DTu received by the communication interface chosen by the user, or by transmitting to the external device data DTb, DTu provided by the secure element. The device HW therefore offers no possibility of direct connection to the Internet and remains, despite its touchscreen, a hardware wallet for cold storage of private keys offering the highest level of security. The secure element SE1 also includes a memory space MS1 comprising a read-only memory zone, a non-volatile electrically erasable programmable memory zone and a volatile memory zone. The non-volatile electrically erasable programmable memory zone receives an operating system of the secure element. It is configured to implement the method of the invention.The device HW lends itself well to the implementation of the method thanks to its touchscreen, which can be chosen of large size and present for example a diagonal greater than or equal to 3.5 inches (one inch being equal to 2.54 cm), and include at least 600×400 pixels. In an embodiment, the screen has a diagonal of 3.9 inches (9.906 cm) and offers 670×496 pixels, which constitutes a very large screen for a hardware wallet of cryptoassets devoid of Internet connectivity.Tables 2 and 3 below as well as FIGS. 8 and 9 describe an example of configuration of the device HW and the companion software HSW for the implementation of an embodiment of the method of the invention, in which three backup servers are used, the seed being therefore backed up by means of three shares. The device HW is used in association with the host device HDV to which it can be connected via its USB or Bluetooth interface. In addition to the touchscreen TS1 of the device HW, the host device HDV itself has a screen allowing the user USR to conduct with the companion software certain steps of the method while other steps are performed with the device HW.In tables 2 and 3, the indications in brackets correspond to virtual buttons that the user must press to select the option they choose. The indications in quotation marks are information displayed by the device HW or the host device HDV. The indications “xx” correspond to displayed areas or areas in which the user provides the requested information.Table 2 below and FIG. 8 describe the implementation of the method with regard to backing up the seed. During a step D0, the companion software offers the user the choice between (i) backing up the seed, and (ii) initializing or restoring the device HW. It is assumed here that the device HW has been previously commissioned but that the user has never backed up their seed. The user therefore chooses the first option. During a step D1, the companion software offers two options to the user, namely a conventional backup which will consist in the display of the recovery phrase by the device HW so that the user can save it on the support of their choice, or a backup by calling an automatic protection service implementing the method according to the invention. During a step D3, the user is invited to create an account on the customer account server. During a step D4, the user creates this account and provides information relating to their identity, of which at least a part constitutes the information of their pivot identity incorporated in the backup data BCKDT. During a step D5 they define the password of their account.During a step D6 the companion software reminds the user that they will have to undergo an identity verification step. This is the step IDV0 that will allow the orchestrator to ensure that the information constituting their pivot identity is correct, in particular their first name, last name and date of birth. The step IDV0 is conducted at steps D7 to D11 using the screen of the host device HDV, as well as its camera. Once the step IDV0 is successfully completed, the user should connect the device HW to the host device HDV at a step D12.
[0304] Then, the device HW takes charge of the rest of the method by asking the user at a step D13 to enter their password, then at steps D14, D15 to verify their identity. The device HW then proceeds with backing up the seed at a step D16.
[0305] Table 3 below and FIG. 9 describe the seed restoration step. At step D0, the user chooses the Initialize / Restore option. During a step D20, the companion software asks the user to connect the device HW′ to the host device HDV. During a step D21, the companion software and the device HW′ confirm that the connection has been made. During a step D22, the user enters the password of the device HW′. During a step D22, the device HW′ proposes the user to specify if they want to initialize the device HW′ as a new device or if they want to proceed with a restoration from a recovery phrase. Here, the user chooses the “restoration” option. During a step D24, the device HW′ asks the user if they want to restore the device HW′ from the protection service according to the invention or from a recovery phrase that they would have kept (manual restoration). The user chooses the protection service.
[0306] During a step D25, the companion software takes charge of the rest of the method and informs the user that they will have to undergo three identity verification steps. The first will be carried out with the device HW′ and the other two will be carried out with IDV providers. During a step D26, the user should confirm the information displayed by the device HW′ concerning their pivot identity (additional information to that forming the pivot identity may be displayed by the device HW′ during this step, as seen in table 3). During a step D27, the companion software indicates to the user that they will be put in contact with the first IDV partner and asks them to confirm their agreement. The user's agreement leads the companion software to connect with a partner server IDVSRVi, through its gateway GTW, as described above. During steps D28 to D32, the user performs the actions requested by the first IDV partner for the acquisition of the information necessary for the first identity verification, using the screen and camera of the host device HDV. During a step D33, the companion software indicates to the user that they will be put in contact with the second IDV partner and asks them to confirm their agreement. The user's agreement leads the companion software to connect with another partner server IDVSRVi, through its gateway GTW. During steps summarized in the table by a single step D34, the user performs the actions requested by the second IDV partner for the acquisition of the information necessary for the second identity verification. These steps may be identical, similar or different from those of the first identity verification. It will be noted that the identity verification is not completed once these steps are carried out and that the result of each verification may be delayed a few hours or even a few days later, as explained above. When the user's identity has been verified, the device HW′ recovers the shares S1, S2, S3 of the seed and restores it during a step D35.
[0307] It will be clear to the skilled person that the method that has just been described may also be implemented with other types of cryptoasset wallets than the one that has just been described. The method may in particular be implemented with a cryptoasset wallet CW2 of the type shown in FIG. 10. The cryptoasset wallet CW2 comprises a secure microcontroller SMCU, a screen TS2 which may be a touchscreen, communication interface circuits CINT1 including notably Wi-Fi and / or Ethernet connectivity and allowing it to connect to the Internet. The secure microcontroller uses two virtual processors associated with hardware access control, allowing the management of two application execution zones TZ, NTZ offering different degrees of security, the TZ zone being called “trust zone”. The secure microcontroller may, in certain embodiments, be equipped with a secure element SE2 coupled to the trust zone TZ to perform cryptographic calculations and conduct the most sensitive operations in terms of security, notably storing the seed as well as various cryptoasset account keys. Each zone may function independently of the other while using the same kernel. In general, the microcontroller executes a so-called “rich” operating system in the less reliable zone NTZ, for example Android, and a specialized code in the trust zone TZ. Such a device is the equivalent of the combination of the hardware wallet HW (equivalent to the trust zone) and the host device HDV (equivalent to the less secure zone) described in the foregoing, and does not need to be connected to a host device to execute operations on the blockchain.
[0308] The method of the invention may also be implemented with a software-type cryptoasset wallet (“software wallet”). Unlike an online wallet, a software wallet allows storing cryptoasset keys directly on a desktop computer, laptop, mobile phone or equivalent. The user retains ownership of their keys and the seed, and should secure their storage themselves by ensuring that a fraudster cannot get hold of them. As an example, FIG. 11 shows a cryptoasset wallet CW3 of software type executed by an electronic device DV which may be of the aforementioned type, computer, mobile phone or equivalent. The device DV comprises a microprocessor MPU equipped with a communication interface CINT2 allowing it to connect to the Internet, volatile RAM memory and non-volatile memory NVM, for example a magnetic hard disk or a solid state hard disk (SSD). The program CW3 forming the software cryptoasset wallet is stored in the non-volatile memory NVM of the device DV and is executed by the microprocessor MPU using its RAM memory.TABLE 2Information displayedon touchscreen TS1 ofInformation displayed by hostdevice HWdevice HDVUser actions (USR)D0[Backup]User selects “Backup”[Initialize / Restore]D1“Choose the type of protection forUser selects [Automaticyour recovery phrase”:protection service for the[D1.1] [Display of the recoveryrecovery phrase]phrase on your device and backupby yourself][D1.2] [Automatic protection servicefor the recovery phrase]D2“After creation of your account andconfirmation of your identity by oneRead the displayedof our IDV partners, your recoveryinformation then confirmphrase will be linked to your identitythe choice of protectionin complete security. Your recoveryservicephrase will be shared in three partsbacked up in a decentralizedmanner, and cannot be stolen fromyou”[Confirm your choice of protectionservice]D3Please first create an account:Agree to account creation[Account creation]D4“Last name:” xxProvide the requested“First name:” xxinformation, then validate“Date of birth:” xx“Nationality:” xx“Place of birth:” xx[Validate]“Email address:” xx[Validate]“Verification code received byemail:” xx[Validate]D5“Creation of a strong password”Provide the password“Enter your password:” xxand validate it“Confirm the password:” xx[Validate]D6“Your account has beenAgree to identitysuccessfully created. You will nowverificationconfirm your identity with ourpartner”[I agree]D7“Choose the type of identityChoose the type ofdocument” [Passport] [Driver'sdocumentlicense] [National identity card][(Other choice)]D8“Present your identity document inExecute the stepthe frame”D9“Verify the photo and validate itsVerify photo and validatesending”sending[Send the photo]D10“Place your face in the frame andExecute the proposedstart the video”step[Start recording]D11“Verify the video then send it”Verify video then validate[Send the video]sendingD12“Connect the device whoseConnects the device HWrecovery phrase you want to backto the host deviceup”D13“Enter your PIN code:” xx“Unlock your hardware wallet byProvide password[Validate]entering your personal password(PIN code)”D14[Verify your identity beforeAgree to identitybacking up your recoveryconfirmationphrase]D15“Last name, first name,Confirm the accuracy ofdate of birth, nationality,the displayed information(place of birth”[Confirm]D16“Storage of your recoveryWait for the process tophrase in progress”completeD17“Your recovery phrase“Account created: OKstored securely”Identity confirmation: OKConnection of your device: OKBackup of your recovery phrase:OK”D18“Your recovery phrase has beenbacked up. Restore it in anotherdevice whenever necessary”
[0309] Table 3: Seed restoration, interaction between the user and the hardware wallet HW′ and the host device HDVTABLE 3Information displayedon touchscreen TS1 ofInformation displayed by hostdevice HW′device HDVUser actions (USR)D0[Backup]The user selects[Initialize / Restore]“Initialize / Restore”D20“Waiting”“Connect the hardware wallet”Connect their device tothe host deviceD21“Connected”“Connected to your hardware wallet”D22“Enter your PIN:” xx“Enter password (PIN) on yourEnter their passworddevice”D23[D23.1] [New device]“How do you want to initialize yourChoose the[D23.2] [Restoration withdevice? New device or restoration“Restoration” optiona recovery phrase]with a recovery phrase? Make yourchoice on the screen of your device”D24[D24.1][Restoration with“How do you want to restore yourChoose restoration withprotection service]device? Make your choice on yourthe protection service[D24.2][Manualdevice”restoration with arecovery phrase]D25“We propose the following steps:Agree to the proposed1. Confirmation of your identity withidentity verificationyour deviceprocess2. Verification of your identity by a firstIDV partner3. Verification of your identity by asecond IDV partner”[I agree]D26(HW′ displays the“1. Confirm your identity as displayedConfirm the informationinformation concerningon your device”displayed by the devicethe user's identity)HW′“Last name:” xx“First name:” xx“Date of birth:” xx“Nationality:” xx“Place of birth:” xx“Email address: xx”[Validate]D27“2. Verification of your identity by ourAgreefirst IDV partner”[Confirm]D28“Choose the type of document”Choose the type of[Passport] [Driver's license] [Nationaldocumentidentity card] [(Other choice)]D29“Present your identity document in theExecute the proposedframe”stepD30“Verify the photo and validate itsVerify photo andsending”validate sending[Send the photo]D31“Place your face in the frame andExecute the proposedstart the video”step[Start recording]D32“Verify the video then send it”Verify video then[Send the video]validate sendingD33“2. Verification of your identity by ourAgreesecond IDV partner”[Confirm]D34(conducting the second identityExecutes the stepsverification process identical, similaror different from the first)D35“Restoration of your“1. Confirmation of your identity withrecovery phrase inyour device: OKprogress”2. Confirmation of your identity by ourfirst IDV partner: OK3. Confirmation of your identity by oursecond IDV partner: OK”D36Displays a menu“Your recovery phrase has beenrestored”
Claims
1. A method for backing up and restoring a seed held by a cryptoasset wallet, the cryptoasset wallet comprising a hardware wallet for cold storage of the seed, the method comprising the steps of:providing a plurality of backup servers,by means of the cryptoasset wallet, generating a plurality of secret data from the seed, andtransferring to each backup server one of the secret data provided by the cryptoasset wallet,wherein each secret data is transferred to a backup server in an encrypted form by means of a session key that is known only by the hardware wallet and the backup server to which it is intended,the method also comprising a step of encrypting, by means of a seed encryption function and a seed encryption key associated with the hardware wallet or its user, at least one of the secret data generated from the seed, before transferring it to a backup server in a superencrypted form by means of the session key that is known only by the hardware wallet and the backup server to which it is intended.
2. The method according to claim 1, wherein the step of encrypting at least one of the secret data comprises at least one of the following steps:by means of the seed encryption function and the seed encryption key, encrypting the seed before generating the plurality of secret data from the seed,by means of the seed encryption function and the seed encryption key, encrypting said at least one secret data before transferring it to a backup server.
3. The method according to claim 1, wherein the seed encryption key is recorded in a non-volatile memory of the hardware wallet, during its customization or during a subsequent update.
4. The method according to claim 3, wherein the seed encryption key is common to a plurality of cryptoasset wallets.
5. The method according to claim 1, wherein the seed encryption key is derived from a secret known to the user.
6. The method according to claim 1, further comprising steps of collecting information relating to the user's identity, communicating to each backup server the information relating to the user's identity, and associating each secret data with the user's identity in each backup server.
7. The method according to claim 6, wherein the information relating to the user's identity includes at least the user's first name, last name, and date of birth.
8. The method according to claim 1, wherein the hardware wallet is configured to generate a plurality of secret data by means of a secret sharing function designed to generate a number m of secret data from the seed and allow reconstruction of the seed from a threshold of n secret data.
9. The method according to claim 1, wherein the hardware wallet is devoid of means of connection to the Internet and the cryptoasset wallet comprises a host device executing companion software and provided with an Internet connection, the hardware wallet being connected or configured to be connected to the host device.
10. The method according to claim 1, comprising, for the restoration of the seed, the following steps:communicating to each backup server the information relating to the user's identity,receiving by the cryptoasset wallet, in a form encrypted by a session key, all or part of the secret data held by the backup servers,reconstructing the seed by the cryptoasset wallet from the secret data provided by the backup servers and by means of an inverse function of the seed encryption function.
11. The method according to claim 1, comprising the steps of:providing an orchestrator program executed by a server, andconfiguring the orchestrator program and the cryptoasset wallet to execute at least one of the following steps:during backup of the seed, transferring to the orchestrator program by the cryptoasset wallet the secret data generated by the cryptoasset wallet, and transferring to the backup servers, by the orchestrator program the secret data received from the cryptoasset wallet, andduring the restoration of the seed, receiving by the orchestrator program all or part of the secret data held by the backup servers, and transferring these secret data to the cryptoasset wallet by the orchestrator program.
12. The method according to claim 11, comprising the steps of:establishing a first secure communication channel between the cryptoasset wallet and the orchestrator program, by means of a first session key generated after a first key exchange between the cryptoasset wallet and the orchestrator program, andestablishing a second secure communication channel between the cryptoasset wallet and each backup server through the orchestrator program, by means of a plurality of second session keys generated after a key exchange between the cryptoasset wallet and each backup server through the orchestrator program.
13. The method according to claim 1, wherein before providing the secret data it holds, at least one backup server subjects the user to an identity verification step, and refuses to return the secret data if the verification of the user's identity is not conclusive.
14. A cryptoasset wallet holding or intended to hold a seed, the cryptoasset wallet comprising a hardware wallet for cold storage of the seed, the cryptoasset wallet configured to offer a user the following two options:manually backing up the seed in the form of a recovery phrase to be kept by the user, orbacking up the seed in a plurality of backup servers, and,if the user chooses to back up the seed in a plurality of backup servers:generating a plurality of secret data from the seed,transferring each secret data to a backup server in an encrypted form by means of a session key that is known only by the hardware wallet and the backup server to which it is intended, andby means of a seed encryption function and a seed encryption key associated with the hardware wallet or its user, encrypting at least one of the secret data generated from the seed, before transferring it to a backup server in a superencrypted form by means of the session key that is known only by the hardware wallet and the backup server to which it is intended.
15. The cryptoasset wallet according to claim 14, configured to conduct the step of encryption of at least one of the secret data by executing at least one of the following steps:by means of the seed encryption function and the seed encryption key, encrypting the seed before generating the plurality of secret data from the seed,by means of the seed encryption function and the seed encryption key, encrypting said at least one secret data before transferring it to a backup server.
16. The cryptoasset wallet according to claim 14, configured to conduct a step of collecting information relating to the user's identity, in the presence of the user, and a step of communicating to each backup server the information relating to the user's identity.
17. The cryptoasset wallet according to claim 14, configured to also offer the user the following options:manually restoring the seed from a recovery phrase, orrestoring the seed from a plurality of backup servers, and,if the user chooses to restore the seed from a plurality of secret data held by a plurality of backup servers, reconstructing the seed from the data provided by the backup servers by means of an inverse function of the seed encryption function.
18. The cryptoasset wallet according to claim 14, configured to generate a plurality of secret data from the seed by means of a secret sharing function designed to generate a number m of secret data and allow reconstruction of the seed from a threshold of n secret data.
19. The cryptoasset wallet according to claim 17, configured to,if the user chooses to restore the seed from the secret data, conduct at least one step of verification of the user's identity at the request of a backup server.
20. The cryptoasset wallet according to claim 14, wherein the hardware wallet is devoid of means of connection to the Internet, the cryptoasset wallet comprises a host device executing companion software and provided with an Internet connection, the companion software complementing the hardware wallet for the realization of steps requiring interaction with the user, in particular steps of collecting information relating to the user's identity.
