Access control system and method for encrypted wallet

By generating and using digital signatures to unlock hardware wallets, combined with application authentication, it solves the problem of hardware encryption wallets self-resetting after incorrect PIN entry, improving security and ease of the recovery process, ensuring users instant access to cryptocurrencies.

CN118696327AInactive Publication Date: 2024-09-24SEDWYF CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380020879.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-02-09
Filing Date
2023-02-09
Publication Date
2024-09-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing hardware encryption wallets reset themselves after consecutive incorrect PIN entries, causing users to lose access to the device, and bad actors may steal cryptocurrency by guessing the PIN, making the recovery process complex and risky.

Method used

By generating a master signature key pair and an unlocking key pair, using a digital signature to unlock the hardware wallet, and applying authentication in addition to the PIN, it ensures that the device is only unlocked after correct authentication, reducing the number of PIN entries and the risk of incorrect attempts.

Benefits of technology

Improved hardware wallet security reduces the risk of bad actors stealing cryptocurrencies, simplifies the recovery process and ensures users instant access to cryptocurrencies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118696327A
    Figure CN118696327A
Patent Text Reader

Abstract

Systems, methods, and devices for access control of encrypted wallets. The encrypted wallet may interoperate with a plurality of wallet controller devices. By implementing various key exchange mechanisms, instructions from the wallet controller device may be securely provided to the encrypted wallet, and the encrypted wallet may verify the source of the instructions. By implementing these mechanisms, the risk of theft or skilled transfer of cryptocurrency associated with a hardware wallet is improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application is based on and claims priority to U.S. Provisional Patent Application No. 63 / 308,469, entitled “ACCESS CONTROL SYSTEMS AND METHODSFOR CRYPTOWALLETS,” filed on February 9, 2022, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present disclosure relates to crypto wallets, and more particularly, the present disclosure relates to access control for crypto wallets. Background Art

[0004] Access control for hardware crypto wallets typically relies on a PIN that the wallet owner enters using a button or electronic keypad on the device. If the PIN is entered incorrectly a certain number of times in a row, the device resets itself and deletes all information about the wallet, including the seed value. This can be problematic if the owner forgets the PIN, or if a bad actor enters too many incorrect PINs. Summary of the invention

[0005] Systems, devices and / or methods for access control of cryptographic wallets are provided. A method of configuring a hardware wallet for control is provided. The method may include generating, by a first wallet controller, a master signing key pair including a master signing private key and a master signing public key. The method may include generating, by the first wallet controller, a first unlocking key pair including a first unlocking private key and a first unlocking public key. The method may include signing, by the first wallet controller, the first unlocking public key with the master signing private key to create a signed first unlocking public key. The method may include sending the master signing public key from the first wallet controller to the hardware wallet. The method may include sending the signed first unlocking public key from the first wallet controller to the hardware wallet.

[0006] In various embodiments, the method includes one or more additional aspects. For example, the method may include storing, by the hardware wallet, a master signing public key. The hardware wallet may store a signed first unlocking public key. The hardware wallet may decrypt the first unlocking public key from the signed first unlocking public key by the master signing public key. The hardware wallet may store the first unlocking public key.

[0007] Other aspects may also be provided. The method may include setting a first user personal identification number (PIN) through a user input component of the hardware wallet and storing the first user PIN. The method may include sending a master signing private key from a first wallet controller to a second wallet controller. The second wallet controller may generate a second unlocking key pair having a second unlocking private key and a second unlocking public key. The second wallet controller may sign the second unlocking public key with the master signing private key to create a signed second unlocking public key. The second wallet controller may send the signed second unlocking public key to the hardware wallet. Sending the master signing private key from the first wallet controller to the second wallet controller may mean that the first wallet controller and the second wallet controller access the same trusted execution environment (TEE).

[0008] In various embodiments, the method further contemplates storing the signed second unlocking public key by the hardware wallet, decrypting the second unlocking public key from the signed second unlocking public key by the master signing public key, and storing the second unlocking public key by the hardware wallet.

[0009] The method may include authorizing unlocking of the hardware wallet to allow access to secure data including cryptocurrency. Authorization may include generating, by the first wallet controller, a first wallet unlock command. Authorization may include signing, by the first wallet controller, the first wallet unlock command with a first unlock private key to generate a first signed wallet unlock command. Authorization may include sending, by the first wallet controller, the first signed wallet unlock command to the hardware wallet.

[0010] The method may include accessing secure data including a cryptocurrency, the access occurring after authorizing unlocking of the hardware wallet. The access may include prompting a user, by the hardware wallet, to enter a personal identification code. The access may include receiving the personal identification code, by the hardware wallet. The access may include verifying, by the hardware wallet, that the received personal identification code is correct. Other aspects may be performed in response to the verification. For example, the method may continue by decrypting the first wallet unlock command from the signed wallet unlock command by the first unlock public key to reveal the first wallet unlock command, and executing the first wallet unlock command by the hardware wallet.

[0011] In various embodiments with a second wallet controller, authorizing the unlocking of a hardware wallet to allow access to secure data including cryptocurrency can have aspects related to the second wallet control. For example, the authorization can include generating, by the second wallet controller, a second wallet unlock command. The authorization can include signing, by the second wallet controller, the second wallet unlock command with a second unlock private key to generate a second signed wallet unlock command. The authorization can include sending, by the second wallet, the second signed wallet unlock command to the hardware wallet.

[0012] In various embodiments having a second wallet controller, accessing secure data including encrypted data may have aspects related to second wallet control. For example, access may occur after unlocking of the authorized hardware wallet and may include various operations. Access may include prompting a user by the hardware wallet to enter a personal identification code. Access may include receiving the personal identification code by the hardware wallet. Access may include verifying by the hardware wallet that the received personal identification code is correct. Other aspects may be performed in response to the verification. For example, the method may continue to decrypt the second wallet unlock command from the signed wallet unlock command by the second unlock public key to reveal the second wallet unlock command. The method may continue to execute the second wallet unlock command by the hardware wallet.

[0013] Various methods may also have aspects related to revocation of keys. For example, the method may include revoking a first unlocking key pair. Revoking the first unlocking key pair may include generating, by a first wallet controller, a first unlocking key pair revocation command. The method may include signing, by the first wallet controller, the first unlocking key pair revocation command with at least one of (i) a master signature private key and / or (ii) a first unlocking private key to generate a first signed unlocking key pair revocation command. The method may include sending, by the first wallet controller, the first signed unlocking key pair revocation command to the hardware wallet. Revocation may also include receiving, by the hardware wallet, the first signed unlocking key pair revocation command. Revocation may include decrypting the first unlocking key pair revocation command from the first signed unlocking key pair revocation command by at least one of (i) a master signature public key and / or (ii) a first unlocking public key to reveal the first unlocking key pair revocation command. The method may include deleting, by the hardware wallet, the first unlocking public key from the hardware wallet.

[0014] Another method of configuring a hardware wallet to be controlled by a first wallet controller is provided. The method may include receiving, by the hardware wallet, from the first wallet controller, a master signing public key from a master signing key pair including a master signing private key and a master signing public key. The method may include receiving, by the hardware wallet, from the first wallet controller, a signed first unlocking public key, the signed first unlocking public key including a first unlocking public key from a first unlocking key pair including a first unlocking private key and a first unlocking public key, wherein the first unlocking public key is signed by the master signing private key. The method may include storing, by the hardware wallet, the master signing public key. The method may include storing, by the hardware wallet, the signed first unlocking public key. The method may include decrypting, by the hardware wallet, the first unlocking public key from the signed first unlocking public key by the master signing public key. The method may include storing, by the hardware wallet, the first unlocking public key.

[0015] Additional aspects may also be provided. For example, the method may include setting a first user personal identification number (PIN) through a user input component of the hardware wallet and storing the first user PIN. The method may include authorizing unlocking of the hardware wallet to allow access to secure data including cryptocurrency. Authorization may include receiving, by the hardware wallet, a first signed wallet unlock command from a first wallet controller, wherein the first signed wallet unlock command includes a first wallet command signed by the first wallet controller with a first unlock private key.

[0016] The method may include accessing, by the hardware wallet, secure data including cryptocurrency, the access occurring after authorizing unlocking of the hardware wallet. The access may include prompting, by the hardware wallet, a user to enter a personal identification code. The access may include receiving, by the hardware wallet, the personal identification code. The access may include verifying, by the hardware wallet, that the received personal identification code is correct. Various elements may be performed in response to the verification. For example, the method may continue by decrypting the first wallet unlock command from the signed wallet unlock command by the first unlock public key to reveal the first wallet unlock command, and executing, by the hardware wallet, the first wallet unlock command.

[0017] A cryptocurrency wallet controller is disclosed. The wallet controller may configure a hardware wallet so that it is controlled by the cryptocurrency wallet controller. The cryptocurrency wallet controller may include a transceiver configured to electronically communicate with the hardware wallet to transmit a cryptographic key to the hardware wallet. The cryptocurrency wallet controller may include a digital storage unit configured to securely store at least a portion of the cryptographic key. The cryptocurrency wallet controller may include a processor that electronically communicates with the digital storage unit and the transceiver. The processor may be configured to perform various methods. For example, the processor may be configured to generate a master signature key pair including a master signature private key and a master signature public key. The processor may generate a first unlock key pair including a first unlock private key and a first unlock public key. The processor may sign the first unlock public key with the master signature private key to create a signed first unlock public key. The processor may send the master signature public key to the hardware wallet via the transceiver. The processor may send the signed first unlock public key to the hardware wallet via the transceiver. The processor stores the master signature private key and the first unlock private key in the digital storage unit. The master signature private key and the first unlock private key are not sent from the cryptocurrency wallet controller to the hardware wallet.

[0018] In various embodiments, additional features are provided. The processor may be further configured to send a master signing private key from the first wallet controller to the second wallet controller. The second wallet controller may generate a second unlocking key pair having a second unlocking private key and a second unlocking public key. The second wallet controller may sign the second unlocking public key with the master signing private key to create a signed second unlocking public key. The second wallet controller may send the signed second unlocking public key from the second wallet controller to the hardware wallet. In various embodiments, the first wallet controller and the second wallet controller are software applications running on the same device, wherein sending the master signing private key from the first wallet controller to the second wallet server includes accessing a shared trusted execution environment containing the master signing private key by both the first wallet server and the second wallet server. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Other systems, methods, features and advantages of the present invention will be apparent to those skilled in the art upon review of the following drawings and detailed descriptions. The components shown in the drawings are not necessarily to scale and may be exaggerated to better illustrate important features of the present invention.

[0020] Figure 1 depicts a block diagram of a wallet control system according to various embodiments;

[0021] Figure 2 depicts various keys of a wallet control system according to various embodiments;

[0022] Figure 3 Depicting various communication channels of a wallet control system according to various embodiments;

[0023] Figure 4 Depicted are methods of configuring a hardware wallet for secure control by a first wallet controller in accordance with various embodiments;

[0024] Figure 5 Depicted are methods of configuring a hardware wallet for secure control by first and second wallet controllers in accordance with various embodiments;

[0025] Figure 6 Depicted are methods for configuring a hardware wallet for control, including authorizing unlocking or other access control practices, in accordance with various embodiments;

[0026] Figure 7 Depicted are methods for configuring a hardware wallet for control according to various embodiments, the method also comprising authorizing unlocking or other access control practices by first and second wallet controllers; and

[0027] Figure 8 Methods of revoking keys associated with access to a hardware wallet in accordance with various embodiments are described. DETAILED DESCRIPTION

[0028] As disclosed herein, systems, devices, and methods are provided for access and control of cryptocurrency wallets (crypto wallets).

[0029] Crypto wallets are used to generate and store cryptographic keys required to conduct cryptocurrency transactions. Crypto wallets include at least two common types. A software wallet is a crypto wallet that acts as a smartphone or desktop application that stores cryptographic keys and also manages incoming and outgoing transactions. A hardware wallet is a crypto wallet with an embedded device that stores a private key for signing outgoing transactions. The hardware wallet communicates with a smartphone, desktop, or web application "observation wallet" (which only stores the corresponding public key of the hardware wallet's private key). The observation wallet monitors incoming transactions and prepares unsigned outgoing transactions for the embedded device, but cannot sign outgoing transactions. The embedded device verifies the transaction details, retrieves the applicable signing key, signs the transaction, and sends the signed transaction back to the smartphone, desktop, or web application for broadcasting to the mining node.

[0030] Hardware crypto wallets are known to be more secure than software crypto wallets because software crypto wallets coexist with other applications on a smartphone or desktop, so private keys are vulnerable to software attacks on a shared platform, while keys in hardware crypto wallets never leave the embedded device. Access to hardware crypto wallet operations is usually protected by a personal identification number (PIN).

[0031] As mentioned previously, previous crypto wallets relied on correctly entering a personal identification number (PIN), and often deleted the wallet's information in response to too many incorrect PIN entries. This creates a variety of problems. For example, the owner may forget the PIN and lose access to the device. If a bad actor gains physical access to the device, such as when the device is temporarily unattended, the bad actor may attempt to guess the PIN. In some cases, the PIN may be stolen or easily guessed, for example, if the PIN is part of the owner's birthday or phone number, or is used by the owner elsewhere. If the bad actor is able to correctly guess the wallet's PIN within a few attempts, the bad actor may be able to steal all of the cryptocurrency in the wallet. If the bad actor is unable to correctly guess the PIN, the bad actor may still force a device reset after several consecutive incorrect PIN attempts in a trivial denial of service attack. In this case, the owner must restore the wallet's seed value from a backup or lose their cryptocurrency.

[0032] The recovery process carries the following additional risks. For example, the recovery process can be a tedious and unwelcome task, such as when recovery is done via a recovery seed phrase. If the owner does not have instant access to the backup source, this can lead to possible loss of opportunity. If the owner loses their backup, the wallet's cryptocurrency may be lost forever.

[0033] To address these and other challenges, various access control systems and methods for encrypted wallets are provided. For example, in addition to or as an alternative to the device's PIN, a wallet owner may choose to unlock an embedded device using a smartphone application that communicates with the hardware wallet via Bluetooth Low Energy (BLE). As an initial step, the application may create a device unlock signature key and share the corresponding public key with the embedded device. Later, whenever the device needs to be unlocked, the application may send a digitally signed unlock command to the device. The signature key may be combined with the owner's confirmation via a biometric, PIN, or pattern set on the smartphone.

[0034] If app authentication is used in addition to a PIN, the embedded device should authenticate the app first before asking the owner to enter a PIN to mitigate PIN attacks. If app authentication is used as an alternative to a PIN, the embedded device will not request a PIN if app authentication is successful, but will still require the owner to physically confirm the unlock process, such as pressing two buttons simultaneously.

[0035] An example system for backup and recovery of crypto wallets may have different devices working together to perform these mechanisms. Now turn your attention to Figure 1 , the access control system 2 for crypto wallets may include one or more hardware wallets 8. The hardware wallet 8 may be a hardware crypto wallet embedded device. For example, the hardware wallet 8 may have processing, communication and storage capabilities. The access control system 2 may include one or more wallet controllers. For example, Figure 1 A first wallet controller 4 and a second wallet controller 6 are depicted, although any number of wallet controllers may be provided. A wallet controller may be a device capable of controlling cryptocurrency transactions in conjunction with a hardware wallet 8. A wallet controller may be a device capable of configuring a hardware wallet 8 for access.

[0036] The discussion will now consider the hardware wallet 8, the first wallet controller 4, and the second wallet controller 6 in more detail. In various embodiments, the hardware wallet 8 may include a processor 28. The processor 28 may be a computer processor, a microprocessor, or any other electronic device configured to perform calculations. The hardware wallet 8 may include a digital storage unit 26. The digital storage unit 26 may include an electronic memory. The memory may interoperate with the processor 28 to store data for future use and retrieve data for current use. In various cases, the digital storage unit 26 may include a securely stored key or may include a PIN. The hardware wallet 8 may include a user input component 22. The user input component 22 may include one or more keyboards, buttons, touch-sensitive elements such as a touch screen, audio devices, tactile devices, or other human-machine interfaces capable of receiving input from a human. The hardware wallet 8 may include one or more user output components 24. The user output component 24 may include one or more visual display screens, light indicators, audio devices, tactile devices, or other human-machine interfaces capable of providing output to a human. The hardware wallet 8 may have a transceiver 30. The transceiver 30 may be an RF transceiver, a wired transceiver, a modem, or any other device configured to communicate with other devices such as the first wallet controller 4 and the second wallet controller 6 directly or via a network.

[0037] As a block diagram of a hardware device, a first wallet controller 4 and a second wallet controller 6 are illustrated. The first wallet controller 4 is shown as having a processor 10, a digital storage unit 12, and a transceiver 14. The second wallet controller 6 is shown as having a processor 16, a digital storage unit 18, and a transceiver 20. However, it can be appreciated that each wallet controller can be a combination of hardware and software. For example, in various embodiments, the first wallet controller 4 and the second wallet controller 6 are both software applications running on a computing device. Therefore, the processor 10 and the processor 16 can be the same processor of the computing device. Similarly, the digital storage unit 12 and the digital storage unit 18 can be shared computer memory, or different parts of the computer memory (e.g., different addressable spaces). Finally, the transceiver 14 and the transceiver 20 can be the same transceiver of the computing device.

[0038] Turning more specifically to the first wallet controller 4, the first wallet controller 4 may include a processor 10. The processor 10 may be a computer processor, a microprocessor, or any other electronic device configured to perform computations. The first wallet controller 4 may include a digital storage unit 12. The digital storage unit 12 may include an electronic memory. The memory may interoperate with the processor 10 to store data for future use and retrieve data for current use. In various cases, the digital storage unit 12 may include securely stored encryption keys. The first wallet controller 4 may include a transceiver 14. The transceiver 14 may be an RF transceiver, a wired transceiver, a modem, or any other device configured to communicate directly or via a network with other devices such as the hardware wallet 8 and the second wallet controller 6.

[0039] Turning more specifically to the second wallet controller 6, the second wallet controller 6 may include a processor 16. The processor 16 may be a computer processor, a microprocessor, or any other electronic device configured to perform computations. The second wallet controller 6 may include a digital storage unit 18. The digital storage unit 18 may include an electronic memory. The memory may interoperate with the processor 16 to store data for future use and retrieve data for current use. In various cases, the digital storage unit 18 may include securely stored encryption keys. The second wallet controller 6 may include a transceiver 20. The transceiver 20 may be an RF transceiver, a wired transceiver, a modem, or any other device configured to communicate directly or via a network with other devices such as the hardware wallet 8 and the first wallet controller 4.

[0040] Now go to Figure 2 , but at the same time continue to refer to Figure 1 , a graphical illustration of various data and their association with different devices is shown. Arrows are shown to depict the various transmissions of data from one device to another. For example, the processor 10 of the first wallet controller 4 can generate an encryption key. In other embodiments, the encryption key is received from other systems, networks, or devices. The first wallet controller 4 can store the encryption key in a digital storage unit 12.

[0041] The key may be an asymmetric encryption key. Asymmetric encryption (e.g., public key encryption) uses a pair of related keys to encrypt and decrypt data. Typically, any machine can encrypt a message using a public key, so that the message can only be decrypted by the holder of the corresponding private key. Similarly, if the holder of a private key encrypts a message using the private key, the message can be decrypted using the corresponding public key. The decryptability of the private key also verifies the origin of the message, based on the assumption that the private key is controlled only by the true sender of the message.

[0042] The first wallet controller 4 may have a master signing key pair 50. The master signing key pair 50 may have a master signing public key 52 and a master signing private key 54. The master signing key pair 50 may be used to sign and / or encrypt messages. The first wallet controller 4 may have a first unlocking key pair 56. The first unlocking key pair 56 may have a first unlocking public key 58 and a first unlocking private key 60. The first unlocking key pair 56 may be used in conjunction with sending an unlocking message to the hardware wallet 8, instructing the hardware wallet 8 to “unlock”, so that cryptocurrency transactions may be performed in conjunction with cryptocurrency addressed or otherwise controlled by the hardware wallet 8.

[0043] The second wallet controller 6 may have a master signing key pair 62. The master signing key pair 62 may be the same as the master signing key pair 50 of the first wallet controller 4. The master signing key pair 62 may include a master signing public key 64 and a master signing private key 66. In various embodiments, the master signing private key 66 may be omitted. For example, the master signing private key 66 may be stored exclusively in the first wallet controller 4 so that the second wallet controller 6 does not have and cannot access the master signing private key 66. This is shown by the dotted line forming an X on the master signing private key 66. In further embodiments, the master signing private key 66 is not omitted and is the same as the master signing key pair 50. The master signing key pair 62 may be used to sign and / or encrypt messages. The second wallet controller 6 may have a second unlocking key pair 68. The second unlocking key pair 68 may have a second unlocking public key 70 and a second unlocking private key 72. The second unlocking key pair 68 may be used in conjunction with sending an unlocking message to the hardware wallet 8, instructing the hardware wallet 8 to “unlock”, so that cryptocurrency transactions may be performed in conjunction with cryptocurrencies addressed or otherwise controlled by the hardware wallet 8.

[0044] Thus, it can be appreciated that both the first wallet controller 4 and the second wallet controller 6 can access the master signing key pair, and the key pairs 62 and 50 can be a single key pair. For example, each wallet controller can be a software application running on a device with a master signing key pair securely stored in a trusted execution environment (TEE) or a secure element (SE). It is worth noting that the first wallet controller 4 and the second wallet controller 6 can restrict access to the first unlocking key pair 56 and the second unlocking key pair 68. For example, the first wallet controller 4 can access the first unlocking key pair 56, but not the second unlocking key pair 68. Similarly, the second wallet controller 6 can access the second unlocking key pair 68, but not the first unlocking key pair 56. Various other arrangements can also be envisioned to further improve the security of the keys.

[0045] The hardware wallet 8 may also store various keys in the digital storage unit 26 of the hardware wallet 8. The first wallet controller 4 may utilize its transceiver 14 to communicate with the transceiver 30 of the hardware wallet 8 to send the various keys for storage in the digital storage unit 26 of the hardware wallet 8. Similarly, the second wallet controller 6 may utilize its transceiver 20 to communicate with the transceiver 30 of the hardware wallet 8 to send the various keys for storage in the digital storage unit 26 of the hardware wallet 8. The first wallet controller 4 may provide the master signature public key 52 and the first unlocking public key 58 to the hardware wallet 8. The second wallet controller 6 may provide the second unlocking public key 70 to the hardware wallet 8. Finally, the hardware wallet 8 may have a user input component 22 for receiving input of a personal identification number (PIN) to verify the custody and / or control of the hardware wallet 8 prior to various actions such as unlocking of the hardware wallet 8. The hardware wallet 8 may receive a user confirmation 80, such as a PIN 78, via input on the user input component 22, such input being illustrated by arrow 82 (third communication channel 82 discussed below).

[0046] The hardware wallet 8 may cooperate with one or both of the first wallet controller 4 and the second wallet controller 6 to perform various operations utilizing communication between two devices and / or more devices. Figure 3 (and continue to refer to Figure 1-2 ), the first wallet controller 4 instantiates a first communication channel 84 with the hardware wallet 8 to send and receive commands and / or keys. The second wallet controller 6 may instantiate a second communication channel 86 with the hardware wallet 8 to send and receive commands and / or keys. The user confirmation 80 may proceed via a third communication channel 82 to interact with the hardware wallet 8. In various cases, the first communication channel 84 is a wireless connection between the transceiver 14 of the first wallet controller 4 and the transceiver 30 of the hardware wallet 8. In various cases, the second communication channel 86 is a wireless connection between the transceiver 20 of the second wallet controller 6 and the transceiver 30 of the hardware wallet 8. In various cases, the third communication channel 82 may be a physical interaction of a user with a user input component 22 of the hardware wallet 8 to provide the user confirmation 80, such as by pressing a button or entering a PIN.

[0047] Having introduced various aspects of the first wallet controller 4, the second wallet controller 6, the hardware wallet 8, and the communications between the first wallet controller 4, the second wallet controller 6, and the hardware wallet 8, one or more of these devices may perform various methods to control access to the cryptocurrency associated with the hardware wallet 8. For example, referring to Figure 4 And continue to refer to Figure 1-Figure 3, a method 400 for setting up a hardware wallet 8 for secure control by a first wallet controller 4 and / or a second wallet controller 6 may be provided. The method 400 for configuring the hardware wallet 8 for control may include generating a key. In other cases, the key is generated by other devices and provided to the access control system 2. For example, the method may include generating, by the first wallet controller 4, a master signature key pair 50 including a master signature public key 52 and a master signature private key 54 (box 402). The method may also include generating, by the first wallet controller 4, a first unlock key pair 56 including a first unlock public key 58 and a first unlock private key 60 (box 404).

[0048] The first wallet controller 4 may sign the first unlocking public key 58 with the master signing private key 54 to create a signed first unlocking public key (box 406). "Signing" data may include applying a cryptographic calculation, such as encrypting the data. The first wallet controller 4 may send the master signing public key 52 to the hardware wallet 8 (box 408). The first wallet controller 4 may send the signed first unlocking public key to the hardware wallet 8 (box 410). Notably, the first wallet controller 4 may avoid sending the master signing private key 54 and may avoid sending the first unlocking private key 60 to any other device. Similarly, the first wallet controller 4 may avoid sending the first unlocking public key 58 to any other device. Because the key sent in box 410 is signed, the key is encrypted during transmission and is sent securely.

[0049] The hardware wallet 8 may take various steps after receiving the master signature public key 52 and the signed first unlock public key. For example, the hardware wallet 8 may store the master signature public key 52 (box 412). The hardware wallet 8 may also store the signed first unlock public key (box 414). The hardware wallet 8 may decrypt the first unlock public key 58 from the signed first unlock public key through the master signature public key 52 (box 416). After the first unlock public key 58 is restored in an unencrypted form, the hardware wallet 8 may store the first unlock public key 58 (box 418). Now, the hardware wallet 8 has the ability to decrypt messages encrypted with the first unlock private key 60. Since the hardware wallet 8 has a local copy of the first unlock private key 60, the hardware wallet 8 may securely reveal the origin of messages such as those originating from the first wallet controller 4 and the content of the messages. The hardware wallet 8 may also set a first user personal identification number (PIN) through the user input component 22 of the hardware wallet 8, and may store the first user PIN (box 420). The PIN may also facilitate verification that an authorized individual has positive control of the hardware wallet 8, and the hardware wallet 8 may request re-entry of the PIN prior to various actions such as unlocking.

[0050] In various embodiments, the first wallet controller 4 may also be operable to set up the hardware wallet 8 so as to be securely controlled by both the first wallet controller 4 and the second wallet controller 6. Figure 5 , and continue to refer to Figure 1-Figure 3 , a method 500 for setting up a hardware wallet 8 so as to be securely controlled by both a first wallet controller 4 and a second wallet controller 6 is provided. In the method, reference is made to Figure 4 The method described in 400( Figure 4 ) are repeated with the same box numbers, while some aspects are different.

[0051] In various embodiments, the method 500 for configuring the hardware wallet 8 to be controlled by both the first wallet controller 4 and the second wallet controller 6 may include generating keys. In other cases, the keys are generated by other devices and provided to the access control system 2. For example, the method may include generating, by the first wallet controller 4, a master signing key pair 50 including a master signing public key 52 and a master signing private key 54 (block 402). The method may also include generating, by the first wallet controller 4, a first unlocking key pair 56 including a first unlocking public key 58 and a first unlocking private key 60 (block 404).

[0052] The first wallet controller 4 may sign the first unlock public key 58 with the master signature private key 54 to create a signed first unlock public key (box 406). "Signing" data may include applying a cryptographic calculation, such as encrypting the data. The first wallet controller 4 may send the master signature public key 52 to the hardware wallet 8 (box 408). The first wallet controller 4 may send the master signature private key 54 from the first wallet controller 4 to the second wallet controller 6 (box 502). The second wallet controller 6 may generate a second unlock key pair 68 including a second unlock private key 72 and a second unlock public key 70 (box 504). The second wallet controller 6 may sign the second unlock public key 70 with the master signature private key 66 to create a signed second unlock public key (box 506).

[0053] The first wallet controller 4 may send the signed first unlocking public key to the hardware wallet 8 (block 410). The second wallet controller 6 may send the signed second unlocking public key to the hardware wallet 8 (block 508).

[0054] It is worth noting that the first wallet controller 4 can avoid sending the master signing private key 54 and can avoid sending the first unlocking private key 60 to the hardware wallet 8. Similarly, the second wallet controller 6 can avoid sending the master signing private key 66 and can avoid sending the second unlocking private key 72 to the hardware wallet 8. Because the key sent in box 410 is signed, the key is encrypted during the transmission and is securely sent. Because the key sent in box 508 is signed, the key is encrypted during the transmission and is securely sent.

[0055] The hardware wallet 8 may take various steps after receiving one or more of the master signing public key 52, the signed first unlocking public key, and the signed second unlocking public key. For example, the hardware wallet 8 may store the master signing public key 52 (block 412). The hardware wallet 8 may also store the signed first unlocking public key (block 414). The hardware wallet 8 may store the signed second unlocking public key (block 510).

[0056] The hardware wallet 8 may decrypt the first unlocking public key 58 from the signed first unlocking public key via the master signing public key 52 (block 416). The hardware wallet 8 may decrypt the second unlocking public key 70 from the signed second unlocking public key via the master signing public key 52 (block 512).

[0057] After recovering the first unlocking public key 58 in unencrypted form, the hardware wallet 8 may store the first unlocking public key 58 (block 418). After recovering the second unlocking public key 70 in unencrypted form, the hardware wallet 8 may store the second unlocking public key 70 (block 514).

[0058] Now, the hardware wallet 8 has the ability to decrypt messages encrypted with the first unlock private key 60 and to decrypt messages encrypted with the second unlock private key 72. Since the hardware wallet 8 has a local copy of the first unlock private key 60 and the second unlock private key 72, the hardware wallet 8 can safely reveal the origin of messages such as those originating from the first wallet controller 4 and from the second wallet controller 6, as well as the content of the messages. The hardware wallet 8 can also set a first user personal identification code (PIN) through the user input component 22 of the hardware wallet 8, and the first user PIN can be stored. The PIN can also facilitate verification of positive control of the hardware wallet 8 by an authorized individual, and the hardware wallet 8 can request re-entry of the PIN before various actions such as unlocking.

[0059] The above methods focus on establishing secure access between the hardware wallet 8, the first wallet controller 4, and / or the second wallet controller 6 by exchanging various keys. In the following paragraphs, the discussion will continue to explain various mechanisms for controlling the hardware wallet 8 by the controller with established access. It can be appreciated that although these mechanisms are discussed with reference to their own figures and boxes, various aspects can be used in conjunction with or subsequent to the methods already discussed.

[0060] For example, refer to Figure 6 And continue to refer to Figure 1-Figure 3 , the method of configuring the hardware wallet 8 for control may include additional steps associated with authorized unlocking or other access control practices. For example, method 600 may include method 400 or method 500 ( Figure 4 and Figure 5 ). In various embodiments, the method 600 may include authorizing, by the first wallet controller 4, unlocking of the hardware wallet 8 to allow access to secure data including cryptocurrency (block 601). The authorization may include various other aspects. The method 600 may include accessing secure data including cryptocurrency, the access occurring after the unlocking of the hardware wallet 8 is authorized (block 650). The access may also include various other aspects.

[0061] In various embodiments, authorization (block 601) may include generating, by the first wallet controller 4, a first wallet unlock command (block 602). The unlock command may be a command that allows access to transfers or transactions of cryptocurrency associated with the wallet. The method may include signing, by the first wallet controller 4, the first wallet unlock command with the first unlock private key 60 to generate a first signed wallet unlock command (block 604). The first wallet controller 4 may send the first signed wallet unlock command to the hardware wallet 8 (block 606).

[0062] In various embodiments, accessing (block 650) may include prompting the user, by the hardware wallet 8, to enter a PIN (block 652). The hardware wallet 8 may receive the PIN (block 654), and may verify that the received PIN is correct (block 656). In response to verifying that the received PIN is correct, the hardware wallet 8 may decrypt the first wallet unlock command from the signed wallet unlock command via the first unlock public key 58 to reveal the first wallet unlock command (block 658). The hardware wallet 8 may execute the first wallet unlock command (block 660).

[0063] Now go to Figure 7 And continue to refer to Figure 1-Figure 3, the method of configuring the hardware wallet 8 for control may include additional steps associated with the second wallet controller 6 authorizing unlocking or other access control practices, which authorize unlocking or other access control practices to allow unlocking or access control practices. This access by the second wallet controller 6 may be in addition to the access by the first wallet controller 4. Therefore, in various embodiments, method 700 may include method 400, or method 500 or method 600 ( Figure 4-Figure 6 ). In various embodiments, the method 700 may include authorizing, by the second wallet controller 6, unlocking of the hardware wallet 8 to allow access to secure data including cryptocurrency (block 701). The authorization may include various other aspects. The method 700 may include accessing secure data including cryptocurrency, the access occurring after the second wallet controller 6 authorizes unlocking of the hardware wallet 8 (block 750). The access may also include various other aspects.

[0064] In various embodiments, authorization (block 701) may include generating, by the second wallet controller 6, a second wallet unlock command (block 702). The unlock command may be a command that allows access to transfers or transactions of cryptocurrency associated with the wallet. The method may include signing, by the second wallet controller 6, the second wallet unlock command with the second unlock private key 72 to generate a second signed wallet unlock command (block 704). The second wallet controller 6 may send the second signed wallet unlock command to the hardware wallet 8 (block 706).

[0065] In various embodiments, accessing (block 750) may include prompting the user, by the hardware wallet 8, to enter a PIN (block 752). The hardware wallet 8 may receive the PIN (block 754), and may verify that the received PIN is correct (block 756). In response to verifying that the received PIN is correct, the hardware wallet 8 may decrypt the second wallet unlock command from the signed wallet unlock command via the second unlock public key 70 to reveal the second wallet unlock command (block 758). The hardware wallet 8 may execute the second wallet unlock command (block 760).

[0066] In various embodiments, the key may be revoked so that access to the hardware wallet 8 by the first wallet controller 4 or the second wallet controller 6 may be terminated. Figure 8 , and refer to it regularly Figure 1-Figure 3 , a method 800 for key revocation may be provided. The method may include method 400, or method 500, or method 600, or method 700 ( Figure 4-Figure 7 ). The method 800 may include revoking the first unlocking key pair 56 (block 801).

[0067] Revoking the first unlocking key pair 56 may include various steps. For example, revoking (block 801) may include generating, by the first wallet controller 4, a first unlocking key pair revocation command (block 802). The method may include signing, by the first wallet controller 4, the first unlocking key pair revocation command with at least one of (i) the master signing private key 54 and (ii) the first unlocking private key 60 to generate a first signed unlocking key pair revocation command (block 804). The method may include sending, by the first wallet controller 4, the first signed unlocking key pair revocation command to the hardware wallet 8 (block 806).

[0068] After the revocation of the first unlocking key pair 56 and the associated sending of the revocation command to the hardware wallet 8, the method may continue. The method may include receiving, by the hardware wallet 8, the first signed unlocking key pair revocation command (block 808). The hardware wallet 8 may decrypt the first unlocking key pair revocation command from the first signed unlocking key pair revocation command via at least one of (i) the master signing public key 52 and / or (ii) the first unlocking public key 58 to reveal the first unlocking key pair revocation command (block 810). The hardware wallet 8 may delete the first unlocking public key 58 from the hardware wallet 8 (block 812), or may add the key to a disabled key list, or may perform other commands associated with the first unlocking key pair revocation command.

[0069] In addition to those described above, the system can also be implemented in a variety of different hardware configurations to perform these methods. The wallet controller can be a smartphone application, and the smartphone can include a processor with a trusted execution environment (TEE). In other cases, a secure element (SE) is provided. To enhance security, one or more key pairs can be generated within the TEE or SE so that the keys are hardware-backed and cannot be retrieved outside the TEE. In various cases, one or more private keys are retained in the TEE. This also helps to improve security when the first wallet controller and the second wallet controller are different applications on the same hardware device. By retaining the keys within the TEE or SE, the two controllers can share access to the keys while ensuring that the keys cannot be retrieved outside the TEE or SE.

[0070] In addition, in various cases, the wallet controller can be a smartphone application that is configured to use an authentication service provided by the operating system to retrieve one or more digital certificate chains signed by a server of the manufacturer of the smartphone operating system. The authentication can authenticate the following (or a subset thereof): (1) the authenticity of the operating system and the device running the application, (2) the identity of the application developer, (3) the authenticity of the application and that the application has not been modified, (4) the generation of an unlocking key pair within the TEE, and / or (5) the application's ownership of the unlocking key pair. The application can send the certificate chain to the hardware wallet, which can store and perform one or more actions related to the certificate chain. For example, the hardware wallet can store an authentication root key provided by the manufacturer of the smartphone operating system. The hardware wallet can receive certificates from the application, verify each certificate chain using the stored authentication root key, and verify the authentication content of each certificate. In addition, the application can monitor and record each signature by incrementing a monotonically increasing counter that is incremented for each signing operation. The application can also utilize a one-time use random number obtained from the hardware device. In addition, the unlocked hardware device can relock itself after a period of time that can be configured by the user. These features further improve the security of the system.

[0071] Finally, hardware wallets may also allow manual manipulation of keys. For example, a hardware wallet may allow the owner to manually select and delete a master public key or one or more unlock public keys. A hardware wallet may allow the owner to manually change the device's PIN using the device's buttons and screen while the device is unlocked, or control the unlock duration, or change the unlock process. Thus, security may be further enhanced.

[0072] Exemplary embodiments of the method / system have been disclosed in an illustrative manner. Thus, the terms used throughout should be understood in a non-restrictive manner. Although minor modifications to the teachings herein will occur to those skilled in the art, it should be understood that it is intended to be limited within the patent scope secured herein to all such embodiments that reasonably fall within the scope of the advance in the prior art contributed herein, and that the scope should not be limited except in accordance with the appended claims and their equivalents.

Claims

1. A method of configuring a hardware wallet for control, the method comprising: The first wallet controller generates a master signature key pair including a master signature private key and a master signature public key; Generate, by the first wallet controller, a first unlocking key pair including a first unlocking private key and a first unlocking public key; The first wallet controller signs the first unlocking public key with the master signing private key to create a signed first unlocking public key; Sending the master signing public key from the first wallet controller to the hardware wallet; as well as The signed first unlocking public key is sent from the first wallet controller to the hardware wallet.

2. The method according to claim 1, further comprising: The master signing public key is stored by the hardware wallet; The first unlocking public key signed by the hardware wallet; decrypting the first unlocking public key from the signed first unlocking public key via the master signing public key; as well as The first unlocking public key is stored by the hardware wallet.

3. The method of claim 2, further comprising setting a first user personal identification number (PIN) via a user input component of the hardware wallet and storing the first user PIN.

4. The method according to claim 1, further comprising: Sending a master signing private key from the first wallet controller to the second wallet controller; Generating, by the second wallet controller, a second unlocking key pair including a second unlocking private key and a second unlocking public key; The second wallet controller signs the second unlocking public key with the master signing private key to create a signed second unlocking public key; as well as The signed second unlocking public key is sent from the second wallet controller to the hardware wallet.

5. The method of claim 4, wherein sending the master signing private key from the first wallet controller to the second wallet controller comprises the first wallet controller and the second wallet controller accessing the same trusted execution environment (TEE).

6. The method according to claim 4, further comprising: The second unlocking public key signed by the hardware wallet; decrypting the second unlocking public key from the signed second unlocking public key via the master signing public key; as well as The second unlocking public key is stored by the hardware wallet.

7. The method according to claim 3, further comprising: Authorize unlocking of the hardware wallet to allow access to secure data including cryptocurrency, said authorization includes: The first wallet controller generates a first wallet unlocking command; The first wallet controller signs the first wallet unlock command using the first unlock private key to generate a first signed wallet unlock command; and The first signed wallet unlock command is sent by the first wallet controller to the hardware wallet.

8. The method according to claim 7, further comprising: Access to secure data including encrypted data, said access occurring after unlocking of an authorized hardware wallet and including: The hardware wallet prompts the user to enter a personal identification code; Receive a personal identification number from your hardware wallet; Verification by the hardware wallet that the received PIN is correct; In response to the verification: decrypting the first wallet unlock command from the signed wallet unlock command via the first unlock public key to reveal the first wallet unlock command; and The first wallet unlock command is executed by the hardware wallet.

9. The method according to claim 6, further comprising: Authorize unlocking of the hardware wallet to allow access to secure data including cryptocurrency, said authorization includes: The second wallet controller generates a second wallet unlocking command; The second wallet controller signs the second wallet unlock command using the second unlock private key to generate a second signed wallet unlock command; and The second wallet sends a second signed wallet unlock command to the hardware wallet.

10. The method according to claim 9, further comprising: Access to secure data including encrypted data, said access occurring after unlocking of an authorized hardware wallet and including: The hardware wallet prompts the user to enter a personal identification code; Receive a personal identification number from your hardware wallet; Verification by the hardware wallet that the received PIN is correct; In response to the verification: decrypting the second wallet unlock command from the signed wallet unlock command via the second unlock public key to reveal the second wallet unlock command; and The second wallet unlock command is executed by the hardware wallet.

11. The method according to claim 7, further comprising: Revoking the first unlocking key pair, the revoking comprising: The first wallet controller generates a first unlocking key pair revocation command; The first wallet controller signs the first unlocking key pair revocation command with at least one of (i) the master signing private key and (ii) the first unlocking private key to generate a first signed unlocking key pair revocation command; and The first wallet controller sends a first signed unlock key pair revocation command to the hardware wallet.

12. The method according to claim 11, wherein the revoking further comprises: The hardware wallet receives the unlocking key pair revocation command signed by the first signature; decrypting the first unlocking key pair revocation command from the first signed unlocking key pair revocation command using at least one of (i) the master signing public key and (ii) the first unlocking public key to reveal the first unlocking key pair revocation command; as well as The first unlocking public key is deleted from the hardware wallet by the hardware wallet.

13. A method of configuring a hardware wallet to be controlled by a first wallet controller, the method comprising: Receiving, by the hardware wallet from the first wallet controller, a master signing public key from a master signing key pair including a master signing private key and a master signing public key; receiving, by the hardware wallet from the first wallet controller, a signed first unlock public key, the signed first unlock public key comprising a first unlock public key from a first unlock key pair comprising a first unlock private key and the first unlock public key, wherein the first unlock public key is signed by a master signing private key; The master signing public key is stored by the hardware wallet; The first unlocking public key signed by the hardware wallet; decrypting the first unlocking public key from the signed first unlocking public key via the master signing public key; as well as The first unlocking public key is stored by the hardware wallet.

14. The method of claim 13, further comprising setting a first user personal identification number (PIN) via a user input component of the hardware wallet and storing the first user PIN.

15. The method according to claim 14, further comprising: Authorize unlocking of the hardware wallet to allow access to secure data including cryptocurrency, said authorization includes: A first signed wallet unlock command is received by the hardware wallet from the first wallet controller, wherein the first signed wallet unlock command comprises a first wallet command signed by the first wallet controller using a first unlock private key.

16. The method according to claim 15, further comprising: Access to secure data including cryptocurrency by the hardware wallet, said access occurring after an authorized unlocking of the hardware wallet and including: The hardware wallet prompts the user to enter a personal identification code; Receive a personal identification number from your hardware wallet; Verification by the hardware wallet that the received PIN is correct; In response to the verification: decrypting the first wallet unlock command from the signed wallet unlock command via the first unlock public key to reveal the first wallet unlock command; and The first wallet unlock command is executed by the hardware wallet.

17. A cryptocurrency wallet controller, the cryptocurrency wallet controller configuring a hardware wallet to be controlled by the cryptocurrency wallet controller, the cryptocurrency wallet controller comprising: a transceiver configured to electronically communicate with the hardware wallet to transmit the cryptographic key to the hardware wallet; a digital storage unit configured to securely store at least a portion of a cryptographic key; a processor in electronic communication with the digital storage unit and the transceiver, wherein the processor is configured to: Generate a master signature key pair including a master signature private key and a master signature public key; generating a first unlocking key pair including a first unlocking private key and a first unlocking public key; Signing the first unlocking public key with the master signing private key to create a signed first unlocking public key; Sending the master signing public key to the hardware wallet via the transceiver; as well as sending the signed first unlocking public key to the hardware wallet via the transceiver, wherein the processor stores the master signature private key and the first unlocking private key in the digital storage unit, and Wherein the master signing private key and the first unlocking private key are not sent from the cryptocurrency wallet controller to the hardware wallet.

18. The cryptocurrency wallet controller of claim 17, The processor is further configured to send a master signing private key from the first wallet controller to the second wallet controller.

19. The cryptocurrency wallet controller of claim 18, wherein the second wallet controller: Generating, by the second wallet controller, a second unlocking key pair including a second unlocking private key and a second unlocking public key; The second wallet controller signs the second unlocking public key with the master signing private key to create a signed second unlocking public key; and The signed second unlocking public key is sent from the second wallet controller to the hardware wallet.

20. The cryptocurrency wallet controller of claim 19, wherein both the first wallet controller and the second wallet controller are software applications running on the same device, wherein sending the master signing private key from the first wallet controller to the second wallet controller comprises accessing, by both the first wallet controller and the second wallet controller, a shared trusted execution environment containing the master signing private key.