METHOD FOR ESTABLISHING A SECURE DATA CONNECTION BETWEEN AN ELECTRONIC DEVICE AND A SERVER
Patent Information
- Application Number
- DE602023026121
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-12-23
- Filing Date
- 2023-12-22
- Publication Date
- 2026-11-18
- Estimated Expiration
- 2043-12-22
AI Technical Summary
Existing hardware crypto-asset wallets face challenges in securely storing and restoring recovery phrases, which are vulnerable to theft or loss, and require users to manually manage secure storage, posing risks of unauthorized access.
A method involving secret sharing and secure data links using ephemeral keys and a public key infrastructure to distribute and restore a crypto-asset wallet's master key across multiple backup servers, ensuring secure and automated backup and restoration without direct user intervention.
Provides a highly secure and automated backup and restoration process for crypto-asset wallets, protecting against unauthorized access and simplifying user management of recovery phrases.
Description
Technical Field
[0001] The present invention relates to a method for saving and restoring a secret held by an electronic device, and a method for securing the saving and restoring of a secret held by an electronic device. The present invention also relates to securing a secure data link between an electronic device and a server. In particular, the present invention relates to hierarchical deterministic hardware wallets used for storing private keys to manage accounts on the blockchain. Background
[0002] In recent years, the development of cryptocurrencies and other types of blockchain-based cryptoassets, such as non-fungible tokens (NFTs) and smart contracts, has led to various methods of storing and safeguarding the private and public keys associated with these different types of cryptoassets. This has resulted in the emergence of cryptoasset wallets, commonly known as "wallets," which allow for the storage and safekeeping of these keys. A cryptoasset wallet is a hardware or software device whose function is to store the private and public keys associated with 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 are therefore susceptible to attacks by hackers 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 are therefore themselves susceptible to attack. "Cold" wallets, or hardware wallets, on the other hand, lack any direct internet access, which reduces the attack surface and thus the risk of theft through hacking. A hardware wallet is generally a portable electronic device equipped with a processor that has cryptographic computing capabilities. Transactions involving private keys are signed in an offline environment. Every online transaction is temporarily transferred to the hardware wallet to be digitally signed offline before the signature is transmitted to the online network.Because private keys are not communicated to online servers during the signing process, a hacker cannot access them.
[0003] This type of hardware wallet is therefore considered the most secure solution against cyberattacks. Its only drawback lies in the risk of loss, theft, or destruction (fire, for example) of the hardware wallet itself, or of losing the user's personal password. The keys it contains should therefore generally be kept in a safe place.
[0004] A primary challenge in the past was finding a way to simplify the number of keys to back up, which can be very large if a user has multiple cryptocurrency accounts on the blockchain. To solve this problem, Bitcoin proposed the hierarchical deterministic wallet. Initially introduced in the BIP32 standard, and later optimized with the BIP39, BIP43, and BIP44 standards, it allows a user to avoid creating a new backup for each newly generated key pair; a single backup for all the keys in their wallet is sufficient. This solution is now used by the vast majority of software and hardware cryptocurrency wallets.
[0005] With a hierarchical deterministic wallet, all of a user's private keys are generated from a random originating seed, usually called a "seed" or "master key." A user simply needs to keep the seed safe to retrieve all their keys, which are derived from the seed and can be recreated from it ("child keys").
[0006] To facilitate memorization and storage of the seed, the BIP39 standard also provides for expressing the seed, which is a long binary number, as 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 consisting of 24 words chosen from a list of 2048 words defined by the aforementioned standard.
[0007] To generate a recovery phrase, a hardware wallet generates a 256-bit random sequence 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, resulting in 264 bits. The device then divides these 264 bits into 24 groups of 11 bits. Each group of 11 bits is interpreted as a number between 0 and 2047, which serves as an index for the BIP39 wordlist, thus generating the 24-word recovery phrase. This type of wallet therefore requires only a single backup of the seed, preferably at the time of its initial setup, from which the entire key tree can be derived.
[0008] There figure 1This diagram schematically illustrates a crypto-asset wallet comprising a hardware wallet (HW), for example, the device marketed by the applicant under the names "Nano" or "Stax," and a host device (HDV) running a companion HSW application, for example, the "Ledger Live" application developed by the applicant. Since the hardware device cannot connect directly to the internet, it is paired with the host device (HDV) to conduct transactions on the blockchain. The host device (HDV) is, for example, a computer, mobile phone, tablet, or equivalent. The connection between the hardware device (HW) and the host device (HDV) can be via USB or Bluetooth, for example.
[0009] Once connected to the host device, the HW device can interact with the companion software to allow a USR user to conduct transactions on the BCN blockchain or on decentralized exchange sites. The HW device can also communicate with a Hardware Security Module (HSM) located in a data center. The HSM is typically a hardware encryption device used to generate, store, and protect cryptographic keys. The HSM does not store any of the user's private keys and only ensures the authenticity of the HW device, its activation, operating system updates, the downloading of certified application programs, and so on.
[0010] When the HW device is first put into service, it provides the user with a 24-word recovery phrase which the user must keep on a suitable physical medium, for example a sheet of paper or an indelible medium such as an engraved metal plate, which they must keep in a safe place.
[0011] Safeguarding the recovery phrase in such a secure location is not without its problems. Indeed, if a third party obtains the recovery phrase, they will be able to access all of the user's crypto-asset accounts generated from the seed and transfer the funds they contain to other accounts, making them very difficult to identify.
[0012] It might therefore be desirable to provide a way to offer users a simple and convenient way to store their recovery phrase in a highly secure manner. Summary
[0013] Embodiments relate to a method for establishing a secure data link between an electronic device and a server, wherein the server and the device each possess a private key, a public key, a certificate signed by a certification authority, and a public key of the certification authority. According to the method, the device and the server are configured to perform the following steps: the server generates an ephemeral private key, an ephemeral public key, and an ephemeral certificate signed with its private key, and transfers its ephemeral certificate to the device; the device generates an ephemeral private key and an ephemeral public key; the device generates a first signature of its ephemeral public key from its private key; the device generates a first session key from its ephemeral private key and the server's ephemeral public key;The device encrypts the first signature using the first session key, to obtain an encrypted signature; the device transfers to the server an ephemeral certificate including its ephemeral public key and the encrypted signature; the server generates the first session key from its ephemeral private key and the device's ephemeral public key, and using the first session key, the server decrypts the signature present in the ephemeral certificate.
[0014] According to one embodiment, the server transfers its certificate to the device, the device encrypts its own certificate with the first session key, the device transfers its certificate encrypted with the first session key to the server, and using the first session key, the server decrypts the device's certificate.
[0015] According to one embodiment, before generating the first signature of its ephemeral public key, the device concatenates its ephemeral public key with a piece of data.
[0016] According to one embodiment, the device verifies the validity of the server's ephemeral certificate using the server's certificate, the device verifies the validity of the server's certificate using the certification authority's public key, the server verifies the validity of the device's ephemeral certificate using the device's certificate, and the server verifies the validity of the device's certificate using the certification public key.
[0017] According to one embodiment, the device includes a hardware crypto-asset wallet comprising a master secret data, or master key.
[0018] According to one embodiment, the hardware wallet lacks a means of connecting to the Internet and is configured to be connected to the server via a host device running companion software and equipped with an Internet connection.
[0019] Embodiments also relate to a method for backing up a plurality of secret data held by a crypto-asset wallet, the secret data being stored by the crypto-asset wallet or being able to be generated by the crypto-asset wallet from a master secret data held by the crypto-asset wallet, the crypto-asset wallet being owned by a user, the method comprising the steps of providing an orchestrator program executed by a server to implement and supervise the backup of the data and providing a plurality of backup servers, and wherein the orchestrator program is configured to establish a secure data link with the crypto-asset wallet in accordance with the method just described, and to communicate to each backup server information relating to the identity of the user,receive the data to be backed up from the crypto-asset wallet, and transfer one of the data sets to be backed up to each backup server.
[0020] According to one embodiment, user identity information includes at least the user's first name, the user's last name, and the user's date of birth.
[0021] According to one embodiment, each backup server has a private key, a public key, a certificate signed by the certification authority, and the public key of the certification authority; each backup server transfers its certificate to the orchestrator program, which transfers it to the crypto-asset wallet; each backup server generates an ephemeral private key, an ephemeral public key, and an ephemeral certificate signed with its private key, and transfers the ephemeral certificate to the orchestrator program, which transfers it to the crypto-asset wallet; the crypto-asset wallet transfers its certificate and its ephemeral certificate to the orchestrator program, which transfers them to each of the backup servers; each backup server generates a second session key from its ephemeral private key and the ephemeral public key of the crypto-asset wallet.The crypto-asset wallet generates the second session key for each backup server from its ephemeral private key and the backup server's ephemeral public key. The crypto-asset wallet encrypts the data destined for each backup server with the second session key, transfers it to the orchestrator who then transfers it to the backup server. Each backup server decrypts the received data using the second session key and stores it in memory.
[0022] According to one embodiment, each backup server verifies the validity of the crypto-asset wallet certificate using the public certification key, each backup server verifies the validity of the crypto-asset wallet ephemeral certificate using the crypto-asset wallet certificate, the crypto-asset wallet verifies the validity of each backup server's certificate using the public certification key, and the crypto-asset wallet verifies the validity of each backup server's ephemeral certificate using each server's certificate.
[0023] According to one embodiment, data intended for the crypto-asset wallet transmitted to the orchestrator program by a backup server is transmitted by the orchestrator program to the crypto-asset wallet in encrypted form using the first session key, and wherein some of this data is previously hashed by the backup server using a hash function, and then encrypted using the second session key.
[0024] According to one embodiment, the process includes an initial step of verifying the user's identity by the orchestrator program, and the orchestrator program is configured not to allow data to be saved to the backup servers if the identity verification is unsuccessful.
[0025] According to one embodiment, the crypto-asset wallet is configured to generate the plurality of secret data from the master key by means of a secret sharing function configured to generate a number m of secret data and allow the reconstruction of the master key from a threshold of n secret data.
[0026] According to one embodiment, m is equal to 3 and n is equal to 2.
[0027] In one embodiment, the method includes a step of restoring all or part of the secrets to a second crypto-asset wallet, the restoration step being preceded by steps of retrieving all or part of the secrets from the backup servers via the orchestrator program, and the steps of retrieving the secrets from the backup servers are preceded by a plurality of steps of verifying the user's identity by at least some of the backup servers, a backup server configured to verify the user's identity also being configured to refuse to return the secrets it holds if the user's identity verification is unsuccessful
[0028] According to one embodiment, at least one backup server is configured to delegate the identity verification step to a server specializing in identity verification, the backup server being configured to establish a data link with the specialized server in order to connect the user with that server. Brief description of the drawings
[0029] These features, as well as others of the present invention, will be better understood upon reading the following description, given by way of non-limiting example, in relation to the accompanying figures, among which: there figure 1 The previously described diagram schematically shows a crypto-asset portfolio and an example of its use, the figure 2A and the figure 2B show a crypto-asset portfolio according to the invention and the architecture of a system designed for implementing a first embodiment of the method according to the invention, the figure 2Aillustrating a data backup step and the figure 2B a data restoration step, the figure 3A and the figure 3B show a crypto-asset portfolio according to the invention and the architecture of a system designed for implementing a second embodiment of the method according to the invention, the figure 3A illustrating a data backup step and the figure 3B a data restoration step, the figure 4A describes an algorithm executed by the system of Figures 3A , 3B , during the data backup step, the figure 4B is a sequence diagram that represents the steps of the algorithm of the figure 4A in the form of interactions between different elements of the system of Figures 3A , 3B , there figure 5A describes an algorithm executed by the system of Figures 3A , 3B , during the data restoration stage, the figure 5Bis a sequence diagram that represents the steps of the algorithm of the figure 5A in the form of interactions between different elements of the system of Figures 3A , 3B , there figure 6A and the figure 6B show a crypto-asset portfolio according to the invention and the architecture of a system designed for implementing a third embodiment of the method according to the invention, the figure 6A illustrating a data backup step and the figure 6B a data restoration step, the figure 7 shows a crypto-asset wallet according to the invention and an example of a hardware wallet architecture according to the invention enabling the implementation of the method according to the invention, the figure 8 shows user-driven steps of the hardware wallet figure 7 for backing up the seed stored in the hardware wallet, the figure 9shows user-driven steps of the hardware wallet figure 7 for seed restoration, the Figure 10 shows another embodiment of a crypto-asset wallet enabling the implementation of the process according to the invention, the figure 11 shows yet another embodiment of a crypto-asset wallet enabling the implementation of the process according to the invention. Detailed description
[0030] The invention provides a method for creating a cryptocurrency wallet offering a unique feature in the field of hardware wallets: an automated yet highly secure seed phrase backup function. This feature allows users to avoid the difficulties and risks associated with having to store a recovery phrase themselves in a secure location. The unique features offered by a cryptocurrency wallet according to the invention will be described later in relation to the figures 8 , 9 and Tables 2 and 3. Embodiments of the process according to the invention will first be described.
[0031] There figure 2AThis illustrates a CW1 crypto-asset wallet and a system designed to implement an embodiment of the method of the invention. The CW1 crypto-asset wallet comprises a hardware wallet (HW) and a host device (HDV). The hardware wallet (HW) provides cold storage for a seed (S), or master key, of a set of crypto-assets. The hardware wallet (HW) has no means of connecting to the internet and is connected to the host device (HDV), which runs companion software (HSW) enabling it to connect to the internet, for example, via a USB or Bluetooth connection. The system and method according to the invention allow the storage of the seed (S) (master key) in the hardware wallet (HW) to be backed up or restored.
[0032] The system essentially comprises a set of m BCKi backup servers (BCK1, BCK2,... BCKi,... BCKm), each equipped with MEM backup memory (magnetic hard drive or solid-state memory) to back up Si parts of the S seed. Each backup server includes a BEi back-end program (BE1,... BEi,... BEm), designed to implement the process. Each BCKi backup server is also associated with an HSM security module.
[0033] According to the method of the invention, the HW device is configured to divide the seed S into a plurality of secret data Si (S1, S2...Si,...Sm) which are saved on the BCKi servers. Rather than simple splitting, which is not, however, excluded from the scope of the present invention, this "division" is preferably achieved by means of a secret sharing function SS that generates a number m of secret data called "shares," and allows the reconstitution of the seed from a threshold of n secret data Si: S 1 , S 2 , … , Si , … , Sm = SS S
[0034] For example, if m is equal to 3 and n equal to 2, the SS function allows the seed to be divided into three parts S1, S2, S3 but only two parts will be needed to reconstitute the seed.
[0035] When the user wishes to save their seed, the HW device establishes LNKi data links (LNK1 to LNKm), for example of the HTTPS type, with each BCKi backup server via the HDV host device. These data links are then secured by creating SCP ("Secure Channel Protocol") secure channels between the HW device and each BCKi backup server, in a manner that will be described.
[0036] The creation of such secure channels is ensured by means of a public key infrastructure managed by a Certificate Authority (CA). The hardware (HW) and BCKi backup servers each possess a private key, a public key, a certificate signed by the CA (or static certificate), and the CA's public key. The following notation will be used in what follows: pL: private key of the certification authority PL: public key of the certification authority pD: private key of the HW device PD: public key of the HW device CD = [PD, Sign(pL, PD)]: certificate of the device (static certificate), including its public key PD and a signature of its public key using the private key pL of the certification authority pBi: private key of a BCKi server (for i from i to m) PBi: public key of a BCKi server (for i from i to m) CBi = [PBi, Sign(pL, PBi)]: certificate of a BCKi server (static certificate), including its public key PD and a signature of its public key using the private key pL of the certification authority.
[0037] The "Sign" signature function is, for example, generated using an ECDSA signature algorithm based on elliptic curves ("Elliptic Curve Digital Signature Algorithm").
[0038] The Certificate Authority (CA) is preferably held by the hardware manufacturer, enabling them to control the allocation of CBi certificates to the BCKi backup servers. The BCKi backup servers themselves may be owned by the hardware manufacturer or be third-party partners participating in the implementation of the process. The pBi and PBi keys of the BCKi backup servers are held by their respective Hardware Security Modules (HSMs), which handle the cryptographic calculations performed using these keys. For the sake of simplicity, we will assume that such cryptographic calculations are performed by the servers themselves.
[0039] To implement a secure communication channel, a key exchange is planned between the hardware (HW) and each BCKi backup server, generating kBi session keys specific to each BCKi server but known to the hardware. This key exchange is, for example, a Diffie-Hellman key exchange performed according to the following steps: i) Each BCKi backup server generates a pair of ephemeral private keys peBi and public keys PeBi using an asymmetric key generator, then communicates its ephemeral public key PeBi to the HW device in an ephemeral certificate CeBi that it has signed with its private key pBi, as well as its CBi certificate signed by the trusted authority: CeBi = [PeBi, Sign(pBi, PeBi)] CBi = [PBi, Sign(pL, PBi)] ii) The HW device itself generates a pair of ephemeral private keys peD and public keys PeD, then communicates its ephemeral public key PeD to the BCKi backup servers in an ephemeral certificate CeD that it has signed with its private key pD, as well as its CD certificate signed by the trusted authority: CeD = [PeD, Sign(pD, PeD)] CD = [PD, Sign(pL, PD)] iii) Each BCKi backup server verifies the signature of the ephemeral public key PeD of the HW device using the PD public key present in its CD certificate.then verifies the signature of the public key PD present in the certificate CD using 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 HW device verifies the signature of the ephemeral public key PeBi of each BCKi server using the public key PBi present in the certificate CB, then verifies the signature of the public key PBi present in the certificate CB using the public key PL of the certification authority, or vice versa, v) each backup BCKi server generates an ephemeral session key kBi from its ephemeral private key peBi and the ephemeral public key PeD of the HW device, using 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 HW device generates the ephemeral session key kBi of each BCKi backup server from its ephemeral private key peD and the ephemeral public key PeBi of the BCKi backup server, using the same function, i.e.: kBi = ECDH(peD, PeBi) ,
[0040] After generating the Si shares of the S seed, the HW device performs symmetric encryption steps on each Si share using the session key kBi common to the backup server BCKi to which the Si share is to be sent, thus forming a shared key. In a simple implementation example, the HW device generates three shares S1, S2, and S3 (the threshold n can then be equal to 2 or 3), and three backup servers BCK1, BCK2, and BCK3 are planned. Each BCKi server generates its own session key kB1, kB2, kB3, and the HW device generates each of these session keys after a key exchange with each server in the manner just described. Then, the HW device performs symmetric encryption steps on the S1, S2, and S3 shares using these keys, namely: encrypts part S1 with key kB1, i.e. {S1}kB1, then sends it to server BCK1, encrypts part S2 with key kB2, i.e. {S2}kB2, then sends it to server BCK2, encrypts part S3 with key kB3, i.e. {S3}kB3, then sends it to server BCK3.
[0041] Each BCKi backup server then decrypts the encrypted portion {Si}kBi that it received from the HW device, and stores it in its MEM memory.
[0042] According to the procedure, and as illustrated on the figure 2B The restoration of the S seed is performed in a second hardware wallet, denoted HW. This may be a different device than the HW device if the latter has been lost, stolen, or destroyed. It may also be the HW device itself if it has been reset; in this case, the HW device is considered a "different" device from the process perspective, since it no longer possesses the seed.
[0043] For seed restoration, the secure channel creation steps described above are repeated. New session keys kBi are generated. Then, each server encrypts the Si share it holds with the kBi session key, i.e., {Si}kBi, and sends it to the HW device. The HW then decrypts each Si share using the corresponding kBi session key and reconstructs the seed S using the inverse function of the one used to generate the Si shares, denoted "SS -1<": S = SS -1< (S1, S2,..., Si,..., Sm)
[0044] There figure 3AThis illustrates the architecture of a system for implementing another embodiment of the invention. In this embodiment, an ORCSRV1 server is interposed between the HDV host device and the BCKi backup servers. This server, referred to as the "orchestrator server" without limitation, executes an ORC1 back-end program, hereinafter referred to as the "orchestrator program." The ORCSRV1 server is connected to an HSM security module equipped with a private key pO, a public key PO, and a certificate CO (static certificate) signed by the CA: CO = [PO, Sign(pL, PO)]
[0045] To implement the process, a first LNK1 data link is established between the HW device and the ORC1 orchestrator via the HDV host device, for example, an HTTPS link. Multiple LNK2i data links are also established between the orchestrator and the BCKi backup servers, for example, HTTPS links, IPsec VPN links, etc.
[0046] The data link between the orchestrator and the HW device is secured by creating a secure channel using the same technique as described above: i) The ORC1 orchestrator generates a private key pair PeO and a public key pair PeO, then communicates its ephemeral public key PeO to the hardware device (HW) in an ephemeral certificate CeO that it has signed with its private key pO, along with its certificate CO signed by the trusted authority, i.e.: CeO = [PeO, Sign(pO, PeO)] CO = [PO, Sign(pL, PO)] ii) The hardware device (HW) generates an ephemeral private key pair peD and a public key pair 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, along with its certificate CD signed by the trusted authority, i.e.: CeD = [PeD, Sign(pD, PeD)] CD = [PD, Sign(pL, PD)] iii) The ORC1 orchestrator verifies the signature of the hardware device's ephemeral public key PeD using the public key PD present in the certificate CD, then verifies the signature of the PD public key using the PL public key of the certification authority, or vice versa, iv) similarly,The HW device verifies the signature of the orchestrator's ephemeral public key PeO using the public key PO present in the CO certificate, then verifies the signature of the public key PO using the certificate authority's public key PL, or vice versa, v) the ORC1 orchestrator generates an ephemeral session key k0 from its ephemeral private key peO and the ephemeral public key PeD of the HW device: k0 = ECDH(peO, PeD) vi) the HW device generates the ephemeral session key k0 from its ephemeral private key peD and the orchestrator's ephemeral public key PeO: k0 = ECDH(peD, PeO) ,
[0047] Once the secure channel is established between the orchestrator and the hardware (HW), data intended for the BCKi backup servers can be securely sent from the HW to the orchestrator, thanks to symmetric encryption using the shared session key k0 for all or part of the exchanged data. Conversely, the orchestrator can send the HW, in encrypted form using the k0 key, the data received from the BCKi backup servers.
[0048] Secure channels are also created between the HW device and the BCKi backup servers by means of kBi session keys which are generated at the end of a key exchange via the LNK1 data link, the orchestrator acting as a gateway or "proxy server" between the HW device and the BCKi servers.
[0049] After completing these steps, we can distinguish: through the LNK1 data link, a channel secured by the session key k0 shared by the orchestrator and the HW device, which allows the data exchanged between the orchestrator and the HW device to be encrypted, through the LNK2i data links, channels secured by the session keys kBi specific to each BCKi backup server and known to the HW device, which allows the HW device to exchange data with each BCKi server in encrypted form.
[0050] In addition, in certain cases, it may be possible to encrypt with the key k0 data which is received by the orchestrator in a form encrypted by the keys kBi, which corresponds to a super-encryption of this data.
[0051] In one embodiment, the method of the invention implements two improvements concerning the transmission of the device's CD certificate (HW) during a key exchange with any server. Indeed, the device sending its CD certificate during such a key exchange constitutes a confidentiality vulnerability, as the PD public key contained in the certificate is exposed if the connection is monitored. Furthermore, it has been demonstrated that an ECDSA signature allows the value of the corresponding public key to be retrieved. Thus, the transmission of the Sign(pD, PeD) signature of the ephemeral public key PeD in the ephemeral certificate CeD can also allow a third party to discover the PD public key.
[0052] These two improvements consist respectively of encrypting the CD certificate and encrypting the Sign(pD, PeD) signature. As an example, we will describe the implementation of these processes within the context of calculating the session key k0 described previously. The key exchange steps described earlier are modified as follows: 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 along with its certificate CO: CeO = [PeO, Sign(pO, PeO)] CO = [PO, Sign(pL, PO)] ii) The HW device 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 using the ECDSA algorithm, iii) The device generates the session key k0 from its ephemeral private key peD and the orchestrator's ephemeral public key PeO, iv) The device encrypts its certificate CD with the session key k0: {CD}k0 v) The device encrypts the first signature Sign(pD, PeD) using the session key k0 : {Sign(pD,vi) The device transfers to the orchestrator its CD certificate encrypted with the session key k0, as well as its ephemeral CeD certificate containing the signature of its ephemeral public key PeD encrypted with the session key k0: {CD}k0 ∥ CeD or {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, and viii) using the session key k0, the orchestrator decrypts the signature present in the ephemeral CeD certificate and decrypts the device's CD certificate.
[0053] It will be readily apparent to those skilled in the art that these two methods of encrypting the CD certificate and the ephemeral public key signature (PeD) can be implemented separately; the public key can be encrypted without encrypting the signature, or vice versa. It will also be readily apparent to those skilled in the art that these two methods are universally applicable and can be implemented when creating any secure channel based on key exchange and signature generation using the ECDSA algorithm.
[0054] Back to the figure 3AIt follows from the above that the ORC1 orchestrator prediction reduces the number of data links between the hardware and the BCKi backup servers, replacing them with a single LNK1 data link between the hardware and the orchestrator. This also provides an additional layer of security through the ability to encrypt data transmitted over the LNK1 link, as described earlier. Furthermore, the confidentiality of the PD public key can be preserved thanks to the improvements just described. The orchestrator prediction offers several other advantages, which will be described later in relation to the implementation of user identity verification steps.
[0055] The step of saving the S seed can in this case be implemented as follows, with reference to the figure 3A : i) Establishment of the LNK1 link between the HW device and the orchestrator, and transmission by the HW device of a BCKRQ backup request to the orchestrator; ii) Generation by the orchestrator of a random BCKID identifier for the backup, establishment of LNK2i links between the orchestrator and the BCKi backup servers, and transmission by the orchestrator of the BCKID identifier to the BCKi backup servers; iii) Creation of the secure channel between the HW device and the ORC1 orchestrator using the session key k0; iv) Creation of secure channels between the HW device and the BCKi backup servers using the session keys kBi, via the ORC1 orchestrator; v) Generation by the HW device of the Si parts of the S seed: S1, S2, ..., Si, ..., Sm = SS (S) vi) encryption by the HW device of each part Si using the session key kBi of the backup server BCKi to which the part Si is intended, vii) sending by the HW device of the set of encrypted parts {Si}kBi to the orchestrator: {S1}kB1∥{S2}kB2∥....∥{Si}kBi∥...∥{Sm}kBm viii) sending by the orchestrator to each backup server BCKi of the encrypted part {Si}kBi intended for it, ix) decryption by each BCKi server of the part Si communicated to it, and storage in its memory in association with the backup identifier BCKID. .
[0056] Furthermore, the step of restoring the S seed in a new HW' device, illustrated on the figure 3B , triggered at the request of the USR user, includes the following steps: i) Establishment of the LNK1 link between the HW device and the orchestrator, and transmission by the HW device of a RESTRQ restore request to the orchestrator, accompanied by the backup identifier BCKID, ii) Establishment of LNKi links between the orchestrator and the backup BCKi servers, and transmission by the orchestrator of the BCKID identifier to the backup BCKi servers, so that they are informed of the restore to be performed, iii) Creation of the secure channel between the HW device and the ORC1 orchestrator using a new session key k0, iv) Creation of secure channels between the HW device and the backup BCKi servers using new session keys kBi, via the ORC1 orchestrator, v) Reading by each backup BCKi server, in its memory, using the BCKID identifier, of the share Si it holds, and encryption of this using the new kBi session key, vi) transmission to the orchestrator,by each BCKi backup server, of the encrypted part {Si}kBi, vii) collection by the orchestrator of all the encrypted parts {Si}kBi provided by the BCKi backup servers: {S1}kB1, {S2}kB2,...., {Si}kBi,..., {Sm}kBm viii) transmission to the HW device of each encrypted part {Si}kBi, one after the other or all together: {S1}kB1∥{S2}kB2∥....∥{Si}kBi∥...∥{Sm}kBm ix) decryption, by the HW device, of each part Si using the session key kBi of the corresponding BCKi backup server: Si = (Si} -1< kBi x) reconstruction of the seed by the HW device and storage of it in its memory: S = SS -1< (S1, S2,..., Si,..., Sm) ,
[0057] It will be noted that in one embodiment the orchestrator may only collect n parts necessary to reconstitute the seed, if n is less than m. In this case, the seed is reconstituted from the n parts recovered: S = SS -1 < (S1, S2,..., Si,..., Sn)
[0058] In the preceding discussion, it was assumed that the backup BCKID was retained by the host HDV's HSW companion software despite the loss of the hardware used during the backup. In an embodiment that prevents the scenario where the user has permanently uninstalled the HSW companion software, a UASRV client account server can be provided, comprising a UACC user account in which various user data is stored, including the backup BCKID. The UASRV server is associated with an HSM security module that receives a private key (pC), a public key (PC), a certificate (CC) signed by the certificate authority, and the certificate authority's public key (PL). In this scenario, the hardware establishes a data link with the UASRV server via a key exchange that defines a session key for creating a secure channel with mutual certificate verification.Once the secure channel is established, the HSW companion software connects to the UACC client account to retrieve the BCKID. Alternatively, the BCKID is stored on the UASRV server but is not shared with the companion software. A secure connection is established between the UASRV server and the ORC1 orchestrator. The orchestrator transfers the BCKID to the UASRV server at the time of backup and, conversely, receives the BCKID from the UASRV server when the user wants to restore their seed.
[0059] In one embodiment, the user's identity is also associated with the backup process by defining a set of information forming a "pivot identity" that allows for their identification. The information forming the pivot identity includes, for example, the user's first name, last name, and date of birth, and optionally other information such as their place of birth. This information is collected by the companion software and communicated to the orchestrator, which assembles it to form a binary string referred to as the "backup data" (BCKDT). The BCKDT data 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 between multiple backups if they have several hardware wallets).
[0060] At the backup initialization, as shown on the figure 3AThe orchestrator communicates the BCKDT data to the BCKi backup servers, which associate it, along with the BCKID, to the backed-up Si shares. For confidentiality reasons, in some embodiments, it might be preferable for the orchestrator not to retain the BCKDT data after the backup is performed. In this case, the BCKDT data is retained only by the BCKi servers, which communicate it to the USR user for identity confirmation at the time of restoration, as shown in the diagram. figure 3B .
[0061] In one embodiment of the process, the pivot identity of the user is verified during at least one identity verification step designated "IDV" ("Identity Verification") which is conducted before the seed is restored. In one embodiment, several IDV identity verification steps are preferably performed before restoring the seed, these steps being conducted by all or some of the BCKi backup servers requested for the restoration of a part Si of the seed S.
[0062] In one embodiment shown on the figure 3BThese identity verification steps are outsourced to specialized providers instead of being performed by the BCKi backup servers themselves. These providers maintain IDVSRVi servers, each running an automated IDVSi identity verification service accessible via a GTW gateway. Each BCKi backup server can be assigned a different IDVSRVi server and configured to connect to the GTW gateway of the IDVSi service running on that server. Preferably, such IDVSi services are not fully automated, at least in part, and include human intervention, particularly in cases of doubt regarding a person's identity.
[0063] Thus, each BCKi backup server, or at least some of them, is configured to perform an IDVi step to verify the pivot user's identity when it receives a request to return a share of the seed. The server is then preferably configured to refuse to return the share if this verification is unsuccessful.
[0064] In one embodiment, the seed saving step is also preceded by an initial IDVO step, conducted or supervised by the orchestrator, to verify the pivot identity of the user (at least their first name, last name, and date of birth). In this case, an IDVSRVO server is also associated with the ORC1 orchestrator, and the orchestrator is configured to connect to a GTW gateway of an IDVSO service run by that server to perform the IDV0 step.
[0065] During the optional IDVO step preceding the backup, or during each of the IDVi steps occurring before the return of the seed shares, the orchestrator connects the USR user to the appropriate IDVSO or IDVSi service via the appropriate GTW gateway. The user must perform certain actions requested through the screen of the HDV host device and its camera (e.g., a mobile phone camera, a personal computer webcam, etc.). For example, the IDVSO or IDVSi service might ask the user to present a valid photo ID, take a picture of the ID with their camera, and send it. The IDVSO or IDVSi service might then ask the user to take a photo (selfie) or video of their face and send it.The IDVSO or IDVSi service then verifies the authenticity of the identity document using a photo or video of the individual's face. Once verified, the identity document allows the service to verify the pivot identity data with a degree of certainty that, in some embodiments, may result in a score. The result of this verification, and optionally the score, is communicated to the orchestrator. In one embodiment, the IDV steps may also include checks on government databases.
[0066] Although the IDVO step is not as critical as those performed by the BCKi servers during the return of Si shares, it ensures that the user has not made a mistake in providing their identity information, which is incorporated into the BCKDT data. Furthermore, the information collected by the orchestrator during this step, such as a photo of the user's ID and a photo or video of their face, can optionally be communicated to the BCKi backup servers via a specific communication channel, as this information is not part of the BCKDT backup data.
[0067] In one embodiment, the ORC1 orchestrator can suspend the seed backup process if it determines that the initial user identity verification is inconclusive or receives too low a score. Alternatively, in another embodiment or as a complement, the orchestrator receives information from the BCKi backup servers regarding the success of the IDVi identity verification steps they have conducted or that have been conducted by the providers to which they are affiliated. If a specified number of BCKi servers have not successfully verified the user's identity and refuse to return the Si shares they hold, the orchestrator can be configured to suspend the return of Si shares by the servers that have successfully verified the user's identity. The orchestrator can optionally decide to subject the user to an additional identity verification step.
[0068] Alternatively, or in addition, the orchestrator receives a certainty score from each BCKi backup server that has performed an identity verification step, indicating the user's identity. If the average score is below a first threshold, and / or if any individual score is below a second threshold, the orchestrator suspends the restore process and optionally subjects the user to an additional identity verification step.
[0069] In the unlikely event that a user has closed their account on the UASRV account server, uninstalled the companion software (erasing all its data), and lost their hardware wallet, thus being unable to recover their BCKID backup identifier, a solution may be implemented to allow them to retrieve their seed. The user will then have to undergo multiple individual identity verification steps with each BCKi server to recover each Si share of the seed. A procedure involving a public official, such as a notary, may also be implemented.Each IDV provider will also be able to verify that its 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, validating the user's educational or employment history, etc.
[0070] It will be readily apparent to those skilled in the art that the method of the invention is susceptible to various other embodiments and variations. In particular, the BCKID backup data could, in one embodiment, include in compressed form the data collected in the IDVO step to verify the user's pivot identity, such as a photograph or video of their face and a photograph of an identity document. The automated steps for verifying the user's pivot identity, as conducted by IDVSi services running on IDVSRVi servers or by the BCKi backup servers themselves, may include at least two of the following steps: acquiring, via a camera, a photograph of a valid identity document that includes a photograph of the user; acquiring, via a camera, one or more photographs of the user's face;acquisition, via a camera, of a video recording showing the user's face in motion, with liveness detection to verify that the user is real; acquisition of proof of address, such as an electricity or telephone bill; acquisition of the user's fingerprint; acquisition of a validation code received by the user in a telephone message, email, or post; activation by the user of a link received in a telephone message, email, or post; and acquisition of a hologram present on a valid identity document.
[0071] We will now describe in relation to the figure 4A an example of a seed saving algorithm applicable to the system of the figure 3A and implementing various aspects of the previously described embodiments of the process. figure 4Bis a sequence diagram that represents the steps of the algorithm as interactions between: the USR user, the HW device and its HDV host device (considered as a single entity forming the CW1 crypto-asset wallet), the ORC1 orchestrator and its associated HSM security module (also considered as a single entity), and the IDVSRVO server associated with the orchestrator to perform the IDVO step of user identity verification, the BCKi backup servers, and the IDVSRVi servers associated with the BCKi servers to perform subsequent identity verification steps, at the time of seed restoration.
[0072] Some functions used in the algorithm are shown in Table 1 below, as a non-exhaustive example: [Tab 1] Type of cryptography Elliptic curve cryptography Sign ECDSA type signature ("Elliptic Curve Digital Signature Algorithm") with the secp256k1 elliptic curve ECDH Diffie-Hellman key exchange based on elliptic curves using, for example, the secp256k1 elliptic curve Hash function SHA-256 (“Secure Hash Algorithm”) Symmetric encryption {.}k0 AEAD-AES-SIV-CMAC-256 Algorithm SS function Shamir's Secret Sharing function or other similar function, or Pedersen PVSS's publicly verifiable secret sharing based on the secp384r1 curve
[0073] Description of the algorithm, in relation to the Figures 4A And 4B . B1. Backup Initialization
[0074] The USR user selects a seed backup option in the HW device. The user, via the HDV host device, creates a backup account on the UASRV account server. The HW device establishes a data link with the ORC1 orchestrator and sends it the backup request. [HW → ORC1] BCKRQ
[0075] Optionally, the HW device allows the user to choose the number m of shares Si they wish to generate for seed backup, and the threshold n corresponding to the number of shares needed to reconstitute seed S. Also optionally, the HW device can present the user with a list of BCKi backup servers, some of which may be external partners, and ask the user to specify which ones they wish to use. Otherwise, these are automatically selected by the orchestrator. The ORC1 orchestrator establishes a data link with the BCKi servers and then initiates the backup process according to the steps described below. B2. Generation and sending of the backup identifier to the HW device and BCKi servers
[0076] [ORC1 → BCKi, HW] BCKID
[0077] The ORC1 orchestrator generates the backup BCKID identifier, for example a random number, and transfers it to the HW device and BCKi servers. B3. Performing an IDV0 identity verification by the IDVSRV0 server
[0078] [IDVSRV0] IDV0
[0079] The ORC1 orchestrator connects the user to the IDVSRVO server through a GTW gateway. The IDVSO service performs a pivot identity verification for the IDVO user. B4. Confirmation by the orchestrator of the successful identity verification
[0080] IDV_OK → HW
[0081] The IDVSRVO server confirms to the ORC1 orchestrator that the IDV was successful, and the ORC1 orchestrator confirms to the user via the hardware that their identity has been verified and that the seed saving step can be initiated. During this step, the ORC1 orchestrator can generate the BCKDT backup data and send it to the hardware. B5. Mutual authentication and creation of a secure channel between the orchestrator and the device B5.1 Generation of an ephemeral certificate by the orchestrator
[0082] (peO, PeO) = AsymKeyGen() Sign(pO, ReO∥PeO) CeO = PeO∥Sign(pO, ReO∥PeO)
[0083] The ORC1 orchestrator generates an ephemeral private key (peO) and an ephemeral public key (PeO). The orchestrator calculates the signature of its ephemeral public key (PeO) using its private key (pO). In the variant used here, the orchestrator calculates the signature of its ephemeral public key (PeO) after concatenating it with a ReO data element. The ReO data element specifies, for example, the role of the orchestrating server in the process, such as the role of orchestrator for establishing a secure channel. The orchestrator then generates an ephemeral certificate (CeO) by concatenating the ephemeral public key (PeO) and the signature.
[0084] B5.2 Sending CeO||CO orchestrator certificates to the device → HW
[0085] The ORC1 orchestrator sends its ephemeral certificate and CO certificate to the HW device.
[0086] B5.3. Verification by the orchestrator certificate system Verif CeO, Verif CO
[0087] The HW device verifies the orchestrator's certificate chain, in the manner described above, using the PL public key of the certification authority.
[0088] B5.4. Generation by the HW device of a session key k0 and an ephemeral certificate (peD, PeD) = AsymKeyGen() k0 = ECDH(peD, PeO) Sign(pD, ReD∥PeD) {Sign(pD, ReD∥PeD)}k0 CeD = PeD∥{Sign(pD, ReD∥PeD)}k0 {CD}k0
[0089] The HW device generates an ephemeral private key peD and an ephemeral public key PeD, and then a session key k0 from its ephemeral private key peD and the orchestrator's ephemeral public key PeO using the ECDH algorithm. The HW device then calculates the signature of its ephemeral public key PeD using its private key pD, here after concatenating the ephemeral public key PeD with a ReD data element. The ReD data element specifies, for example, the role that the HW plays in the process. The HW device then encrypts the signature of its ephemeral public key with the session key k0, according to the signature encryption procedure described above. The HW device then forms an ephemeral certificate CeD by concatenating the ephemeral public key PeD and the encrypted signature. Finally, the HW device encrypts its certificate CD using the key k0, according to the certificate encryption procedure described above.
[0090] B5.5. Sending the device certificates to the orchestrator [HW → ORC1] CeD||{CD}k0
[0091] The HW device sends its encrypted CD certificate (using the key k0) and its ephemeral CeD certificate (containing the encrypted signature) to the ORC1 orchestrator. Thanks to the encryption of both the certificate and the ephemeral certificate's signature, the PD public key is not exposed, as explained above. As mentioned earlier, the order of these steps can be reversed; the device can send its encrypted certificate before sending its ephemeral certificate (containing the encrypted signature).
[0092] B5.6. Generation by the orchestrator of the session key k0 k0 = ECDH(peO, PeD)
[0093] The ORC1 orchestrator generates the session key k0 from its ephemeral private key peO and the ephemeral public key PeD of the HW device using the ECDH algorithm.
[0094] B5.7. Verification by the orchestrator of the device certificates CD={CD} -1< k0 Sign(pD, ReD∥PeD) = {Sign(pD, ReD∥PeD)} -1< k0 Verif CeD, Verif CD
[0095] The ORC1 orchestrator decrypts the HW device's CD certificate and the signature of the HW device's ephemeral certificate, then verifies the certificate chain.
[0096] B6. Sending the device's BCKID, BCKDT data and CeD, CD certificates to the BCKi servers [ORC1 → BCKi] For each BCKi server, i ranging from 1 to m BCKID∥BCKDT∥CeD∥CD
[0097] The ORC1 orchestrator sends each BCKi server the backup identifier (BCKID) and the backup data (BCKDT), which includes at least the pivot identity data. As mentioned above, other data may optionally be sent or have already been sent to the backup servers through other channels, such as the photo or video of the user's face taken during the IDVO step, and a photo of an identity document. If this data is not included in the backup data (BCKDT), it can be stored by the customer account server and transmitted to the BCKi servers after the backup.
[0098] B7. Verification by each BCKi server of the device certificates For each BCKi server, i ranging from 1 to m Verif CeD, Verif CD
[0099] Each BCKi server verifies the HW device certificate chain in the manner previously described.
[0100] B8. Mutual authentication and creation of a secure channel between the BCKi servers and the device, via the orchestrator
[0101] B8.1 Generation of an ephemeral certificate by each BCKi server For each BCKi server, i ranging from 1 to m (peBi, PeBi) = AsymKeyGen() Sign(pBi, ReB∥PeBi) CeBi = PeBi∥Sign(pBi, ReB∥PeBi)
[0102] Each BCKi server generates an ephemeral private key (peBi) and an ephemeral public key (peBi). Each BCKi server calculates the signature of its ephemeral public key (peBi) after concatenating it with a ReB value using its private key (pBi). ReB specifies, for example, the role each server plays in the process, such as the role of backup server for managing the secure channel. Then, each BCKi server generates an ephemeral certificate (CeBi) by concatenating the ephemeral public key (peBi) and its signature.
[0103] B8.2 Generation of a kBi session key by each BCKi server For each BCKi server, i ranging from 1 to m, kBi = ECDH(peBi, PeD)
[0104] Each BCKi server then generates a kBi session key from its ephemeral private key peBi and the ephemeral public key PeD of the HW device, using the ECDH algorithm.
[0105] B8.3 Generation of an encrypted hash code by each BCKi server For each BCKi server, i ranging from 1 to m, Hi = Hash(PeBi∥BCKID∥BCKDT) CHi = {Hi}kBi
[0106] Each BCKi server then generates a Hi hash code from a binary string comprising its ephemeral public key PeBi, the BCKID data, and the BCKDT backup data. Each BCKi server then encrypts the Hi code using the kBi session key to obtain an encrypted CHi hash code.
[0107] B8.4 Sending the BCKi server certificates and encrypted hash code to the orchestrator [BCKi → ORC1] RETDTi = CeBi∥CBi∥CHi
[0108] Each BCKi server sends to the ORC1 orchestrator a RETDTi binary string comprising its ephemeral CeBi certificate, its CBi certificate and the encrypted CHi hash code.
[0109] B8.5 Sending the BCKi server certificates and encrypted hash code to the device [ORC1 → HW] {BCKI D∥BCKDT∥RETDT1∥...∥RETDTi∥...∥RETDTm}ko
[0110] The ORC1 orchestrator sends back to the device the BCKID, BCKDT, and all RETDTi data received from the BCKi backup servers, encrypted using the key k0. It should be noted that the orchestrator does not have access to the RETDTi data because it does not know the private keys kBi of the BCKi servers. Therefore, the data in the secure communication channel between the orchestrator and the device is encrypted twice.
[0111] B8.6 Decryption by the device of the BCKi server certificates and the encrypted hash code {BCKID∥BCKDT∥RETDT1|...∥RETDTi∥...||RETDTm} -1< k0
[0112] The HW device decrypts the data string to extract the BCKID, BCKDT data and the CeBi, CBi, CHi certificates.
[0113] B8.7 User validation of BCKDT data and BCKi servers For each BCKi server, i ranging from 1 to m, Validate BCKDT, BCKi
[0114] The individual user validates the BCKDT backup data and the BCKi servers in charge of the backup, which are presented to him on the screen of the host device.
[0115] B8.8 Verification by the device of BCKi server certificates For each BCKi server, i ranging from 1 to m, Verif CeBi, Verif CBi
[0116] The HW device verifies the certificate chain of each BCKi server.
[0117] B8.9 Generation of kBi session keys by the device and verification of encrypted hash codes For each BCKi server, i ranging from 1 to m, kBi = ECDH(peD, PeBi) {Hi} - 1 < kBi Validate Hi
[0118] For each BCKi server, the HW device generates the kBi session key, then decrypts the Hi code and validates it by recalculating the Hi code itself and comparing it to the decrypted code.
[0119] B9. Backup preparation, generation of m parts If S1, S2,...If,..Sm = SS(S)
[0120] Using the SS secret sharing function, the HW device generates the m parts Si to be saved in the different servers BCK1, BCK2... BCKm, with a threshold of n parts to retrieve the seed S.
[0121] B10. Encryption of shares If by the device For each BCKi server, i ranging from 1 to m {Si}kBi
[0122] For each BCKi server, the HW device encrypts the Si portion intended for it with its own unique kBi key.
[0123] B11. Sending the numbered parts to the orchestrator [HW → ORC1] {S1}kB1∥{S2}kB2∥....∥{Si}kBi∥...||{Sm}kBm → ORC1
[0124] The HW device then sends all the shares to the ORC1 orchestrator. It should be noted that the orchestrator does not know the value of each share Si because it is encrypted with the key kBi, which it does not know.
[0125] B12. Sending encrypted Si shares to the BCKi servers [ORC1 → BCKi] For each BCKi server, i ranging from 1 to m BCKID∥{Si}kBi → BCKi
[0126] The ORC1 orchestrator sends each BCKi server its encrypted Si share, along with the backup identifier.
[0127] B13. Decryption and recording by each BCKi server of the encrypted Si part For each BCKi server, i ranging from 1 to m {Si} -1< kBi → STORE
[0128] Each BCKi server decrypts the Si part it has received and stores it in its MEM memory for backup.
[0129] B14. Confirmation of the backup to the orchestrator by each BCKi server [BCKi → ORC1] OKi
[0130] Each BCKi server confirms to the ORC1 orchestrator with an "OKi" message (i ranging from 1 to m) that it has decrypted and stored its assigned portion of the seed. Optionally, each BCKi server can send an encrypted proof of decryption of portion Si using a hash code signed with its session key. This signed hash code will be passed to the hardware for verification.
[0131] B15. Confirmation of backup to the user [ORC1 → HW] OK
[0132] The ORC1 orchestrator sends a backup success message ("OK") to the HW device, which displays a backup confirmation message on its screen for the user.
[0133] At the end of the process: The HW device always holds the S seed, the companion HSW software records the BCKID backup identifier, the ORC1 orchestrator does not hold the S seed or the BCKDT backup data, and only holds the BCKID backup identifier, each BCKi server holds the BCKID backup identifier, the BCKDT backup data which contains at least the pivot identity of the user, and the Si share of the seed which was entrusted to it.
[0134] The HSW companion software saves the backup BCKID identifier and can also update the user's UACC client account by saving the backup BCKID identifier.
[0135] We will now describe in relation to the figure 5A an example of a seed restoration algorithm applicable to the system of the figure 3A and implementing various aspects of the previously described embodiments of the process. figure 5B is a sequence diagram that represents the steps of the algorithm as interactions between the entities previously mentioned.
[0136] Here, we assume the user has lost their hardware device (HW) or has irretrievably lost the password to use it. They obtain a new HW device, which they will use to retrieve the seed (S), and connect it to the host HDV device whose HSW companion software has stored the BCKID backup identifier. The new HW device could also be the HW device that was reset.
[0137] At the start of the process, the hardware (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 before will be used for the hardware's keys and certificates). The restoration process includes the steps described below. Steps similar to those previously described will not be discussed again.
[0138] R1. The device sends a restoration request to the orchestrator. HW' → ORC1 RESTRQ[BCKID]
[0139] The restore process is initiated by the hardware device sending a RESTRQ restore request to the orchestrator. This request contains the backup identifier (BCKID). It is issued at the user's request and selected from a menu displayed on the hardware device's screen or on the HDV host device's screen. R2. Mutual authentication and creation of a secure channel between the orchestrator and the device R2.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 device ORC1 → HW CeO∥CO R2.3. Verification by the device of the orchestrator's certificates Verif CeO, Verif CO R2.4. Device generation of a session key and an encrypted ephemeral certificate (peD, PeD) = AsymKeyGen() k0 = ECDH(peD, PeO) Sign(pD, ReD∥PeD) {Sign(pD, ReD||PeD)}kO CeD = PeD∥{Sign(pD, ReD∥PeD)}k0 {CD}k0 R2.5. Sending device certificates to the orchestrator HW [HW → ORC1] CeD||{CD}k0 R2.6. Orchestrator generation of session key k0 k0 = ECDH(peO, PeD) CD={CD} -1< k0 Sign(pD, ReD∥PeD) = {Sign(pD, ReD∥PeD)} -1< k0 R2.7. Verification by the orchestrator of the certificates of the Verif CeD, Verif CD R3 device.Sending BCKID data and CeD, CD certificates to BCKi servers [ORC1 → BCKi] For each BCKi server, i ranging from 1 to m BCKID∥CeD∥CD → BCKi.
[0140] The ORC1 orchestrator sends to each BCKi backup server the backup identifier BCKID, the ephemeral CeD certificate and the CD certificate of the HW device. R4. Verification by each BCKi server of the device certificates For each BCKi server, i ranging from 1 to m Verif CeD, Verif CD R5. Mutual authentication and creation of a secure channel between the BCKi servers and the device, via the orchestrator. R5.1 Generation by each BCKi server of an ephemeral certificate. For each BCKi server, i ranging from 1 to m. (peBi, PeBi) = AsymKeyGen() Sign(pBi, ReB∥PeBi) CeBi = PeBi∥Sign(pBi, ReB∥PeBi) R5.2 Generation by each BCKi server of a session key. For each BCKi server, i ranging from 1 to m. kBi = ECDH(peBi, PeD) R5.3 Generation by each BCKi server of an encrypted hash code. Hi = Hash(PeBi∥BCKID∥BCKDT) CHi = {Hi}kBi R5.4 Sending to the orchestrator by each BCKi server of its certificate and the encrypted hash code. [BCKi → ORC1] For each BCKi server, i ranging from 1 to m RETDTi = CeBi∥CBi∥CHi R5.5 Sending the received data from the BCKi servers to the device [ORC1 → HW] {BCKID∥BCKDT∥RETDT1|...∥RETDTi∥...∥RETDTm}k0 R5.6 Decryption by the device of the data string received from the orchestrator {BCKID∥BCKDT∥RETDT1|...∥RETDTi∥...∥RETDTm} -1< k0 R5.7 Validation of the backup data by the user Validate BCKDT .
[0141] The user validates the BCKDT backup data, including first name, last name, date of birth, optionally place of birth. R5.8 Verification by the device of BCKi server certificates For each BCKi server, i from 1 to m Verify CeBi, Verify CBi R5.9 Generation by the device of session keys kBi and verification of encrypted hash codes CHi For each BCKi server, i from 1 to m kBi = ECDH(peD, PeBi) {Hi} -1< kBi Validate Hi (Hi = Hash(PeBi∥BCKID∥BCKDT) R6. Restoration preparation R6.1 Sending by the device to the orchestrator of restore confirmations [HW'→ ORC1] {ConfirmRestore1}kB1∥{ConfirmRestore2}kB2∥...∥{ConfirmRestore i}kBi∥...∥ {ConfirmRestore m}kBm → ORC1
[0142] The HW device sends an individual restore confirmation "ConfirmRestore i" to the ORC1 orchestrator for each BCKi server, which is encrypted with the kBi key of each BCKi server. Each confirmation is a predefined binary code.
[0143] R6.2 Sending restoration confirmations to BCKi servers For each BCKi server, i ranging from 1 to m BCKID∥{ConfirmRestore i}kBi → BCKi
[0144] The ORC1 orchestrator sends to each BCKi server the concatenated backup identifier BCKID and the {ConfirmRestore i}kBi restore confirmation intended for it.
[0145] R6.3 Verification of restoration confirmations by BCKi servers For each BCKi server, i ranging from 1 to m {ConfirmRestore i} -1< kBi Store CD
[0146] Each BCKi server decrypts the confirmation message issued by the HW device and communicated to it by the ORC1 orchestrator, and stores the CD certificate of the HW device that it has previously verified.
[0147] R6.4 Confirmation by each BCKi server that the restoration can be initiated subject to identity verification [BCKi→ ORC1] For each BCKi server, i ranging from 1 to m OK_for_IDV
[0148] BCKi server slap signals to the ORC1 orchestrator that it is ready to restore the Si part it has saved, provided that the user authenticates through an IDVi step.
[0149] R7. Implementation of IDVi identity verification steps by IDVSRVi servers For each BCKi server, i ranging from 1 to m IDVRi
[0150] The user is redirected by the ORC1 orchestrator to each BCKi server, and each BCKi server performs its own IDVi verification of the user's pivot identity. In this embodiment, where the IDVi steps are handled by service providers, each BCKi server connects the user to its affiliated IDVSRVi server via a GTW gateway. The service provider's IDVSi service performs an identity verification of the user and then confirms to the ORC1 orchestrator that the user's identity has been verified and that the seed saving step can be initiated.
[0151] It should be noted that the duration of each IDVRi identity verification step can range from a few minutes to several days, depending on the requirements of each BCKi server or the provider performing the IDVRi. Verification by individuals may be systematically required with some IDVR providers.
[0152] R8. Restoration of secure communication channels after completion of IDVi identity verification steps [HW → ORC1] Continue Restore
[0153] Once the identity verification step is complete, sometimes several days later, the user restarts the restoration process. The hardware sends a "Continue Restore" request to the ORC1 orchestrator. Repeat steps R2.1 to R2.7, R3, R5.1 to R5.9
[0154] Because several days can pass during the execution of the IDVi verification steps, in one implementation the previous session certificates are not retained. Thus, steps R2.1 to R2.7, R3, and R5.1 to R5.9 are executed again to resume the restoration process where it left off, but with new session keys k0 and kBi.
[0155] R9. Resumption of restoration [ORC1 → BCKi] For each BCKi server, i ranging from 1 to m (or i ranging from 1 to n) Continue Restore → BCKi
[0156] Once the secure channels are reopened using new session keys, the orchestrator relays the request to continue the restoration to the BCKi servers. It should be noted that if, during the IDVRi steps, one of the BCKi servers is unable to verify the user's identity with a specified degree of certainty, it will refuse to return the share it holds and will inform the ORC1 orchestrator. If a specified number of BCKi backup servers fail to successfully verify the user's identity and refuse to return the data they hold, the orchestrator can be configured to suspend share return by the servers that successfully verified the user's identity. It can optionally decide to subject the user to an additional identity verification procedure.The orchestrator can also be configured to analyze certainty scores regarding user identity verification, as mentioned above, and make a decision based on that analysis.
[0157] Furthermore, in a variant of the process mentioned above and in what follows in parentheses, this step is limited to n backup BCKi servers, instead of the set of backup servers, if only n parts are needed to reconstitute the seed, with n less than m.
[0158] R10. Verification of the device certificate For each BCKi server, i ranging from 1 to m (or i ranging from 1 to n) Verif CD = CD
[0159] Each BCKi server ensures that the HW device CD certificate is the same as the CD certificate received before the IDVi identity verification steps were conducted, which it has retained.
[0160] R11. Transfer of shares to the orchestrator via BCKi servers For each BCKi server, i ranging from 1 to m (or i ranging from 1 to n) {S1}kB1∥{S2}kB2∥....∥{Si}kBi∥...∥{Sm}kBm → ORC1
[0161] Each BCKi server sends to the ORC1 orchestrator the Si part it holds, encrypted using its kBi key, which the orchestrator does not know.
[0162] R12. Transfer of parts to the device by the orchestrator {S1}kB1∥{S2}kB2∥....∥{Si}kBi∥...∥{Sm}kBm → HW
[0163] The ORC1 orchestrator sends to the HW device all Si parts received from the BCKi servers in encrypted form using the kBi keys.
[0164] R13. Deciphering the shares using the device and restoring the seed For each BCKi server, i ranging from 1 to m (or i ranging from 1 to n) {Si} -1< kBi S = SS -1< (S1, S2,...Si...Sm) (or S = SS -1< (S1, S2,...Si... Sn))
[0165] After deciphering each part of rank i using the corresponding key kBi, the HW device restores the seed from the received parts, or from a part of them if their number is greater than n.
[0166] R14. Final confirmation OK → ORC1
[0167] The HW device confirms to the ORC1 orchestrator that the seed restoration is complete.
[0168] It will be clear to those skilled in the art that the process described is susceptible to numerous other variations and implementations. The structure of the certificates involved in the process has been described above in two variations, for example: Cx = [Px, Sign(pL, Px)] Cex = Pex∥{Sign(px, Rex∥Pex)
[0169] Ephemeral certificates could also be of the type: Cex = Pex||{Sign(px, Pex)
[0170] The process can also be implemented with any certificate structure. X.509 certificates, in particular, can be used. Similarly, other encryption functions or cryptographic algorithms can be employed, especially within an implementation based on RSA cryptography.
[0171] There figure 6A shows a system for implementing the method of the invention which differs from that of the figure 3A in that the ORCSRV1 server is replaced by an ORCSRV2 server which runs an ORC2 orchestrator program (hereinafter "ORC2 orchestrator"). The OCR2 orchestrator differs from the ORC1 orchestrator in that it does not ensure the transmission to the HW device of data emitted by the BCKi backup servers, and vice versa, and therefore does not act as a gateway or "proxy server".
[0172] When the user initiates a seed backup step, the hardware (HW) sends a BCKRQ backup request to the OCR2 orchestrator. Following this, the ORC2 orchestrator performs the previously described steps of generating a BCKID for the backup and collecting user information to generate the BCKDT backup data. The orchestrator also conducts the initial IDVO step to verify the user's identity. If this step is successful, the orchestrator issues BCKPASSi backup permissions to the hardware, one permission per BCKi backup server, and sends each permission to the relevant BCKi server.
[0173] Each BCKPASSi authorization acts as a kind of "passport," allowing the hardware device to know which BCKi server to contact to back up a portion of the seed (Si), and enabling it to connect to the BCKi server to perform the backup without being rejected. Each BCKPASSi authorization can include various pieces of information, notably the information previously contained in the BCKDT backup data and the BCKID. BCKPASSi authorizations are stored by the companion software and, preferably, in the user's UACC account on the UASRV account server. Alternatively, the orchestrator issues a general BCKPASS authorization containing a concatenation of all the information contained in the BCKPASSi authorizations.
[0174] With reference to the figure 6BWhen the user wants to restore the seed, the companion software connects to the BCKi backup servers, which it identifies using the addresses contained in the BCKPASSi permissions. It then hands control over to the hardware device so that it can establish secure channels with the BCKi backup servers through key exchanges as described above. Once the secure channels have been created, the BCKi backup servers initiate the IDVi steps to verify the user's pivot identity.
[0175] The supervisory role of the IDVi steps, previously assigned to the ORC1 orchestrator, can also be assigned here to the ORC2 orchestrator. The ORC2 orchestrator is then contacted by the BCKi backup servers to analyze the results of the IDVi steps. If these results are satisfactory, the ORC2 orchestrator issues RESTPASSi restore permissions to the hardware (HW) device, which it also communicates to the BCKi backup servers. The hardware device then re-establishes a secure channel with the BCKi backup servers and presents them with the RESTPASSi permissions to retrieve the Si shares of the seed.
[0176] In the ultimate case where the user has closed their account on the UASRV account server, uninstalled the companion software by deleting the data it contained, and therefore could no longer recover BCKPASSi permissions, as well as in the equally ultimate case where the ORC2 orchestrator no longer exists, a solution can be provided to allow the user to recover their seed, by allowing them to conduct a plurality of individual identity verification steps with each BCKi backup server.
[0177] In a variant of the process allowing for easier recovery of shares in the event of total system failure, or loss of the BCKID identifier (implementation method Figures 3A , 3Bor BCKPASSi authorizations, it may be stipulated that the organization in charge of the ORC1 or ORC2 orchestrator will issue the user, for example by mail, a backup certificate bearing a tamper-proof certificate of authenticity such as a hologram. Such a backup certificate will not exempt the user from identity verification steps with the backup servers, but will contain sufficient information to offer an additional degree of certainty regarding their status as the legitimate holder of the seed when the IDVi verification steps are conducted.
[0178] There figure 7This illustrates an example of a hardware (HW) implementation for the process. The HW device comprises a secure element SE1, a microcontroller MCU1, and a touchscreen TS1. The touchscreen TS1 includes an electronic ink display (EID) and a touch module TM. The touchscreen TS1 is controlled by the secure element SE1. To this end, the input / output resources of the secure element SE1 are divided into three input / output groups: IOGA, IOGB, and IOGC. The IOGA input / output group is used to implement a bus BS1 connecting the secure element SE1 to the microcontroller MCU1. The IOGB input / output group is assigned to the implementation of a BS2 bus linking the secure element SE1 to the EID display, and the IOGC input / output group is assigned to the implementation of a BS3 bus linking the secure element SE1 to the TM touch module.The BS1 bus is, for example, an IEC / ISO 7816 bus, the BS2 bus is, for example, an SPI bus, and the BS3 bus is an I2C bus. The secure element is, for example, an STMicroelectronics® chip from the ST33K series. The HW device also includes various peripherals controlled by the MCU1 microcontroller, for example: A battery (BAT); a power management PMIC integrated circuit receives a voltage (Vbat) from the battery when it is charged, supplies the voltage (Vbat) to the battery when it needs charging, and provides a regulated supply voltage (Vcc) to the microcontroller (MCU1), the secure element (SE1), and the touchscreen (TS1); a QiA antenna for inductive battery charging using Qi technology. The QiA antenna is connected to a wireless charging integrated circuit (WCIC). The WCIC provides a voltage (Vqi) to the PMIC for battery charging; a USB port (U1).The USB port provides the PMIC circuit with a Vusb voltage for battery charging, provides the MCU1 microcontroller with DTu data received from an external device connected to the USB port, and transmits DTu data to the external device; a Bluetooth antenna (BTA) receives a radio frequency (RFS) signal provided by a Bluetooth communication management circuit (BTM). The BTM circuit provides DTb data exchanged with an external device via a Bluetooth link or transmits DTb data to the external device via the Bluetooth link.
[0179] The HW device has the advantage of possessing a touchscreen exclusively controlled by the secure element SE1 and therefore immune to corruption, even in the event of an attack on the microcontroller MCU1. The latter does not execute any application programs and does not store any of the cryptographic secrets used by the secure element. It only manages peripherals by transmitting to the secure element the DTb, DTu data received via the user's chosen communication interface, or by transmitting to the external device DTb, DTu data provided by the secure element. The HW device therefore offers no possibility of direct internet connection and remains, despite its touchscreen, a hardware wallet for the 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 area, an electrically erasable programmable non-volatile memory area, and a volatile memory area. The electrically erasable programmable non-volatile memory area houses the secure element's operating system. This operating system is configured to enable the implementation of the method of the invention.
[0180] The HW device is well-suited to implementing the process thanks to its touchscreen, which can be large and, for example, have a diagonal of 3.5 inches or more (one inch being equal to 2.54 cm), and a resolution of at least 600 x 400 pixels. In one embodiment, the screen has a diagonal of 3.9 inches (9.906 cm) and offers 670 x 496 pixels, which is a very large screen for a hardware cryptocurrency wallet without internet connectivity.
[0181] Tables 2 and 3 below, as well as the figures 8 And 9 They describe an example of a configuration of the HW device and the HSW companion software for implementing an embodiment of the method of the invention, in which three backup servers are used, the seed thus being backed up by means of three parts. The HW device is used in association with the HDV host device, to which it can be connected via its USB or Bluetooth interface. In addition to the TS1 touchscreen of the HW device, the HDV host device itself includes a screen allowing the USR user to conduct certain steps of the method with the companion software, while other steps are carried out with the HW device.
[0182] In Tables 2 and 3, the entries in brackets correspond to virtual buttons that the user must press to select their preferred option. The entries in quotation marks are information displayed by the hardware (HW) device or the host device (HDV). The abbreviations "xx" correspond to displayed areas or areas where the user must provide the requested information.
[0183] Table 2 below and the figure 8They describe the implementation of the method with regard to seed saving. During step D0, the companion software offers the user a choice between saving their seed and initializing or restoring the hardware device. It is assumed here that the hardware device has been previously put into operation but that the user has never saved their seed. The user therefore chooses the first option. During step D1, the companion software offers the user two options: a standard backup, which consists of the hardware device displaying the recovery phrase so that the user can save it to the storage medium of their choice, or a backup using an automatic protection service implementing the method according to the invention. During step D3, the user is prompted to create an account on the customer account server.During step D4, the user creates this account and provides information about their identity, at least part of which constitutes their pivot identity information embedded in the BCKDT backup data. During step D5, they define the password for their account.
[0184] During step D6, the companion software reminds the user that they will need to undergo an identity verification step. This is the IDVO step, which allows the orchestrator to ensure that the information constituting their pivot identity is correct, including their first name, last name, and date of birth. The IDVO step is conducted in steps D7 through D11 using the HDV host device's screen and camera. Once the IDVO step is successfully completed, the user must connect the HW device to the HDV host device in step D12.
[0185] Next, the hardware takes over the rest of the process by asking the user to enter their password at step D13, and then to verify their identity at steps D14 and D15. The hardware then saves the seed at step D16.
[0186] Table 3 below and the figure 9They describe the seed restoration step. In step D0, the user selects the Initialize / Restore option. During step D20, the companion software prompts the user to connect the HW' device to the HDV host device. During step D21, the companion software and the HW' device confirm that the connection has been established. During step D22, the user must enter the HW' device password. During step D22, the HW' device prompts the user to specify whether they want to initialize the HW' device as a new device or perform a restore using a recovery phrase. The user selects the "restore" option. During a D24 step, the HW device asks the user if they want to restore the HW device from the protection service according to the invention or from a recovery phrase that they have kept (manual restoration).The user chooses the protection service.
[0187] During step D25, the companion software takes over the rest of the process and informs the user that they will have to undergo three identity verification steps. The first will be performed with the hardware (HW) device, and the other two will be performed with IDV providers. During step D26, the user must confirm the information displayed by the hardware device regarding their core identity (additional information beyond the core identity may be displayed by the hardware device during this step, as shown in Table 3). During step D27, the companion software informs the user that they will be connected to the first IDV partner and asks them to confirm their agreement. The user's agreement leads the companion software to connect to an IDVSRVi partner server via its GTW gateway, as described above.During steps D28 to D32, the user performs the actions requested by the first IDV partner to acquire the information necessary for the first identity verification, using the screen and camera of the HDV host device. During step D33, the companion software informs the user that they will be connected to the second IDV partner and asks them to confirm their agreement. The user's agreement leads the companion software to connect to another IDVSRVi partner server via its GTW gateway. During steps summarized in the table by a single step D34, the user performs the actions requested by the second IDV partner to acquire the information necessary for the second identity verification. These steps may be identical, similar, or different from those of the first identity verification.It should be noted that identity verification is not complete once these steps are performed, and the result of each verification may not be provided to the user for several hours or even days, as explained above. Once the user's identity has been verified, the HW device retrieves the S1, S2, and S3 parts of the seed and restores it during step D35.
[0188] It will be clear to anyone skilled in the art that the method just described can also be implemented with other types of cryptocurrency wallets. In particular, the method can be implemented with a CW2 cryptocurrency wallet of the type shown in the image. Figure 10The CW2 crypto-asset wallet includes a secure microcontroller (SMCU), a touchscreen display (TS2), and CINT1 communication interface circuitry, including Wi-Fi and / or Ethernet connectivity, enabling internet access. The secure microcontroller uses two virtual processors with hardware access control, allowing it to manage two application execution zones (TZ and NTZ) offering different levels of security. The TZ zone is referred to as the "Trust Zone." In some embodiments, the secure microcontroller can be equipped with a secure SE2 element coupled to the TZ Trust Zone to perform cryptographic calculations and conduct the most security-sensitive operations, such as storing the seed phrase and various crypto-asset account keys. Each zone can operate independently while using the same kernel.In general, the microcontroller runs a so-called "rich" operating system in the less secure NTZ zone, for example Android, and specialized code in the TZ trust zone. Such a device is equivalent to the combination of the hardware wallet (HW) (equivalent to the trust zone) and the host device (HDV) (equivalent to the less secure zone) described above, and does not need to be connected to a host device to perform operations on the blockchain.
[0189] The method of the invention can also be implemented with a software wallet. Unlike an online wallet, a software wallet allows cryptocurrencies to be stored directly on a desktop computer, laptop, mobile phone, or equivalent device. The user retains ownership of their keys and seed phrase and is responsible for securing their storage, ensuring that a fraudster cannot obtain them. For example, the figure 11This illustrates a CW3 software-based crypto-asset wallet executed by a DV electronic device, which can be of the aforementioned type: computer, mobile phone, or equivalent. The DV device comprises a microprocessor (MPU) equipped with a CINT2 communication interface enabling it to connect to the internet, volatile RAM, and non-volatile memory (NVM), such as a magnetic hard drive or a solid-state drive (SSD). The CW3 program forming the software-based crypto-asset wallet is stored in the DV device's NVM and executed by the MPU using its RAM.
[0190] Table 2: Seed saving, interaction between the user, the hardware wallet (HW), and the host device (HDV) [Tab 2] Information displayed on the TS1 touchscreen of the HW device Information displayed by the HDV host device User Actions USR D0 [Save] [Initialize / Restore] The user selects "Save" D1 "Choose the type of protection for your recovery phrase": The user selects [Automatic Recovery Phrase Protection Service] [D1.1] [Displaying the recovery phrase on your device and backing it up yourself] [D1.2] [Automatic Recovery Phrase Protection Service] D2 "After you create your account and your identity is confirmed by one of our IDV partners, your recovery phrase will be securely linked to your identity. Your recovery phrase will be split into three parts, stored in a decentralized manner, and cannot be stolen from you." [Confirm your choice of protection service] Read the displayed information and then confirm your choice of protection service. D3 Please create an account first: [Create an account] Provides agreement to the creation of the account D4 Name: " xx Provides the requested information, then validates "First name:" xx "Date of birth:" xx "Nationality: "xx "Place of birth:" xx [Confirm] "Email address:" xx [Confirm] "Verification code received by email:" xx [Confirm] D5 "Creating a strong password" Provides the password and validates it Enter your password: "xx" "Confirm password: "xx" [Validate] D6 "Your account has been successfully created. You will now confirm your identity with our partner." [I agree] The user confirms their agreement to the verification of their identity. D7 "Choose the type of identity document" [Passport] [Driver's license] [National identity card] [(Other choice)] Choose the document type D8 "Please present your identity document in the frame" Execute the step D9 "Check the photo and confirm sending it" [Send the photo] Check and confirm the photo submission D10 "Place your face in the frame and start recording" [Start recording] Perform the proposed step D11 "Check the video and then send it" [Send the video] Check the video and then confirm sending. D12 "Connect the device whose recovery phrase you want to save" Connects the HW device to the host device D13 "Enter your PIN code: xx" [Confirm] "Unlock your hardware wallet by entering your personal password (PIN code)" Provides his password D14 [Verify your identity before saving your recovery phrase] Gives approval for identity confirmation D15 "Name, surname, date of birth, nationality, place of birth" [Confirm] Confirms the accuracy of the displayed information D16 "Storing your current recovery phrase" Wait until the process is complete. D17 "Your sentence of Account created: OK recovery Identity confirmation: OK stored securely Connecting your device: OK security" Saving your recovery phrase: OK D18 "Your recovery phrase has been saved. Restore it on another device whenever needed."
[0191] Table 3: Seed restoration, interaction between the user and the hardware wallet (HW) and the host device (HDV) [Tab 3] Information displayed on the TS1 touchscreen of the HW device Information displayed on the HDV host device User Actions USR D0 [Save] [Initialize / Restore] The user selects "Initialize / Restore" D20 "On hold" "Connect the hardware wallet" Connects its device to the host device D21 "Connected" "Connected to your hardware wallet" D22 "Enter your PIN:"xx" "Enter a password (PIN) on your device" Sets his password D23 [D23.1] [New device] "How do you want Choose the "restoration" option [D23.2] [Restoration with a recovery phrase] Initialize your device? New device or restore with a recovery phrase? Make your choice on your device's screen. D24 [D24.1][Restore with protection service] [D24.2][Manual restore with recovery phrase] "How would you like to restore your device? Make your selection on your device." Choose the restaurant with the protection service D25 "We suggest the following steps: Agrees to the proposed identity verification process 1. Confirm your identity with your device 2. Verification of your identity by an initial IDV partner 3. Verification of your identity by a second IDV partner" [I agree] D26 (HW displays information regarding the user's identity) "1. Confirm your identity as displayed on your device" Confirms the information displayed by the HW device "Name:" xx "First name:" xx "Date of birth:" xx "Nationality:" xx "Place of birth:" xx "Email address: xx" [Confirm] D27 "2. Verification of your identity by our first IDV partner" [Confirm] Gives his consent D28 "Choose the document type" [Passport] [Driver's license] [National identity card] [(Other choice)] Choose the document type D29 "Please present your identity document in the frame" Perform the proposed step D30 "Check the photo and confirm its submission" Check to confirm the photo upload [Sending the photo] D31 "Place your face in the frame and start recording" [Start recording] Perform the proposed step D32 "Check the video and then send it" [Sending video] Check the video and then confirm sending the video. D33 "2. Verification of your identity by our second IDV partner" [Confirm] Gives his consent D34 (conducting the second identity verification process, which is identical, similar, or different from the first) Perform the steps D35 "Restoring your recovery phrase" "1. Confirm your identity with your device: OK 2. Confirmation of your identity by our first IDV partner: OK 3. Confirmation of your identity by our second IDV partner: OK D36 Displays a menu "Your recovery phrase has been restored"
Claims
1. A method for establishing a secure data connection (LNK1) between an electronic device (CW1, HW, HDV, CW2, DV, CW3) and a server (ORC1), the electronic device (CW1) comprising a cryptoasset hardware wallet (HW) containing a main secret data (S), or master key, the method wherein the server and the device each possess a private key (pO, pD), a public key (PO, PD), a certificate (CO, CD) signed by a certification authority (CA), and a public key (PL) of the certification authority, and are configured to execute the following steps: - the server generates (B5.1) an ephemeral private key (peO) and an ephemeral public key (PeO), - the server generates (B5.1) an ephemeral certificate (CeO) comprising its ephemeral public key (PeO) and a signature (Sign(pO, ReO||PeO) of its ephemeral public key (PeO) from its private key (pO), - the server transfers (B5.2) its certificate (CO) and its ephemeral certificate (CeO) to the device, - the device generates (B5.4) an ephemeral private key (peD) and an ephemeral public key (PeD) - the device generates (B5.4) a signature of its ephemeral public key (PeD) from its private key (pD), - the device generates (B5.4) a first session key (k0) from its ephemeral private key (peD) and the ephemeral public key (PeO) of the server, - the device generates (B5.4) an ephemeral certificate (CeD) comprising its ephemeral public key (PeD) and a signature (Sign(pD, ReD||PeD)) of its ephemeral public key (PeD) from its private key (pD), - the device transfers (B5.5) to the server its certificate (CD) and its ephemeral certificate (CeD), - the server generates (B5.6) the first session key (k0) from its ephemeral private key (peO) and the ephemeral public key (PeD) of the device, the method characterized in that the device, before transferring (B5.5) to the server its certificate (CD) and its ephemeral certificate (CeD): - generates (B5.4) the first session key (k0), - encrypts (B5.4) the signature (Sign(pD, ReD||PeD)) of its ephemeral public key (PeD) by means of the first session key (k0), to obtain an encrypted signature ({Sign(pD, ReD||PeD)}k0), and - encrypts (B5.4) its certificate (CD) with the first session key (k0), then: - transfers (B5.5) to the server its encrypted certificate ({CD}k0) with the first session key instead of its unencrypted certificate, and an ephemeral certificate (CeD) comprising its ephemeral public key (PeO) and the encrypted signature ({Sign(pD, ReD||PeD)}k0) of its ephemeral public key instead of the unencrypted signature, and wherein the server, after reception (B5.5) of the encrypted certificate (CD) and the ephemeral certificate (CeD) of the device: - generates (B5.6) the first session key (k0) from its ephemeral private key (peO) and the ephemeral public key (PeD) of the device, and - decrypts (B5.7) the encrypted certificate ({CD}k0) and the encrypted signature present in the ephemeral certificate (CeD) by means of the first session key.
2. The method according to claim 1, wherein, before generating the signature of its ephemeral public key (PeD), the device concatenates (B5.4) its ephemeral public key (PeD) with data (ReD).
3. The method according to one of claims 1 and 2, wherein: - the device verifies (B5.3) the validity of the ephemeral certificate (CeO) of the server (ORC1) by means of the certificate (CO) of the server, - the device verifies (B5.3) the validity of the certificate (CO) of the server (ORC1) by means of the public key (PL) of the certification authority, - the server (ORC1) verifies (B5.7) the validity of the ephemeral certificate (CeD) of the device by means of the certificate (CD) of the device, and - the server verifies (B5.7) the validity of the certificate (CD) of the device by means of the public key of the certification authority (CL).
4. The method according to one of claims 1 to 3, wherein the hardware wallet (HW) is devoid of means of connection to the Internet and is configured to be connected to the server through a host device (HDV) executing companion software (HSW) and provided with an Internet connection.
5. A method for backing up a plurality of secret data (Si) held by a cryptoasset wallet (CW1, HW, HDV, CW2, DV), the secret data being stored by the cryptoasset wallet or derivable by the cryptoasset wallet from a main secret data (S) held by the cryptoasset wallet, the cryptoasset wallet being owned by a user (USR), the method comprising the steps of: - providing an orchestrator program (ORC1) executed by a server (ORCSRV1) to implement and supervise the backup of data, and - providing a plurality of backup servers (BCKSRVi), and wherein the orchestrator program is configured to: - establish a secure data connection (LNK1) with the cryptoasset wallet according to the method according to one of claims 1 to 4, - communicate (B6) to each backup server information (BCKDT) relating to the user's identity, - receive (B11) from the cryptoasset wallet the data to be backed up ({Si}kBi), and - transfer (B12) to each backup server one of the data (Si) to be backed up.
6. The method according to claim 5, wherein the information relating to the user's identity includes at least the user's first name, last name, and date of birth.
7. The method according to one of claims 5 and 6, wherein: - each backup server (BCKSRVi) possesses a private key (pO, pD, pBi), a public key (PO, PD, PBi), a certificate (CO, CD, CBi) signed by the certification authority (CA), and the public key (PL) of the certification authority, - each backup server transfers (B8.4) its certificate (CBi) to the orchestrator program, which transfers (B8.5) it to the cryptoasset wallet, - each backup server generates (B8.1) an ephemeral private key (peBi), an ephemeral public key (PeBi) and an ephemeral certificate (CeBi) signed with its private key (pBi), and transfers (B8.4) the ephemeral certificate to the orchestrator program which transfers (B8.5) it to the cryptoasset wallet, - the cryptoasset wallet transfers (B5.5) its certificate (CD) and its ephemeral certificate (CeD) to the orchestrator program, which transfers (B6) it to each of the backup servers (BCKi), - each backup server generates a second session key (kBi) from its ephemeral private key (peBi) and the ephemeral public key (PeD) of the cryptoasset wallet, - the cryptoasset wallet generates the second session key (kBi) of each backup server from its ephemeral private key (peD) and the ephemeral public key (PeBi) of the backup server, - the cryptoasset wallet encrypts (B10) the data intended for each backup server with the second session key (kBi), transfers (B11) it to the orchestrator which transfers (B12) it to the backup server, and - each backup server decrypts (B13) by means of the second session key (kBi) the data (Si) received, and stores it in a memory (MEM).
8. The method according to claim 7, wherein: - each backup server verifies (B7) the validity of the certificate (CD) of the cryptoasset wallet by means of the public key of the certification authority (CL), - each backup server verifies (B7) the validity of the ephemeral certificate (CeD) of the cryptoasset wallet by means of the certificate (CD) of the cryptoasset wallet, - the cryptoasset wallet verifies (B8.8) the validity of the certificate (CBi) of each backup server (CBi) by means of the public key of the certification authority (CL), and - the cryptoasset wallet verifies (B8.8) the validity of the ephemeral certificate (CeBi) of each backup server by means of the certificate (CBi) of each server.
9. The method according to one of claims 7 and 8, wherein data for the cryptoasset wallet transmitted to the orchestrator program by a backup server are transmitted (8.5) by the orchestrator program to the cryptoasset wallet in a form encrypted by means of the first session key (k0), and wherein some of these data (RETDTi) are previously hashed (B8.3) by the backup server by means of a hash function, then encrypted (B8.3) by means of the second session key (kBi).
10. The method according to one of claims 5 to 9, comprising an initial step (B3, IDV0) of verification of the user's identity by the orchestrator program, and wherein the orchestrator program is configured not to allow the backup of data (Si) in the backup servers if the identity verification is not conclusive.
11. The method according to one of claims 5 to 10, wherein the cryptoasset wallet (CW1, CW3, DV, CW3) is configured to generate the plurality of secret data (Si) from the master key (S) by means of a secret sharing function configured to generate a number m of secret data and allow the reconstruction of the master key (S) from a threshold of n secret data (Si).
12. The method according to claim 11, wherein m is equal to 3 and n is equal to 2.
13. The method according to one of claims 1 to 12, comprising a step (R11) of restoration of all or part of the secret data in a second cryptoasset wallet (CW1, HW'), the restoration step being preceded by steps (R11-R12) of recovery of all or part of the secret data in the backup servers through the orchestrator program, and wherein the steps (R11-R12) of recovery of the secret data in the backup servers are preceded by a plurality of steps (R7, IDVi) of verification of the user's identity by at least part of the backup servers (BCKSRVi), a backup server configured to verify the user's identity being also configured to refuse to return the secret data it holds if the verification of the user's identity is not conclusive.
14. The method according to claim 13, wherein at least one backup server (BCKSRVi) is configured to delegate the identity verification step to a server (IDVSRVi) specialized in identity verification, the backup server being configured to establish a data connection with the specialized server (IDVSRVi) in order to put the user in contact with this server (IDVSRVi).
